h3cProtocolVlanPortStatus
H3C-PROTOCOL-VLAN-MIB ·
.1.3.6.1.4.1.2011.10.2.16.1.6.1.8
Object
column Enumeration
The protocol VLAN status on the port. The value is active only
when h3cProtocolVlanPortProtocolId has the corresponding entry in
h3cProtocolVlanTable, the port link type is hybrid, and the VLAN is
allowed by the port.
active: protocol VLAN has been applied on the port.
inactive: protocol VLAN is not applied on the port.
Context
- MIB
- H3C-PROTOCOL-VLAN-MIB
- OID
.1.3.6.1.4.1.2011.10.2.16.1.6.1.8- Type
- column
- Access
- readonly
- Status
- current
- Parent
- h3cProtocolVlanPortEntry
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 'H3C-PROTOCOL-VLAN-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-PROTOCOL-VLAN-MIB::h3cProtocolVlanPortStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'H3C-PROTOCOL-VLAN-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-PROTOCOL-VLAN-MIB::h3cProtocolVlanPortStatus.<h3cProtocolVlanPortIndex>.<h3cProtocolVlanPortVlanId>.<h3cProtocolVlanPortProtocolId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'H3C-PROTOCOL-VLAN-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'H3C-PROTOCOL-VLAN-MIB::h3cProtocolVlanPortStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | active |
2 | inactive |