The port learned mac-address number rising threshold. (PortIndex=[port_index], VlanId=[Vlan_ID], BDId=[BD_ID], VsiName=[vsi_name], PortNum=[port_num], BaseTrapSeverity=[Base_Severity], BaseTrapProbableCause=[trap_cause], BaseTrapEventType=[trap_event], LearnNumber=[learn_number], LimitNumber=[limit_number], PortName=[port_name], EvpnName=[evpn_name])
MAC limit and its alarm function are enabled. An alarm is generated when the number of dynamically learned MAC addresses reaches the specified upper limit.
In VS mode, this trap is supported only by the admin VS.
Trap Attribute | Description |
---|---|
Alarm or Event |
Alarm |
Trap Severity |
Warning |
Mnemonic Code |
hwMacLimitNumRaisingThreshold |
Trap OID |
1.3.6.1.4.1.2011.5.25.42.2.1.7.3 |
MIB |
HUAWEI-L2MAM-MIB |
Alarm ID |
0x41c10004 |
Alarm Name |
hwMacLimitNumRaisingThreshold |
Alarm Type |
qualityOfServiceAlarm |
Raise or Clear |
Raise |
Match trap |
L2IF_1.3.6.1.4.1.2011.5.25.42.2.1.7.4 hwMacLimitNumFallingThreshold |
Parameter | Description |
---|---|
port_index |
Interface index. |
Vlan_ID |
VLAN ID. |
BD_ID |
BD name. |
vsi_name |
VSI name. |
port_num |
Interface number. |
Base_Severity |
Indicates the trap type. |
trap_cause |
Alarm cause. |
trap_event |
Alarm event type. |
learn_number |
Number of currently learned MAC addresses. |
limit_number |
MAC address limit. |
port_name |
Interface name. |
evpn_name |
EVPN name. |
VB OID | VB Name | VB Index |
---|---|---|
1.3.6.1.4.1.2011.5.25.129.1.1 |
hwBaseTrapSeverity |
- |
1.3.6.1.4.1.2011.5.25.129.1.2 |
hwBaseTrapProbableCause |
- |
1.3.6.1.4.1.2011.5.25.129.1.3 |
hwBaseTrapEventType |
- |
1.3.6.1.4.1.2011.5.25.42.2.1.4.1.10 |
hwMacDynAddressLearnNum |
hwMacLimitPort hwMacLimitVlanId hwMacLimitVsiName |
1.3.6.1.4.1.2011.5.25.42.2.1.4.1.4 |
hwMacLimitMaxMac |
hwMacLimitPort hwMacLimitVlanId hwMacLimitVsiName |
1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.19 |
hwL2IfPortName |
hwL2IfPortNum |
1.3.6.1.4.1.2011.5.25.42.2.1.4.1.12 |
hwMacLimitBdId |
hwMacLimitPort hwMacLimitVlanId hwMacLimitVsiName |
1.3.6.1.4.1.2011.5.25.42.2.1.4.1.13 |
hwMacLimitEVPName |
hwMacLimitPort hwMacLimitVlanId hwMacLimitVsiName |
If a user configures the action as discard, packets will be discarded after the number of MAC addresses learned exceeds a specified upper limit. For example, after the user runs the mac-limit vlan 1 maximum 10 rate 1 action discard command, a maximum of 10 MAC addresses can be learned. In this case, excess packets will be discarded.
If a user configures the action as forward, packets will be discarded after the number of MAC addresses learned exceeds a specified upper limit. For example, after the user runs the mac-limit vlan 1 maximum 10 rate 1 action forward command, a maximum of 10 MAC addresses can be learned. In this case, excess packets will be forwarded.
No. 1
1. Run the mac-limit maximum max rate interval command to increase the maximum number of MAC addresses that can be learned. Check whether the alarm is cleared.
a) If current alarm is based on VLAN, run the mac-limit action discard maximum max rate interval command in the VLAN view.
b) If current alarm is based on port and VLAN, run the mac-limit vlan vlanid action discard alarm enable maximum max rate interval command.
If the alarm is cleared, go to Step 3.
If the alarm persists, go to Step 2.
2. Collect trap, log, and configuration information, and contact technical support personnel.
3. End.
No. 2
1. Run the undo mac-address command to delete some or all MAC addresses. Check whether the alarm is cleared.
a) If current alarm is based on VLAN, run the undo mac-address dynamic vlan vlanid command to delete all MAC addresses in a specified VLAN.
b) If current alarm is based on port and vlan, run the undo mac-address vlan vlanid command to delete MAC addresses. If the alarm is cleared, go to Step 3.
If the alarm persists, go to Step 2.
2. Collect trap, log, and configuration information, and contact technical support personnel.
3. End.