Displaying And Maintaining Port Security Configuration - H3C S5100-SI Operation Manual

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

Advertisement

If the amount of security MAC addresses has not yet reach the maximum number, the port will
learn new MAC addresses and turn them to security MAC addresses;
If the amount of security MAC addresses reaches the maximum number, the port will not be able to
learn new MAC addresses and the port mode will be changed from autolearn to secure.
The security MAC addresses manually configured are written to the configuration file; they will not get
lost when the port is up or down. As long as the configuration file is saved, the security MAC addresses
can be restored after the switch reboots.
Configuration prerequisites
Port security is enabled.
The maximum number of security MAC addresses allowed on the port is set.
The security mode of the port is set to autolearn.
Configuring a security MAC address
Follow these steps to configure a security MAC address:
To do...
Enter system view
Add a security
MAC address

Displaying and Maintaining Port Security Configuration

To do...
Display information about port
security configuration
Display information about
security MAC address
configuration
system-view
mac-address security mac-address
In system
interface interface-type interface-number vlan
view
vlan-id
interface interface-type interface-number
In Ethernet
port view
mac-address security mac-address vlan
vlan-id
display port-security [ interface interface-list ]
display mac-address security [ interface
interface-type interface-number ] [ vlan vlan-id ]
[ count ]
Use the command...
Use the command...
1-9
Remarks
Either is
required.
By default, no
security MAC
address is
configured.
Remarks
Available in
any view

Advertisement

Table of Contents
loading

This manual is also suitable for:

H3c s5100-ei

Table of Contents