Port Security; Show Port Security; Clear Port Security; Switchport Port-Security - ASUSTeK COMPUTER GigaX3112 Series User Manual

Layer 3 managed switch
Table of Contents

Advertisement

5.3.27 Port Security

5.3.27.1 show port security

This command used to show the port security configuration, status and MAC
addresses information.
CLI Syntax: show port-security [address] [interface IFNAME]
Example: ASUS# show port-security
ASUS# show port-security interface gi1/0/1
ASUS# show port-security address
ASUS# show port-security interface gi1/0/1 address

5.3.27.2 clear port security

This command used to clear port security dynamic MAC addresses.
CLI Syntax: clear port-security dynamic [address MAC] | [interface IFNAME]
Example: ASUS# clear port-security dynamic
ASUS# clear port-security dynamic address 0023.1313.2313
ASUS# clear port-security dynamic interface gi1/0/1

5.3.27.3 switchport port-security

This command used to set the port security configuration, and MAC addresses.
CLI Syntax: switchport port-security [mac-address MAC] | [maximum
VALUE] | [violation {protect | restrict | shutdown}] | [reup]
Example: (config)# interface gi1/0/1
(config-if)# switchport port-security
(config-if)# switchport port-security mac-address 0023.1313.2313
(config-if)# switchport port-security maximum 20
(config-if)# switchport port-security violation protect
(config-if)# switchport port-security reup
GigaX3112 Series Layer 3 Managed Switch
87

Advertisement

Table of Contents
loading

Table of Contents