hwVmacAgingMode
HUAWEI-VLAN-MIB ·
.1.3.6.1.4.1.2011.5.6.1.25.1.21
Object
column r/w
Enumeration
Indicates the time selection mode for reallocating VMAC addresses to users.
Options:
1. macLearning(1) -indicates that the VMAC addresses are
reallocated to users after the corresponding MAC address learning entry ages.
2. dhcp(2) -indicates that the VMAC addresses are reallocated to users after
the corresponding IP addresses are released or the lease time of the IP address expires.
This leaf is optional for creating a VLAN service profile.
Context
- MIB
- HUAWEI-VLAN-MIB
- OID
.1.3.6.1.4.1.2011.5.6.1.25.1.21- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwVlanSrvProfEntry
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-VLAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-VLAN-MIB::hwVmacAgingMode'
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::hwVmacAgingMode.<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::hwVmacAgingMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | macLearning |
2 | dhcp |