Mac-Address Mac-Learning Disable - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

Related command:
Example

mac-address mac-learning disable

Syntax
View
Parameter
Description
Use the
undo mac-address
interface interface-type interface-number vlan vlan-id ] command to remove one
or all MAC address entries.
Use the
undo mac-address
vlan vlan-id command 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
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
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.
display mac-address.
# 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
undo mac-address mac-learning disable
System view, Layer 2 Ethernet interface view, aggregation port group view
disable: Disables MAC address learning.
Use the
mac-address mac-learning disable
learning globally or on a specified Ethernet interface depending on the view you
entered.
Use the
undo mac-address mac-learning disable
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:
[ { blackhole | dynamic | static } mac-address
[ blackhole | dynamic | static ] [ mac-address ]
[ blackhole | dynamic | static ] interface
[ blackhole | dynamic | static ] [ mac-address ]
command to disable MAC address
2481
command to enable MAC

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents