cpwVcEnetPwVlan
CISCO-IETF-PW-ENET-MIB ·
.1.3.6.1.4.1.9.10.108.1.1.1.1
Object
This Object defines the VLAN on the VC. The value of 4097 is used if the object is not applicable, for example when mapping all packets from an Ethernet port to this VC. The value of 4096 is used to indicate untagged frames (at least from the PW point of view), for example if cpwVcEnetVlanMode is equal 'removeVLAN' or when cpwVcEnetVlanMode equal 'noChange' and cpwVcEnetPortVlan is equal 4096.
Context
- MIB
- CISCO-IETF-PW-ENET-MIB
- OID
.1.3.6.1.4.1.9.10.108.1.1.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- cpwVcEnetEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'CISCO-IETF-PW-ENET-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-IETF-PW-ENET-MIB::cpwVcEnetPwVlan'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-IETF-PW-ENET-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-IETF-PW-ENET-MIB::cpwVcEnetPwVlan.<cpwVcIndex>.<cpwVcEnetPwVlan>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-IETF-PW-ENET-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-IETF-PW-ENET-MIB::cpwVcEnetPwVlan'
Syntax
- Source
- CISCO-IETF-PW-TC-MIBCpwVcVlanCfg
- Base type
Integer32
Values & Constraints
Type Constraints
range: 0..4097