h3cL2vpnXcgAcAccessMode
H3C-L2VPN-MIB ·
.1.3.6.1.4.1.2011.10.2.162.3.3.1.3
Object
column r/w
Enumeration
Access mode of the AC. The value is meaningless when the interface isn't a layer 2 Ethernet interface.
Context
- MIB
- H3C-L2VPN-MIB
- OID
.1.3.6.1.4.1.2011.10.2.162.3.3.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- h3cL2vpnXcgAcEntry
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-L2VPN-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-L2VPN-MIB::h3cL2vpnXcgAcAccessMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'H3C-L2VPN-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-L2VPN-MIB::h3cL2vpnXcgAcAccessMode.<h3cL2vpnXcgName>.<h3cL2vpnXcgConnName>.<h3cL2vpnXcgAcIfIndex>.<h3cL2vpnXcgAcEvcSrvInstId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'H3C-L2VPN-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'H3C-L2VPN-MIB::h3cL2vpnXcgAcAccessMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | vlan |
2 | ethernet |