Configuration Guide Vol. 1


12.1.6 Set Time Synchronization with NTP in VRF [SL-L3A]

Use the NTP functionality to synchronize time with NTP servers and NTP clients on VRFs.

Points to note

Using the NTP functionality, synchronize the Switch's system clock with a given NTP server on a VRF. Once the Switch's system clock is synchronized to an NTP server, the Switch's system clock time can be distributed to multiple NTP clients on all VRFs including the global network.

If the clock-source NTP server and NTP clients are on different VRFs, notify the NTP clients of the referred-to host of the Switch as the local time server.

Command examples

  1. (config)# ntp server vrf 10 192.168.1.100

    Synchronizes the Switch's system clock to the NTP server with the IP address 192.168.1.100 on VRF 10. The configuration is client/server mode.

  2. (config)# ntp peer vrf 10 192.168.1.100

    Synchronizes the Switch's system clock to the NTP server with the IP address 192.168.1.100 on VRF 10. The configuration is symmetric active/passive mode

  3. (config)# ntp broadcast client

    Synchronizes the Switch's system clock using NTP broadcast messages. Receives NTP broadcast messages from the NTP server to all subnets within all VRFs including the global network.

  4. (config)# interface vlan 100

    (config-if)# vrf forwarding 20

    (config-if)# ip address 192.168.10.1 255.255.255.0

    (config-if)# ntp broadcast

    Sets NTP broadcasting to the interface with the specified VRF. Once the Switch's clock is synchronized to the NTP server, sends NTP broadcast packets to the network of VRF20, IPv4 address 192.168.10.0, subnet 255.255.255.0.