Connectivity Guide

Table Of Contents
Figure 1. Sample NTP configuration
To create this sample NTP configuration, perform the following steps:
1. Configure the NTP server using the following steps:
a. Create a non-default VRF instance and assign an interface to that VRF.
OS10(conf-vrf)# exit
OS10(config)# interface ethernet 1/1/1
OS10(conf-if-eth1/1/1)# no switchport
OS10(conf-if-eth1/1/1)# ip vrf forwarding red
OS10(conf-if-eth1/1/1)# ip address 10.0.0.1/24
OS10(conf-if-eth1/1/1)# exit
OS10(config)# interface ethernet 1/1/5
OS10(conf-if-eth1/1/5)# no switchport
OS10(conf-if-eth1/1/5)# ip vrf forwarding red
OS10(conf-if-eth1/1/5)# ip address 11.0.0.1/24
OS10(conf-if-eth1/1/5)# exit
OS10(config)#
b. Configure NTP master IP in NTP server
OS10(config)# ntp server 11.0.0.2
OS10(config)# do show running-configuration ntp
ntp server 11.0.0.2
OS10(config)#
NOTE: NTP master 11.0.0.2 is reachable only through red VRF.
c. Configure NTP in red VRF instance.
OS10(config)# ntp enable vrf red
% Warning: NTP server/client will be disabled in default VRF and enabled on a red
VRF
Do you wish to continue? (y/n): y
OS10(config)#
OS10(config)# do show running-configuration ntp
ntp server 11.0.0.2
ntp enable vrf red
OS10(config)#
2. Configure an NTP client using the following steps:
a. Create non-default VRF instance and assign interface to the VRF.
OS10(config)# ip vrf red
OS10(conf-vrf)# exit
System management
115