zxAnDhcpV6L2RAIfWorkMode
ZTE-AN-DHCP-L2-RELAY-AGENT-MIB ·
.1.3.6.1.4.1.3902.1082.70.60.2.2.3.1.4
Object
column r/w
Enumeration
DHCPv6 layer 2 relay agent work mode of the interface.
LDRA means the protocol RFC6221(Lightweight DHCPv6 Relay Agent).
noLdra: The format of the relay messages do not meet
RFC6221 standards.
ldra: The format of the relay messages meet RFC6221 standards.
invalid: The format of the relay message is configured by
zxAnDhcpV6L2RAWorkMode.
Context
- MIB
- ZTE-AN-DHCP-L2-RELAY-AGENT-MIB
- OID
.1.3.6.1.4.1.3902.1082.70.60.2.2.3.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Default
invalid- Parent
- zxAnDhcpV6L2RAIfConfEntry
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 'ZTE-AN-DHCP-L2-RELAY-AGENT-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-DHCP-L2-RELAY-AGENT-MIB::zxAnDhcpV6L2RAIfWorkMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZTE-AN-DHCP-L2-RELAY-AGENT-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-DHCP-L2-RELAY-AGENT-MIB::zxAnDhcpV6L2RAIfWorkMode.<ifIndex>.<zxAnSubIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZTE-AN-DHCP-L2-RELAY-AGENT-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZTE-AN-DHCP-L2-RELAY-AGENT-MIB::zxAnDhcpV6L2RAIfWorkMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | noLdra |
2 | ldra |
255 | invalid |