Cisco NTP配置


 

 

Windows 或 Linux 系统配置成NTP服务器,思科交换机配置成NTP客户端

 

 

 

 

##创建VLAN 10

SW01>enable

SW01#vlan database

SW01(vlan)#vlan 10 name VLAN10

SW01(vlan)#exit

 

##配置VLAN 10

SW01#configure terminal

SW01(config)#interface vlan 10

SW01(config-if)#ip address 192.168.10.1 255.255.255.0

SW01(config-if)#exit

 

##VLAN 10分配端口

SW01(config)#interface range fastEthernet 0/1-10

SW01(config-if-range)#SW01port access vlan 10

SW01(config-if-range)#SW01port mode access

SW01(config-if-range)#no shutdown

SW01(config-if-range)#exit

 

##激活fa0/24 Trunk

SW01(config)#interface fastEthernet 0/24

SW01(config-if)#SW01port trunk encapsulation dot1q

SW01(config-if)#SW01port mode trunk

SW01(config-if)#no shutdown

SW01(config-if)#exit

 

##配置NTP服务连接

SW01(config)#ntp server 192.168.10.10

 

##配置时区

SW01(config)#clock timezone Peking 8

SW01(config)#exit

 

##显示与维护

SW01#show clock

SW01#show ntp status

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM