Typical Examples Of Ntp Function - Planet WGSW-52040 Configuration Manual

48-port 10/100/1000base-t + 4-port 100/1000x sfp managed switch
Hide thumbs Also See for WGSW-52040:
Table of Contents

Advertisement

debug ntp packets [send | receive]
no debug ntp packets [send | receive]
debug ntp adjust
no debug ntp adjust
debug ntp sync
no debug ntp sync
debug ntp events
no debug ntp events

63.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
To enable debug switch of NTP packet
information.
To enable debug switch of time update
information.
To enable debug switch of time
synchronize information.
To enable debug switch of NTP event
information.
63-56

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents