本案例采用思科模拟器来模拟NTP典型组网配置案例,在该网络中,S3560交换机作为NTP客户端,服务器作为NTP服务器,S3560交换机通过NTP协议来同步交换机的系统时间。
1、配置交换机VLAN,确保交换机与服务器互通。
2、开启服务器的NTP功能。
3、交换机配置NTP功能,并指向到NTP服务器。
4、查看交换机NTP的状态为同步。
MSW:
Switch>
Switch>ena
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hos MSW
MSW(config)#vlan 10
MSW(config)#int f 0/1
MSW(config-if)#sw mo acc
MSW(config-if)#sw acc vlan 10
MSW(config-if)#exit
MSW(config)#int vlan 10
MSW(config-if)#ip address 192.168.1.1 255.255.255.0
MSW(config-if)#no shutdown
MSW(config-if)#exit
MSW(config)#ip routing
服务器填写IP地址,且能PING通交换机。
NTP配置:
(1)交换机配置NTP功能
MSW(config)#ntp server 192.168.1.2
(2)服务器开启NTP功能
(3)查看交换机NTP的状态已同步
至此,思科交换机NTP典型组网配置案例已完成。
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作