Users Guide

Table Of Contents
To create this sample NTP configuration:
1. Configure the NTP server:
a. Create a non-default VRF instance and assign an interface to the 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 the NTP master IP address on the NTP server. (In the example, NTP master 11.0.0.2 is reachable only through VRF
Red.)
OS10(config)# ntp server 11.0.0.2
OS10(config)# do show running-configuration ntp
ntp server 11.0.0.2
OS10(config)#
c. Configure NTP in the VRF Red 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:
a. Create a non-default VRF instance and assign an interface to the VRF.
OS10(config)# ip vrf red
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.2/24
172
System management