Operation Manual – Port Security-Port Binding
H3C S3600 Series Ethernet Switches-Release 1510 Chapter 1
Port Security Configuration
1-8
III. Configuration procedure
Configure switch A as follows:
# Enter system view.
<S3600> system-view
# Enable port security.
[S3600] port-security enable
# Enter Ethernet1/0/1 port view.
[S3600] interface Ethernet1/0/1
# Set the maximum number of MAC addresses allowed on the port to 80.
[S3600-Ethernet1/0/1] port-security max-mac-count 80
# Set the port security mode to autolearn.
[S3600-Ethernet1/0/1] port-security port-mode autolearn
# Add the MAC address 0001-0002-0003 of PC1 as a security MAC address to VLAN
1.
[S3600-Ethernet1/0/1] mac-address security 0001-0002-0003 vlan 1