hwDot1xPortMacControl
HUAWEI-8021X-EXT-MIB ·
.1.3.6.1.4.1.2011.5.22.1.3.3.1.8
Object
column r/w
Enumeration
Indicates whether to enable the MAC-based control function. This leaf can be issued with parameters during the create operation. This function supports port-based rather than service-port-based configuration. When hwDot1xPortMacControl is set to enable(1), only the packets whose source MAC address is the MAC address of the authorized user can reach the network side. This leaf does not support the modify operation. Options: 1. enable(1) -indicates the MAC-based control function is enabled 2. disable(2) -indicates the MAC-based control function is disabled Default: disable(2)
Context
- MIB
- HUAWEI-8021X-EXT-MIB
- OID
.1.3.6.1.4.1.2011.5.22.1.3.3.1.8- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwDot1xPortConfigExtEntry
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 'HUAWEI-8021X-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-8021X-EXT-MIB::hwDot1xPortMacControl'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-8021X-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-8021X-EXT-MIB::hwDot1xPortMacControl.<dot1xPaePortNumber>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-8021X-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-8021X-EXT-MIB::hwDot1xPortMacControl'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enable |
2 | disable |