EasyManua.ls Logo

H3C S5120-SI Series

H3C S5120-SI Series
910 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
1-6
interface interface-type interface-number: Outbound interface, with interface-type interface-number
representing the interface type and number.
Description
Use the mac-address command to add or modify a MAC address entry.
Use the undo mac-address command to remove one or all MAC address entries.
Note that:
z A static or blackhole MAC address entry will not be overwritten by a dynamic MAC address entry,
but a dynamic MAC address entry can be overwritten by a static or blackhole MAC address entry.
z If you execute the undo mac-address command without specifying any parameters, this
command deletes all unicast MAC address entries and static multicast MAC address entries.
z You can delete all the MAC address entries (including unicast MAC address entries and static
multicast MAC address entries) of a VLAN, or you can choose to delete its dynamic, static, or
blackhole MAC address entries only. You can single out some ports and delete the corresponding
unicast MAC address entries, but not the corresponding static multicast MAC address entries.
z 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 000f-e201-0101. All frames destined to this MAC address are sent
out of port GigabitEthernet1/0/1 which belongs to VLAN 2.
<Sysname> system-view
[Sysname] mac-address static 000f-e201-0101 interface gigabitethernet1/0/1 vlan 2
mac-address max-mac-count (Interface view)
Syntax
mac-address max-mac-count { count | disable-forwarding }
undo mac-address max-mac-count [ disable-forwarding ]
View
Ethernet interface view, port group view, Layer 2 aggregate interface view
Default Level
2: System level
Parameters
count: Maximum number of MAC addresses that can be learned on a port. When the argument takes 0,
the VLAN is not allowed to learn MAC addresses. The value range is 0 to 8192.
disable-forwarding: Disables forwarding of frames with unknown source MAC addresses after the
number of learned MAC addresses reaches the upper limit. Frames with the source MAC addresses
listed in the MAC address table will be forwarded normally.

Table of Contents

Other manuals for H3C S5120-SI Series

Related product manuals