NTP Client Configuration with IPv6 Address

NTP client, user can configure an association with a remote server. In this mode the client clock can synchronize to the remote server.

Topology

Figure 36. NTP Client topology

Configuration of VRF Management

#configure terminal

Enter configure mode

(config)#feature ntp vrf management

Configure feature on default or management VRFClosed Virtual Routing and Forwarding. By default this feature runs on management VRF.

(config)# ntp enable vrf management

This feature enables NTP. This will be enabled in default.

(config)#ntp server 2001::1 vrf management

Configure NTP server IP address.

(config)#commit

Commit the configuration

(config)#exit

Exit from the Configure Mode.

Validation

Copy
#show ntp peers
     ================================================
     Peer IP Address Serv/Peer
     ================================================
     2001::1 Server (configured)
     #show ntp peer-status
     Total peers : 1 
     * - selected for sync, + - peer mode(active), 
     - - peer mode(passive), = - polled in client mode 
         Remote  refid     st when             poll reach delay   offset        jitter ============================================================================== 
        *2001::1         LOCAL(0) 7 u   14  32  37    0.194       -4.870       3.314 

Configuration of User Defined VRF

#configure terminal

Enter configure mode

(config)#feature ntp vrf vrf1

Configure feature on default or management VRF. By default this feature runs on management VRF.

(config)# ntp enable vrf vrf1

This feature enables NTP. This will be enabled in default.

(config)#ntp server 2001::1 vrf vrf1

Configure NTP server IP address.

(config)#commit

Commit the configuration

(config)#exit

Exit from the Configure Mode.

Validation

Copy
#show ntp peers
     ================================================
     Peer IP Address Serv/Peer
     ================================================
     2001::1 Server (configured)
     #show ntp peer-status
     Total peers : 1 
     * - selected for sync, + - peer mode(active), 
     - - peer mode(passive), = - polled in client mode 
         Remote  refid     st when             poll reach delay   offset        jitter ============================================================================== 
        *2001::1         LOCAL(0) 7 u   14  32  37    0.194       -4.870       3.314