3Com Switch 7750 Configuration Guide

206 CHAPTER 25: PORT SECURITY CONFIGURATION
Displaying Port
Security Configuration
After the above configuration, you can use the display command in any view to
display port security information and verify your configuration.
Port Security
Configuration
Example
Port Security
Configuration Example
Network requirements
Implement access user restrictions through the following configuration on
GigabitEthernet 2/0/1 of the switch.
Allow a maximum of 80 users to access the port without authentication and
permit the port to learn and add the MAC addresses of the users as security
MAC addresses.
To ensure that Host can access the network, add the MAC address
0001-0002-0003 of Host as a security MAC address to the port in VLAN 1.
After the number of security MAC addresses reaches 80, the port stops
learning MAC addresses. If any frame with an unknown MAC address arrives,
intrusion protection is triggered and the port will be disabled and stay silent for
30 seconds.
Network diagram
Figure 53 Network diagram for port security configuration
Configuration procedure
# Enter system view.
<SW7750> system-view
# Enable port security.
[SW7750] port-security enable
# Enter GigabitEthernet 2/0/1 port view.
[SW7750] interface GigabitEthernet 2/0/1
Table 139 Display port security configuration
Operation Command Description
Display information about
port security configuration
display port-security [ interface
interface-list ]
You can
execute the
display
command in
any view.
Display information about
security MAC address
configuration
display mac-address security [ interface
interface-type interface-number ] [ vlan
vlan-id ] [ count ]
Internet
SwitchHost
GE2/0/1
MAC:0001 -0002- 0003