[c-nsp] 7600 "vlans used" with snmp-get

Paul Koch paul.koch137 at gmail.com
Mon Mar 23 06:40:30 EDT 2015


On Mon, 23 Mar 2015 10:13:42 +0000
MKS <rekordmeister at gmail.com> wrote:

> Is there a mib / snmp operation that can give me all used vlans on a 7600
> or all "available" vlans?
> 
> Something like
> sh vlan internal usage
> but hopefully containing all used vlans.
> 
> Regards
> MKS

Try walking the CISCO-VTP-MIB.vtpVlanTable

It should return these objects

VtpVlanEntry ::= SEQUENCE {
   vtpVlanIndex              VlanIndex,
   vtpVlanState              INTEGER,
   vtpVlanType               VlanType,
   vtpVlanName               DisplayString,
   vtpVlanMtu                Integer32,
   vtpVlanDot10Said          OCTET STRING,
   vtpVlanRingNumber         Integer32,
   vtpVlanBridgeNumber       Integer32,
   vtpVlanStpType            INTEGER,
   vtpVlanParentVlan         VlanIndex,
   vtpVlanTranslationalVlan1 VlanIndex,
   vtpVlanTranslationalVlan2 VlanIndex,
   vtpVlanBridgeType         INTEGER,
   vtpVlanAreHopCount        Integer32,
   vtpVlanSteHopCount        Integer32,
   vtpVlanIsCRFBackup        TruthValue,
   vtpVlanTypeExt            VlanTypeExt,
   vtpVlanIfIndex            InterfaceIndexOrZero
}

	Paul.
-- 
Paul Koch | Founder, CEO
AKIPS Network Monitor
http://www.akips.com


More information about the cisco-nsp mailing list