Port security configuration examples

Basic port security mode configuration example

Network requirements

As shown in Figure 418, configure port GigabitEthernet 1/0/3 of the switch as follows:

Allow up to three users to access the port without authentication, and permit the port to learn the MAC addresses of the users as secure MAC addresses.

After the number of secure MAC addresses reaches 3, the port stops learning MAC addresses. If an unknown MAC address frame arrives, intrusion protection is triggered and the port is disabled and stays silence for 30 seconds.

Figure 418 Network diagram

Configuring global port security settings

1.From the navigation tree, select Authentication > Port Security.

2.In the Port Security Configuration area, configure global port security settings:

a.Select Enable Port Security.

b.Click Advanced.

c.Specify the system to disable the port temporarily for 30 seconds.

d.Select Intrusion from the Trap Switch area.

e.Click Apply.

430