Limiting The Number Of Mac Addresses Learned In A Slot; Checking The Configuration - Huawei Quidway S7700 Configuration Manual - Ethernet

Smart routing switch
Hide thumbs Also See for Quidway S7700:
Table of Contents

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - Ethernet
By default, the S7700 sends a trap to the NMS when the number of learned MAC addresses
reaches the limit.
----End

7.7.5 Limiting the Number of MAC Addresses Learned in a Slot

A limit can be set for the number of MAC addresses learned in a slot to control the number of
users on the board. When the number of learned MAC addresses in the slot reaches the limit,
the S7700 stops learning MAC addresses in this slot. When an interface in the slot receives
packets with unknown source MAC addresses, the S7700 discards the packets or sends a trap
to the network management system (NMS). This protects the network from MAC address
attacks.
Context
If no action is specified, the S7700 discards packets with unknown source MAC addresses and
sends a trap to the NMS when the number of learned MAC addresses reaches the limit.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
mac-limit slot slot-id maximum max-num
The maximum number of MAC addresses learned in a slot is set.
By default, the number of MAC addresses learned in a slot is not limited.
Step 3 Run:
mac-limit slot slot-id action { discard | forward }
The action to be taken on the packets with unknown source MAC addresses when the number
of learned MAC addresses reaches the limit is configured.
By default, packets with unknown source MAC addresses are discarded after the number of
learned MAC addresses reaches the limit.
Step 4 Run:
mac-limit slot slot-id alarm { disable | enable }
The S7700 is configured to (or not to) send a trap to the NMS when the number of learned MAC
addresses reaches the limit.
By default, the S7700 sends a trap to the NMS when the number of learned MAC addresses
reaches the limit.
----End

7.7.6 Checking the Configuration

After completing the configuration of MAC address limiting, use the following command to
verify the configuration.
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
7 MAC Address Table Configuration
357

Advertisement

Table of Contents
loading

This manual is also suitable for:

Quidway s9300

Table of Contents