4 miscellaneous commands – Asus GigaX2024B User Manual
Page 87

75
GigaX2024B L2 Managed Switch User Manual
5.3.23.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/25
(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
5.3.23.4 switchport port-security aging
This command used to set the port security aging configuration.
CLI Syntax: switchport port-security aging {time TIME | type {absolute |
inactivity}}
Example: (config)# interface gi1/0/1
(config-if)# switchport port-security aging-time 20
(config-if)# switchport port-security aging-type absolute
5.4 Miscellaneous commands
show private health: shows the environment variable, like temperature, fan
speed and voltage.
show private led: shows the three system LEDS – SYSTEM, RPS and FAN.
show private model: shows the model name of switch.
show version: shows the hardware, boot rom and firmware version.
ping: ping remote host
show ip route: display the entries in the routing table