zxAnDhcpV6L2RAIfConfPolicy
ZTE-AN-DHCP-L2-RELAY-AGENT-MIB ·
.1.3.6.1.4.1.3902.1082.70.60.2.2.3.1.3
Object
column r/w
Enumeration
DHCPv6 layer-2 relay agent interface trust policy. To set this variable, a manager must comply with the following rules: - when trust flag is true, policy can be set to keep or replace. - when trust flag is false, policy can be set to discard or add. In addition, a manager must comply with the multi-variables usage rules in ZxAnDhcpV6L2RAIfConfEntry description.
Context
- MIB
- ZTE-AN-DHCP-L2-RELAY-AGENT-MIB
- OID
.1.3.6.1.4.1.3902.1082.70.60.2.2.3.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Default
add- 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::zxAnDhcpV6L2RAIfConfPolicy'
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::zxAnDhcpV6L2RAIfConfPolicy.<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::zxAnDhcpV6L2RAIfConfPolicy'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | keep |
2 | replace |
3 | discard |
4 | add |