Disabling Mac Address Learning On An Interface - 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
Pre-configuration Tasks
None.
Data Preparation
To disable MAC address learning, you need the following data.
No.
1
2

7.6.2 Disabling MAC Address Learning on an Interface

Disabling MAC address learning on an interface can improve security of the device connected
to the interface.
Context
When an S7700 enabled with MAC address learning receives an Ethernet frame, it records the
source MAC address and inbound interface of the Ethernet frame in a MAC address entry. When
receiving other Ethernet frames destined for this MAC address, the S7700 forwards the frames
through the corresponding outbound interface according to the MAC address entry. The MAC
address learning function reduces broadcast packets on a network. After MAC address learning
is disabled on an interface, the S7700 does not learn source MAC addresses of packets received
by the interface.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
interface interface-type interface-number
The interface view is displayed.
Step 3 Run:
mac-address learning disable [ action { discard | forward } ]
MAC address learning is disabled on the interface.
By default, MAC address learning is enabled on an interface.
You can configure an action for the S7700 to perform when a packet with an unknown MAC
address is received on the interface. By default, the S7700 forwards such packets based on the
MAC address table. When the action is set to discard, the S7700 searches for the source MAC
address of the packet in the MAC address table. If the source MAC address is found in the MAC
address table, the S7700 forwards the packet according to the MAC address entry. If the source
MAC address is not found, the S7700 discards the packet.
Issue 01 (2011-07-15)
Data
Interface type and number
VLAN ID
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
7 MAC Address Table Configuration
351

Advertisement

Table of Contents
loading

This manual is also suitable for:

Quidway s9300

Table of Contents