zxAnVlanBasedFwdConfMode
ZTE-AN-VLAN-MIB ·
zte-ng variant
·
.1.3.6.1.4.1.3902.1082.40.50.2.6.4.1.1
Object
column r/w
Enumeration
VLAN based forwarding mode.
vlan1To1(1) - Forwarding the packets with the S-VID configured in
the zxAnVlanBasedFwdTable. When user-side interface
in the zxAnVlanBasedFwdTable is deleted, the packet
with the S-VID will be discarded.
vlanAndMac(2) - Forwarding the packets with VLAN ID and MAC
address.
Context
- MIB
- ZTE-AN-VLAN-MIB
- OID
.1.3.6.1.4.1.3902.1082.40.50.2.6.4.1.1- Type
- column
- Access
- readwrite
- Status
- current
- Default
vlanAndMac- Parent
- zxAnVlanBasedFwdConfEntry
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-VLAN-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-VLAN-MIB::zxAnVlanBasedFwdConfMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZTE-AN-VLAN-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-VLAN-MIB::zxAnVlanBasedFwdConfMode.<zxAnVid>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZTE-AN-VLAN-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZTE-AN-VLAN-MIB::zxAnVlanBasedFwdConfMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | vlan1To1 |
2 | vlanAndMac |