3 typical examples of ntp function, 4 ntp function troubleshooting, Ypical – QTECH QSW-8300 Инструкция по настройке User Manual
Page 346: Xamples of, Unction, Roubleshooting
+7(495) 797-3311 www.qtech.ru
Москва, Новозаводская ул., 18, стр. 1
345
debug ntp sync
no debug ntp sync
To enable debug switch of time synchronize
information.
debug ntp events
no debug ntp events
To enable debug switch of NTP event
information.
40.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
40.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