[mrtg] Re: change interface

Patrick Chan cs_ccyab at stu.ust.hk
Fri Aug 6 08:31:50 MEST 1999


Thank you first.
when i execute an IOS command, it said Serial2/2 is up

Router> show interface
Serial2/2 is up, line protocol is up 
  Hardware is M4T
  Internet address is 204.59.88.66/30
  MTU 1500 bytes, BW 1536 Kbit, DLY 20000 usec, rely 255/255, load 35/255
  Encapsulation HDLC, loopback not set, keepalive set (10 sec)
  Last input 00:00:05, output 00:00:00, output hang never
  Last clearing of "show interface" counters never
  Queueing strategy: fifo
  Output queue 0/40, 145 drops; input queue 0/75, 0 drops
  5 minute input rate 212000 bits/sec, 62 packets/sec
  5 minute output rate 216000 bits/sec, 102 packets/sec
     29526696 packets input, 186220500 bytes, 0 no buffer
     Received 98284 broadcasts, 0 runts, 0 giants, 0 throttles
     12 input errors, 11 CRC, 0 frame, 0 overrun, 0 ignored, 1 abort
     43378793 packets output, 356107099 bytes, 0 underruns
     0 output errors, 0 collisions, 22 interface resets
     0 output buffer failures, 0 output buffers swapped out
     24 carrier transitions     DCD=up  DSR=up  DTR=up  RTS=up  CTS=up

By the way, where can I find snmpwalk?
Thank you very much!


On Thu, 5 Aug 1999, Alex van den Bogaerdt wrote:

> >    I am a MRTG newbie, a link which originally used interface Serial0/0,
> > now uses Serial2/2. I modify the configuration router.cfg:
> > 
> > Target[router.2]: 2:public at router
> >
> [snip]
> > 
> > Then I deleted the entry in router.ok
> > 2:public at router = Serial0/0
> > 
> [snip]
> > 
> > except the first entry, other records are zero.
> > Any steps I have missed??? Thank you very much!!!
> > 
> Most likely you are not monitoring the correct interface and yes,
> you have probably missed one step.
> 
> Have you used either configmaker to create a new config or did you
> use snmpwalk (or a similar program) to find out the interface number?
> 
>     snmpwalk router public .1.3.6.1.2.1.2.2.1.2
> 
> This will provide something similar to
> 
>     interfaces.ifTable.ifEntry.ifDescr.1 = "FastEthernet0/0/0"
>     interfaces.ifTable.ifEntry.ifDescr.2 = "FastEthernet4/0/0"
>     interfaces.ifTable.ifEntry.ifDescr.3 = "E1 1/0/0"
>     interfaces.ifTable.ifEntry.ifDescr.4 = "E1 1/0/1"
>     interfaces.ifTable.ifEntry.ifDescr.5 = "E1 5/0/0"
>     interfaces.ifTable.ifEntry.ifDescr.6 = "E1 5/0/1"
>     interfaces.ifTable.ifEntry.ifDescr.7 = "Serial1/0/0:0"
>     interfaces.ifTable.ifEntry.ifDescr.8 = "Serial1/0/0:1"
>     interfaces.ifTable.ifEntry.ifDescr.9 = "Serial1/0/0:2"
>     
> As you can see, My serial1 is not number 1 ...
> Similar: your interface Serial2/2 is not number 2.
> In fact, you may have serial1/1, serial1/2, serial2/1 and serial2/2
> and the number will be at least four. (No: I did not say it *is*!)
> 
> Regards,
> Alex
> 

--
* To unsubscribe from the mrtg mailing list, send a message with the
  subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg


More information about the mrtg mailing list