鏈結

Cisco Nexus NTP Server Config Example

Cisco Nexus NTP Server Config Example

之前NEXUS 7000 Switch 設定NTP Server有問題。在NX-OS 6.1之後,已經解決跨網不能同步問題。

 

Nexus_7000#configure terminal


!--- Form an association with a server. 
     Use the pefer keyword to make this server as preferred NTP server.

Nexus_7000(config)#ntp server 129.6.15.28 prefer
Nexus_7000(config)#ntp server 129.6.15.29

!--- Configure the source interface for all NTP packets.

Nexus_7000(config)#ntp source-interface  vlan1

!--- Configure the device as an authoritative NTP server.

Nexus_7000(config)#ntp master 1

Nexus_7000(config)#interface vlan1
Nexus_7000(config-if)#no shutdown
Nexus_7000(config-if)#no ip redirects
Nexus_7000(config-if)#ip address 172.20.100.34/24
Nexus_7000(config-if)#ip address 172.20.100.30/24 secondary


!--- Save the configurations in the device.

Nexus_7000(config)#copy running-config startup-config
Nexus_7000(config)#exit