на циско-роутере один из сериалов побит на сабинтерфейсы вот таким вот образом:interface Serial3/1
no ip address
encapsulation frame-relay
no fair-queue
serial restart_delay 0
frame-relay ip rtp header-compression
!
interface Serial3/1.1 point-to-point
ip address x.x.x.x
frame-relay interface-dlci 420
!
interface Serial3/1.151 point-to-point
ip address y.y.y.y
frame-relay interface-dlci 151
!мртг видит сабинтрефейсы, но на каждый из них статистику ведет одинаковую - суммарную для интерфейса 3/1. можно ли настроить что загрузка считалась для каждого сабинтерфейса отдельно?
У нас считается отдельно как и должна.. покажи свой mrtg.cfg и покажи вывод когда генеришь конфигурационный файл, и как ты его конфигуришь?
>У нас считается отдельно как и должна.. покажи свой mrtg.cfg и покажи
>вывод когда генеришь конфигурационный файл, и как ты его конфигуришь?вот mrtg.conf файл сконфигурен автоматически- руками не лез :-) есть не считать такстовых полей с заголовками
### Interface 9 >> Descr: 'Serial3/1' | Name: 'Se3/1' | Ip: '' | Eth: '' ###
Target[192.168.0.251_9]: 9:public@192.168.0.251:
SetEnv[192.168.0.251_9]: MRTG_INT_IP="" MRTG_INT_DESCR="Serial3/1"
MaxBytes[192.168.0.251_9]: 256000
Title[192.168.0.251_9]: Traffic Analysis for serial 3/1 -- EPA-central
PageTop[192.168.0.251_9]: <H1>Traffic Analysis for serial 3/1 - main FrameRelay link</H1>
<TABLE>
<TR><TD>System:</TD> <TD>EPA-central in </TD></TR>
<TR><TD>Maintainer:</TD> <TD></TD></TR>
<TR><TD>Description:</TD><TD>Serial3/1 </TD></TR>
<TR><TD>ifType:</TD> <TD>frame-relay (32)</TD></TR>
<TR><TD>ifName:</TD> <TD>Se3/1</TD></TR>
<TR><TD>Max Speed:</TD> <TD>256.0 kBytes/s</TD></TR>
</TABLE>### Interface 77 >> Descr: 'Serial3/1.1' | Name: 'Se3/1.1' | Ip: 'x.x.x.x' | Eth: '' ###
Target[192.168.0.251_77]: 77:public@192.168.0.251:
SetEnv[192.168.0.251_77]: MRTG_INT_IP="x.x.x.x"
MRTG_INT_DESCR="Serial3/1.1"
MaxBytes[192.168.0.251_77]: 193000
Title[192.168.0.251_77]: Traffic Analysis for Serial 3/1.1 -- EPA-central
PageTop[192.168.0.251_77]: <H1>Traffic Analysis for Serial 3/1.1 - link to Internet</H1>
<TABLE>
<TR><TD>System:</TD> <TD>EPA-central in </TD></TR>
<TR><TD>Maintainer:</TD> <TD></TD></TR>
<TR><TD>Description:</TD><TD>Serial3/1.1 Internet </TD></TR>
<TR><TD>ifType:</TD> <TD>frame-relay (32)</TD></TR>
<TR><TD>ifName:</TD> <TD>Se3/1.1</TD></TR>
<TR><TD>Max Speed:</TD> <TD>193.0 kBytes/s</TD></TR>
<TR><TD>Ip:</TD> <TD>x.x.x.x ()</TD></TR>
</TABLE>
### Interface 78 >> Descr: 'Serial3/1.151' | Name: 'Se3/1.151' | Ip: '192.168.5.1' | Eth: '' ###Target[192.168.0.251_78]: 77:public@192.168.0.251:
SetEnv[192.168.0.251_78]: MRTG_INT_IP="192.168.5.1" MRTG_INT_DESCR="Serial3/1.151"
MaxBytes[192.168.0.251_78]: 193000
Title[192.168.0.251_78]: Traffic Analysis for Serial 3/1.151 -- EPA-central
PageTop[192.168.0.251_78]: <H1>Traffic Analysis for Serial 3/1.151 - link to Astana</H1>
<TABLE>
<TR><TD>System:</TD> <TD>EPA-central in </TD></TR>
<TR><TD>Maintainer:</TD> <TD></TD></TR>
<TR><TD>Description:</TD><TD>Serial3/1.151 Internet </TD></TR>
<TR><TD>ifType:</TD> <TD>frame-relay (32)</TD></TR>
<TR><TD>ifName:</TD> <TD>Se3/1.151</TD></TR>
<TR><TD>Max Speed:</TD> <TD>193.0 kBytes/s</TD></TR>
<TR><TD>Ip:</TD> <TD>192.168.5.1 ()</TD></TR>
</TABLE>
?
А что показывает sho int ser ...
>А что показывает sho int ser ...
central#sh int serial 3/1
Serial3/1 is up, line protocol is up
Hardware is M4T
MTU 1500 bytes, BW 128 Kbit, DLY 20000 usec,
reliability 255/255, txload 2/255, rxload 253/255
Encapsulation FRAME-RELAY, crc 16, loopback not set
Keepalive set (10 sec)
Restart-Delay is 0 secs
LMI enq sent 5900, LMI stat recvd 5900, LMI upd recvd 0, DTE LMI up
LMI enq recvd 0, LMI stat sent 0, LMI upd sent 0
LMI DLCI 1023 LMI type is CISCO frame relay DTE
FR SVC disabled, LAPF state down
Broadcast queue 0/64, broadcasts sent/dropped 2956/0, interface broadcasts 0
Last input 00:00:05, output 00:00:00, output hang never
Last clearing of "show interface" counters 16:23:25
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue :0/40 (size/max)
5 minute input rate 261000 bits/sec, 67 packets/sec
5 minute output rate 130000 bits/sec, 113 packets/sec
4278486 packets input, 1633942604 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
5171185 packets output, 912997541 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 output buffer failures, 0 output buffers swapped out
1 carrier transitions DCD=up DSR=up DTR=up RTS=up CTS=up
central#sh int serial 3/1.1
Serial3/1.1 is up, line protocol is up
Hardware is M4T
Description: Internet
Internet address is x.x.x.x/30
MTU 1500 bytes, BW 128 Kbit, DLY 20000 usec,
reliability 255/255, txload 249/255, rxload 1/255
Encapsulation FRAME-RELAYcentral#sh int serial 3/1.151
Serial3/1.151 is up, line protocol is up
Hardware is M4T
Internet address is 192.168.5.1/30
MTU 1500 bytes, BW 128 Kbit, DLY 20000 usec,
reliability 255/255, txload 251/255, rxload 252/255
Encapsulation FRAME-RELAY
?
Что-нибудь в логах от MRTG есть?