Chapter 5 - command line interface, 26 ntp – Asus GigaX2124 User Manual
Page 106

94
Chapter 5 - Command Line Interface
(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.25.4
switchport port-security aging
This command used to set the port security aging configuration.
CLI Syntax: switchport port-security {aging-time TIME | agine-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.3.26 NTP
This feature makes the switch automatically sync clock time to a NTP
server.
5.3.26.1
ntp server
This command used to set server IP address for NTP sync.
CLI Syntax: ntp server IPADDR
Example: (config)# ntp server 220.130.158.52
5.3.26.2
ntp sync
This command used to sync the switch clock time to a NTP server.
CLI Syntax: ntp sync IPADDR
Example: ASUS# ntp sync 220.130.158.52
5.3.26.3
show ntp server