beautypg.com

Chapter 5 - command line interface, 25 port security – Asus GigaX2124 User Manual

Page 105

background image

93

Chapter 5 - Command Line Interface

Show dot1x radius server ip, radius key, and radius port for 802.1X

configuration.

CLI Syntax: show dot1x radius
Example: ASUS# show dot1x radius

5.3.25 Port Security

5.3.25.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/24
ASUS# show port-security address
ASUS# show port-security address gi1/0/24

5.3.25.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 0023.1313.2313
ASUS# clear port-security dynamic interface gi1/0/24

5.3.25.3

switchport port-security

This command used to set the port security configuration, and MAC

addresses.

CLI Syntax:switchport port-security [mac-address MACADDR] |

[maximum VALUE] | [violation {protect | restrict | shutdown}] | [reup]

Example: (config)# interface gi1/0/24