i
Contents
Using ping, tracert, and system debugging ············································ 1
Ping ········································································································································ 1
Using a ping command to test network connectivity ···································································· 1
Ping example ····················································································································· 1
Tracert ····································································································································· 3
Prerequisites ······················································································································ 4
Using a tracert command to identify failed or all nodes in a path ···················································· 4
Tracert example ·················································································································· 4
System debugging ····················································································································· 5
Debugging information control switches ··················································································· 6
Debugging a feature module ·································································································· 6
Configuring NTP ·············································································· 7
Overview ·································································································································· 7
How NTP works ·················································································································· 7
NTP architecture ················································································································· 8
Association modes ·············································································································· 9
NTP security ···················································································································· 10
NTP for MPLS L3VPN instances ·························································································· 11
Protocols and standards ····································································································· 12
Configuration restrictions and guidelines ······················································································· 12
Configuration task list················································································································ 12
Enabling the NTP service ·········································································································· 13
Configuring NTP association mode ······························································································ 13
Configuring NTP in client/server mode ··················································································· 13
Configuring NTP in symmetric active/passive mode ·································································· 14
Configuring NTP in broadcast mode ······················································································ 14
Configuring NTP in multicast mode ······················································································· 15
Configuring access control rights ································································································· 16
Configuring NTP authentication ··································································································· 16
Configuring NTP authentication in client/server mode ································································ 17
Configuring NTP authentication in symmetric active/passive mode ·············································· 18
Configuring NTP authentication in broadcast mode ··································································· 20
Configuring NTP authentication in multicast mode ···································································· 22
Configuring NTP optional parameters ··························································································· 23
Specifying the source interface for NTP messages ··································································· 24
Disabling an interface from receiving NTP messages ································································ 24
Configuring the maximum number of dynamic associations ························································ 25
Setting a DSCP value for NTP packets ·················································································· 25
Configuring the local clock as a reference source ··········································································· 25
Displaying and maintaining NTP ·································································································· 26
NTP configuration examples ······································································································· 26
NTP client/server mode configuration example ········································································ 26
IPv6 NTP client/server mode configuration example ································································· 27
NTP symmetric active/passive mode configuration example ······················································· 29
IPv6 NTP symmetric active/passive mode configuration example ················································ 30
NTP broadcast mode configuration example ··········································································· 31
NTP multicast mode configuration example ············································································· 33
IPv6 NTP multicast mode configuration example ······································································ 35
Configuration example for NTP client/server mode with authentication ·········································· 38
Configuration example for NTP broadcast mode with authentication ············································· 40
Configuration example for MPLS VPN time synchronization in client/server mode ··························· 42
Configuration example for MPLS VPN time synchronization in symmetric active/passive mode ·········· 44
Configuring SNTP ·········································································· 46
Configuration restrictions and guidelines ······················································································· 46
Configuration task list················································································································ 46