[c-nsp] VLANs and snmp

Vincent De Keyzer vincent at dekeyzer.net
Thu Sep 2 12:25:06 EDT 2004


Hello,

 

Is there a way to obtain via snmp the VLAN information of a switch (in my
case, Catalyst 3524)?

 

My broader problem is the following: I would like to write a script that
shows, for all ports of a switch, the following data:

*	Interface name
*	Interface description
*	Operational and administrative status
*	VLAN it belongs to

 

If could gather this via an expect script (telnet, sh int, sh vlan); but I'd
prefer to do it via snmp.

 

Any ideas?

 

Vincent

 

 

 

 



More information about the cisco-nsp mailing list