Owner's manual

94
Chapter 5 - Command Line Interface
(cong-if)# switchport port-security
(cong-if)# switchport port-security mac-address
0023.1313.2313
(cong-if)# switchport port-security maximum 20
(cong-if)# switchport port-security violation protect
(cong-if)# switchport port-security reup
5.3.25.4 switchport port-security aging
This command used to set the port security aging conguration.
CLI Syntax
: switchport port-security {aging-time TIME | agine-type
{absolute | inactivity}}
Example
: (cong)# interface gi1/0/1
(cong-if)# switchport port-security aging-time 20
(cong-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
: (cong)# 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