[c-nsp] Scripts.
Vish Yelsangikar
vyelsangikar at netflix.com
Wed Aug 17 19:15:11 EDT 2005
I don't want to reinvent the cycle.
Are there any scripts that do a SNMP walk and gets me an output that
combines the output of 'sh mac-address-table' (in 6500 with Native IOS)
and 'sh arp'. (Basically I am looking for an output that looks like
this)
vlan mac address type learn age ports
Address
------+----------------+--------+-----+----------+----------------------
----
* 120 0009.6bff.31e3 dynamic Yes 0 Gi6/25
10.1.120.115
* 11 0003.e3e5.3c7b dynamic Yes 0 Gi4/3
10.1.1.2
And if it is a purely a layer 2 switch, then just
vlan mac address type learn age ports
------+----------------+--------+-----+----------+----------------------
----
* 120 0009.6bff.31e3 dynamic Yes 0 Gi6/25
* 11 0003.e3e5.3c7b dynamic Yes 0 Gi4/3
Thanks.
Vish
More information about the cisco-nsp
mailing list