[c-nsp] IOS/6500 SNMP to detect IPv6 address on a VLAN

Drew Weaver drew.weaver at thenap.com
Wed Sep 28 09:21:52 EDT 2016


I'm trying to programmatically detect whether or not there is already an IPv6 address assigned to an SVI/VLAN on a Cat 6500 (IOS).

Obviously, I can write a snippet that does show run int vlan X and parse that, but a more elegant way would be to use SNMP with the @vlanID in the community. Is anyone aware of whether or not there are any OIDs that show either IF there is an IPv6 address assigned to a VLAN or what IPv6 address is assigned to a VLAN?

Thanks in advance.
Drew


More information about the cisco-nsp mailing list