3 typical examples of ntp function, 4 ntp function troubleshooting, Ypical – QTECH QSW-3400 Инструкция по настройке User Manual

Page 441: Xamples of, Unction, Roubleshooting

Advertising
background image

+7(495) 797-3311 www.qtech.ru
Москва, Новозаводская ул., 18, стр. 1

440

debug ntp events

no debug ntp events

To enable debug switch of NTP event

information.

61.3 Typical Examples of NTP Function

A client switch wanted to synchronize time with time server in network, there is two time server

in network, the one is used as host, the other is used as standby, the connection and

configuration as follows (Switch A and Switch B are the switch or route which support NTP

server ):

The configuration of Switch C is as follows: (Switch A and Switch B may have the different

command because of different companies, we not explain there, our switches are not support

NTP server at present)

Switch C:

Switch(config)#ntp enable
Switch(config)#interface vlan 1
Switch(Config-if-Vlan1)#ip address 192.168.1.12 255.255.255.0
Switch(config)#interface vlan 2
Switch(Config-if-Vlan1)#ip address 192.168.2.12 255.255.255.0
Switch(config)#ntp server 192.168.1.11
Switch(config)#ntp server 192.168.2.11

61.4 NTP Function Troubleshooting

In configuration procedures, if there is error occurred, the system can give out the debug

information.

The NTP function disables by default, the show command can be used to display current

configuration. If the configuration is right please use debug every relative debugging command

and display specific information in procedure, and the function is configured right or not, you

can also use show command to display the NTP running information, any questions please

Advertising