Disabling Mac Address Learning - H3C SR8800 Configuration Manual

10g core routers layer 2 - lan switching
Hide thumbs Also See for SR8800:
Table of Contents

Advertisement

Add or modify a static, dynamic, or blackhole MAC address table entry globally
To add or modify a static, dynamic, or blackhole MAC address table entry in system view:
Step
1.
Enter system view.
2.
Add or modify a dynamic or
static MAC address entry.
3.
Add or modify a blackhole
MAC address entry.
Add or modify a static or dynamic MAC address table entry on an interface
To add or modify a static or dynamic MAC address table entry in interface view:
Step
1.
Enter system view.
2.
Enter interface view.
3.
Add or modify a MAC
address entry.

Disabling MAC address learning

You may need to disable MAC address learning sometimes to prevent the MAC address table from being
saturated, for example, when your router is being attacked by a large amount of packets with different
source MAC addresses.
Disabling MAC address learning on ports
After enabling global MAC address learning, you may disable the function on a single port, or on all
ports in a port group as needed.
To disable MAC address learning on a Layer 2 Ethernet port, port group, Layer 2 VE interface, or Layer
2 aggregate interface:
Step
1.
Enter system view.
Command
system-view
mac-address { dynamic | static }
mac-address interface
interface-type interface-number
vlan vlan-id
mac-address blackhole
mac-address vlan vlan-id
Command
system-view
interface interface-type interface-number
mac-address { dynamic | static }
mac-address vlan vlan-id
Command
system-view
21
Remarks
N/A
Use either command.
Make sure that you have created
the VLAN and assign the interface
to the VLAN.
Remarks
N/A
N/A
Make sure that you have
created the VLAN and
assign the interface to the
VLAN.
Remarks
N/A

Advertisement

Table of Contents
loading

Table of Contents