Configuration Commands

and use the administrator password to log into the switch. The switch allows this only if TACACS+ servers are not available.

NTP server configuration

These commands enable you to synchronize the switch clock to a Network Time Protocol (NTP) server. By default, this option is disabled.

The following table describes the NTP Server Configuration commands. Table 81 NTP Server Configuration commands

Command

Description

 

 

[no] ntp primary-server [<IP

Prompts for the IP addresses of the primary NTP server to which you want

address>mgt-portdata-port]

to synchronize the switch clock. For example, 100.10.1.1.

 

By default, the mgt-portoption for the management port is used. To

 

use data ports, specify the data-portoption.

 

Command mode: Global configuration

 

 

[no] ntp secondary-server

Prompts for the IP addresses of the secondary NTP server to which you

[<IP address>mgt-portdata-

want to synchronize the switch clock. For example, 100.10.1.2.

port]

By default, the mgt-portoption for the management port is used. To

 

 

use data ports, specify the data-portoption.

 

Command mode: Global configuration

 

 

ntp interval <1-44640>

Specifies the interval, in minutes (1-44640), to resynchronize the switch

 

clock with the NTP server. The default is 1440 seconds.

 

Command mode: Global configuration

 

 

ntp enable

Enables the NTP synchronization service.

 

Command mode: Global configuration

 

 

no ntp enable

Disables the NTP synchronization service. This is the default.

 

Command mode: Global configuration

 

 

show ntp

Displays the current NTP service settings.

 

Command mode: All

 

 

109