Mac-Address Mac-Learning Disable - H3C S7500E Series Command Manual

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – MAC Address Table Management
H3C S7500E Series Ethernet Switches
Use the undo mac-address [ blackhole | dynamic | static ] interface interface-type
interface-number command to remove a MAC address entry, MAC address entries of a
specified type, or all MAC address entries for an Ethernet port.
Use the undo mac-address [ blackhole | dynamic | static ] [ mac-address ] interface
interface-type interface-number vlan vlan-id command to remove a MAC address entry
or all MAC address entries for an Ethernet port.
Note that you can change a dynamic entry to a static or blackhole entry but not vice
versa.
As your MAC address entries configuration cannot survive a reboot, save it after
completing the configuration. The dynamic entries however will be lost whether you
save the configuration or not.
Related commands: display mac-address.
Examples
# Add a static entry for MAC address 00e0-fc01-0101. All frames destined to this MAC
address are sent out of port Ethernet 2/0/1 which belongs to VLAN 2.
<Sysname> system-view
[Sysname] mac-address static 00e0-fc01-0101 interface ethernet 2/0/1 vlan 2

1.1.6 mac-address mac-learning disable

Syntax
mac-address mac-learning disable
undo mac-address mac-learning disable
View
System view, Ethernet port view, port group view
Parameters
None
Description
Use the mac-address mac-learning disable command to disable MAC address
learning globally, on one or a group of Ethernet ports depending on the view you
entered.
Use the undo mac-address mac-learning disable command to enable MAC address
learning globally, on one or a group of Ethernet ports depending on the view you
entered.
By default, MAC address learning is enabled globally and on all Ethernet ports.
Note that:
Chapter 1 MAC Address Table Management
1-6
Configuration Commands

Advertisement

Table of Contents
loading

Table of Contents