361
Switch(config)# ntp authentication-key 20 md5 abc
40.8 ntp trusted-key
Command: ntp trusted-key <key-id>
no ntp trusted-key <key-id>
Function: To configure the trusted key. The no command cancels the trusted key.
Parameter: key-id: The id of key, range is from 1 to 4294967295.
Default: Trusted key is not configured by default.
Command Mode: Global Mode.
Usage Guide: None.
Example: To configure the specified key 20 to trusted key.
Switch(config)# ntp trusted-key 20
40.9 ntp disable
Command: ntp disable
no ntp disable
Function: To disable/enable the NTP function on port.
Parameter: None.
Default: To enable NTP function on all ports.
Command Mode: Interface Configuration Mode.
Usage Guide: None.
Example: To disable the NTP function on vlan1 interface.
Switch(config)# interface vlan 1
Switch(Config-if-Vlan1)#ntp disable
40.10 debug ntp authentication
Command: debug ntp authentication
no debug ntp authentication
Function: To display NTP authentication information, the no form command disabled the
switch of displaying NTP authentication information.