Configuring NTP over Management VRF on an NTP Server
To implement NTP over Management VRF, a Network Time Protocol (NTP) server device
must be configured to communicate with NTP client devices.
After configuring the NTP server, configure the NTP client devices.
- Enter global configuration mode.
- Configure a port-based VLAN and enter VLAN configuration mode.
- Add an untagged port to the VLAN.
- Create a virtual routing interface.
- Exit to global configuration mode.
- Configure the VRF named management as a global management VRF.
- Enter virtual interface mode for interface ve 20.
- Configure the VRF named management as a forwarding VRF.
- Configure an IP address on the interface.
- Exit to global configuration mode.
- Enable the Network Time Protocol (NTP) client and server mode.
- Configure the device as an NTP master clock to which peers synchronize themselves when an external NTP source is not available.
The following example configures NTP over Management VRF on an NTP server, including the initial VRF configuration.
configure terminal
vrf MGMT
rd 3:3
address-family ipv4
ip route 0.0.0.0/0 10.10.10.1
vlan 20 by port
untagged ethernet 2/1/47
interface ve 20
exit
management vrf MGMT strict
interface ve 20
vrf forwarding MGMT
ip address 10.10.10.1 255.255.255.0
exit
ntp
master
