zxAnMacFwdVid
ZTE-AN-MAC-MIB ·
zte-ng variant
·
.1.3.6.1.4.1.3902.1082.40.10.2.1.2.1.2
Object
column Integer32
The vlan id of mac forwarding entry.This value may be 0 as some user-cards don't support to learn vlanId of the MAC table.
Context
- MIB
- ZTE-AN-MAC-MIB
- OID
.1.3.6.1.4.1.3902.1082.40.10.2.1.2.1.2- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- zxAnMacFwdEntry
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-MAC-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-MAC-MIB::zxAnMacFwdVid'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZTE-AN-MAC-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-MAC-MIB::zxAnMacFwdVid.<zxAnMacFwdAddrStatus>.<ifIndex>.<zxAnSubIfIndex>.<zxAnMacFwdVid>.<zxAnMacFwdMacAddr>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZTE-AN-MAC-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZTE-AN-MAC-MIB::zxAnMacFwdVid'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-4095