Disabling Mac Address Learning For A Vlan; Displaying Mac Address Table Information - H3C S5100-SI Operation Manual

Ethernet switches
Hide thumbs Also See for H3C S5100-SI:
Table of Contents

Advertisement

Operation
Set the maximum number of
MAC addresses the port can
learn

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
Enter system view
Enter VLAN view
Disable the switch from
learning MAC addresses in
the VLAN
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.
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
Display information about the MAC
address table
Display the aging time of the dynamic
MAC address entries in the MAC
address table
Command
mac-address max-mac-count
count
Command
system-view
vlan vlan-id
mac-address
max-mac-count 0
Command
display mac-address
[ display-option ]
display mac-address
aging-time
1-7
Description
Required
By default, the number of the
MAC addresses a port can
learn is not limited.
Description
Required
By default, a switch learns MAC
addresses in any VLAN.
Description
The display command
can be executed in any
view.

Advertisement

Table of Contents
loading

This manual is also suitable for:

H3c s5100-ei

Table of Contents