All MIBs › HUAWEI-ETHERNET-PORT-MIB › hwifTag
hwifTag
Module: HUAWEI-ETHERNET-PORT-MIB
OID (symbolic): HUAWEI-ETHERNET-PORT-MIB::hwifTag
OID (numeric): 1.3.6.1.4.1.2011.5.14.1.4.1.8
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description:
What is hwifTag?
This object's source DESCRIPTION is blank, but its enumeration of tag(1), untag(2), and multi(3) indicates it controls how the port handles 802.1Q VLAN tags on egress: always tagging frames, always stripping tags, or supporting both tagged and untagged VLANs simultaneously (a hybrid/trunk-like mode). An admin sets untag(2) on an access port facing a plain end-host, and tag(1) or multi(3) on a trunk-like port carrying multiple VLANs. Illustratively, setting multi(3) would let the port pass some VLANs untagged and others tagged, matching a hybrid port configuration.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.14.1.4.1.8 snmpwalk -v2c -c public <target> HUAWEI-ETHERNET-PORT-MIB::hwifTag
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.14.1.4.1.8.1 snmpget -v2c -c public <target> HUAWEI-ETHERNET-PORT-MIB::hwifTag.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.2011.5.14.1.4.1.8.1 i <value>
Start monitoring Huawei enterprise/carrier Ethernet switch or router (port speed/duplex/VLAN trunk) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-ETHERNET-PORT-MIB::hwifTag OID value, configure state conditions and alerts, and monitor any Huawei enterprise/carrier Ethernet switch or router (port speed/duplex/VLAN trunk) from a single console.
OID Breakdown
Upper-level ancestors (9 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.2011 | huawei | EXPERTV2-MIB |
| 1.3.6.1.4.1.2011.5 | huaweiMgmt | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.5.14 | hwEthernet | HUAWEI-ETHERNET-OPTICMODULE-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2011.5.14.1 | hwL2IfMibObject | HUAWEI-ETHERNET-PORT-MIB |
| 1.3.6.1.4.1.2011.5.14.1.4 | hwEthernetTable | HUAWEI-ETHERNET-PORT-MIB |
| 1.3.6.1.4.1.2011.5.14.1.4.1 | hwEthernetEntry | HUAWEI-ETHERNET-PORT-MIB |
| 1.3.6.1.4.1.2011.5.14.1.4.1.8 | hwifTag | HUAWEI-ETHERNET-PORT-MIB |