Do you have a question? Post it now! No Registration Necessary. Now with pictures!
September 23, 2009, 7:18 am
rate this thread
anyone have a sample of perl script that list all
interface available on a cisco router in SNMP ?
because use .1.3.5.xxx it's not best ..
./test.pl -H IP_Router -C sent :
Interface 1 :: Ethernet0/0
Interface 2 :: GigabitEthernet0/0
Interface 3 :: FastEthernet1/0
Interface 4 :: GigabitEthernet2/0
Interface 6 :: Null0
Interface 8 :: GigabitEthernet2/0.4
Interface 9 :: GigabitEthernet2/0.500
Interface 10 :: GigabitEthernet2/0.1051
Interface 18 :: Loopback1
Interface 19 :: GigabitEthernet0/0-mpls layer
Interface 20 :: GigabitEthernet2/0.1055
Interface 21 :: GigabitEthernet2/0.1056
and if i want know all information (in/out/packet), i can get
it in start with specify "Interface 20"
thanks for your help
- » FAQ 7.2 What are all these $@%&* punctuation signs, and how do I know when to use them?
- — Next thread in » PERL Discussions