2481

Use the undo mac-address[ { blackhole dynamic static } mac-addressinterface interface-typeinterface-numbervlan vlan-id] command to remove one or all MAC address entries.

Use the undo mac-address[ blackhole dynamic static ] [ mac-address] vlan vlan-idcommand to remove a MAC address entry, MAC address entries of a specified type, or all MAC address entries for a VLAN.

Use the undo mac-address[ blackhole dynamic static ] interface interface-typeinterface-numbercommand 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-typeinterface-numbervlan vlan-idcommand 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 command: display mac-address.

Example # Add a static entry for MAC address 00e0-fc01-0101. All frames destined to this MAC address are sent out of the interface Ethernet 1/1 which belongs to VLAN 2.

<Sysname> system-view

[Sysname] mac-address static 00e0-fc01-0101 interface ethernet 1/1 vlan 2

mac-address mac-learning disable

Syntax mac-address mac-learning disable

undo mac-address mac-learning disable

View System view, Layer 2 Ethernet interface view, aggregation port group view

Parameter disable: Disables MAC address learning.

Description Use the mac-addressmac-learning disable command to disable MAC address learning globally or on a specified Ethernet interface depending on the view you entered.

Use the undo mac-address mac-learning disable command to enable MAC address learning globally or on a specified Ethernet interface depending on the view you entered.

By default, MAC address learning is enabled globally and on all Ethernet ports.

Note that:

Page 2481
Image 2481
3Com MSR 50, MSR 30 manual Mac-address mac-learning disable, 2481