EasyManua.ls Logo

H3C S5100-SI

H3C S5100-SI
830 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-7
Operation Command Description
Set the maximum number of
MAC addresses the port can
learn
mac-address max-mac-count
count
Required
By default, the number of the
MAC addresses a port can
learn is not limited.
Disabling MAC Address learning for a VLAN
You can disable a switch from learning MAC addresses in specific VLANs to improve stability and
security for the users belong to these VLANs and prevent unauthorized accesses.
Table 1-7 Disable MAC address learning for a VLAN
Operation Command Description
Enter system view
system-view
Enter VLAN view
vlan vlan-id
Disable the switch from
learning MAC addresses in
the VLAN
mac-address
max-mac-count 0
Required
By default, a switch learns MAC
addresses in any VLAN.
z If the VLAN is configured as a remote probe VLAN used by port mirroring, you can not disable MAC
address learning of this VLAN. Similarly, after you disable MAC address learning, this VLAN can
not be configured as a remote probe VLAN.
z Disabling the MAC address learning function of a VLAN takes no effect on enabling the centralized
MAC address authentication on the ports that belong to the VLAN.
Displaying MAC Address Table Information
To verify your configuration, you can display information about the MAC address table by executing the
display command in any view.
Table 1-8 Display MAC address table information
Operation Command Description
Display information about the MAC
address table
display mac-address
[ display-option ]
Display the aging time of the dynamic
MAC address entries in the MAC
address table
display mac-address
aging-time
The display command
can be executed in any
view.

Table of Contents

Related product manuals