Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell EMC SmartFabric OS10 User Guide Release 10.5.0

Sample NTP configuration

The following example shows an NTP master (11.0.0.2), server (10.0.0.1), and client (10.0.0.2) connected through a nondefault VRF instance (VRF Red). OS10 acts as an NTP server to synchronize its clock with the NTP master available in the nondefault VRF instance red and provides time to NTP clients in the VRF.

NTP configuration

To create this sample NTP configuration:

  1. Configure the NTP server:
    1. Create a nondefault 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)#
      
    2. 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)#
    3. 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:
    1. Create a nondefault 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
      OS10(conf-if-eth1/1/1)# exit
      OS10(config)#
    2. Configure the NTP server IP address on the NTP client.
      OS10(config)# ntp server 10.0.0.1
      OS10(config)# do show running-configuration ntp
      ntp server 10.0.0.1
      OS10(config)#
    3. 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)# do show running-configuration ntp
      ntp server 10.0.0.1
      ntp enable vrf red
      OS10(config)#
  3. Configure an NTP master:
    1. Create a nondefault 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 11.0.0.2/24
      OS10(conf-if-eth1/1/1)# exit
      OS10(config)
    2. Configure NTP as master.
      OS10(config)# ntp master
      OS10(config)# do show running-configuration ntp
      ntp master 8
      OS10(config)#
    3. 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)# do show running-configuration ntp
      ntp master 8
      ntp enable vrf red
      OS10(config)#
  4. Verify that the NTP client (10.0.0.2) is connected to the NTP server (10.0.0.1) running in VRF Red.
    OS10# show ntp associations vrf red
    
         remote           refid      st t when poll reach   delay   offset  jitter
    
    ==============================================================================
    
    *10.0.0.1        11.0.0.2        10 u    2   64    1    0.578   -1.060   0.008
    
    OS10# show ntp status vrf red
    associd=0 status=0615 leap_none, sync_ntp, 1 event, clock_sync,
    system peer:        10.0.0.1:123
    system peer mode:   client
    leap indicator:     00
    stratum:            11
    log2 precision:     -24
    root delay:         0.991
    root dispersion:    1015.099
    reference ID:       10.0.0.1
    reference time:     dbc7b087.5d47aaa6  Sat, Nov  5 2016  1:12:39.364
    system jitter:      0.000000
    clock jitter:       0.462
    clock wander:       0.003
    broadcast delay:    -50.000
    symm. auth. delay:  0.000
    OS10#
  5. Verify that the NTP server (10.0.0.1) is connected to the NTP master (11.0.0.2) running in VRF Red.
    OS10(config)# do show ntp associations vrf red
    
         remote           refid      st t when poll reach   delay   offset  jitter
    
    ==============================================================================
    
     LOCAL(0)        .LOCL.           8 l  111   64    2    0.000    0.000   0.000
    
    *11.0.0.2        LOCAL(0)         9 u   43   64    3    0.441    0.026   0.047
    
    OS10(config)# do show ntp status vrf red
    associd=0 status=0615 leap_none, sync_ntp, 1 event, clock_sync,
    system peer:        11.0.0.2:123
    system peer mode:   client
    leap indicator:     00
    stratum:            10
    log2 precision:     -24
    root delay:         0.441
    root dispersion:    950.580
    reference ID:       11.0.0.2
    reference time:     dbc7b03e.733f51d7  Sat, Nov  5 2016  1:11:26.450
    system jitter:      0.000000
    clock jitter:       0.009
    clock wander:       0.000
    broadcast delay:    -50.000
    symm. auth. delay:  0.000
    OS10(config)#

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\