メイン コンテンツに進む
  • すばやく簡単にご注文が可能
  • 注文内容の表示、配送状況をトラック
  • 会員限定の特典や割引のご利用
  • 製品リストの作成とアクセスが可能
  • 「Company Administration(会社情報の管理)」では、お使いのDell EMCのサイトや製品、製品レベルでのコンタクト先に関する情報を管理できます。

Dell EMC SmartFabric OS10 User Guide Release 10.5.0

PDF

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)#

このコンテンツを評価する

正確
有益
分かりやすい
この記事は役に立ちましたか?
0/3000 characters
  1~5個の星の数で評価してください。
  1~5個の星の数で評価してください。
  1~5個の星の数で評価してください。
  この記事は役に立ちましたか?
  コメントでは、以下の特殊文字は利用できません: <>()\