hwForwardingMode

HUAWEI-VLAN-MIB · .1.3.6.1.4.1.2011.5.6.1.25.1.2

Object

column r/w Enumeration
Indicates the VLAN forwarding policy.
Options:
1. vlanMac(1)     -indicates forwarding based on the VLAN+MAC.
2. vlanConnect(2) -indicates forwarding based on the SVLAN+CVLAN.
3. notConfig(3)   -indicates forwarding based on VLAN single switch.
This leaf is optional for creating a VLAN service profile.
The VLAN forwarding policy can also be configured in hwVlanForwarding
of hwVlanMIBTable. If a VLAN service profile is bound to the VLAN,
the configuration in the VLAN service profile takes effect.

Context

MIB
HUAWEI-VLAN-MIB
OID
.1.3.6.1.4.1.2011.5.6.1.25.1.2
Type
column
Access
readwrite
Status
current
Parent
hwVlanSrvProfEntry

Walk 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 'HUAWEI-VLAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-VLAN-MIB::hwForwardingMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-VLAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-VLAN-MIB::hwForwardingMode.<hwVlanSrvProfName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-VLAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-VLAN-MIB::hwForwardingMode'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1vlanMac
2vlanConnect
3notConfig