多平台统一管理软件接口,如何实现多平台统一管理软件接口
248
2022-09-20
华为设备配置带验证的NTP广播模式
1.基本IP地址及其连通性配置
[LSW1]vlan 10
[LSW1-Vlanif10]ip add 10.1.1.1 24
[LSW1-GigabitEthernet0/0/1]port link-type hybrid
[LSW1-GigabitEthernet0/0/1]port hybrid untagged vlan 10
[LSW1-GigabitEthernet0/0/1]port hybrid pvid vlan 10
[LSW2]vlan 10
[LSW2-Vlanif10]ip add 10.1.1.2 24
[LSW2-GigabitEthernet0/0/1]port link-type hybrid
[LSW2-GigabitEthernet0/0/1]port hybrid untagged vlan 10
[LSW2-GigabitEthernet0/0/1]port hybrid pvid vlan 10
[LSW3]vlan 10
[LSW3-Vlanif10]ip add 10.1.1.3 24
[LSW3-GigabitEthernet0/0/1]port link-type hybrid
[LSW3-GigabitEthernet0/0/1]port hybrid untagged vlan 10
[LSW3-GigabitEthernet0/0/1]port hybrid pvid vlan 10
[LSW4-GigabitEthernet0/0/1]port link-type hybrid
[LSW4-GigabitEthernet0/0/1]port hybrid untagged vlan 10
[LSW4-GigabitEthernet0/0/1]port hybrid pvid vlan 10
[LSW4-GigabitEthernet0/0/2]port link-type hybrid
[LSW4-GigabitEthernet0/0/2]port hybrid untagged vlan 10
[LSW4-GigabitEthernet0/0/2]port hybrid pvid vlan 10
[LSW4-GigabitEthernet0/0/3]port link-type hybrid
[LSW4-GigabitEthernet0/0/3]port hybrid untagged vlan 10
[LSW4-GigabitEthernet0/0/3]port hybrid pvid vlan 10
2.配置NTP广播服务器,并启用验证
[LSW1]ntp-service refclock-master 3 //配置LSW1使用本地时钟作为NTP主时钟,层数为3
[LSW1]ntp-service authentication enable //启用ntp认证
[LSW1]ntp-service authentication-keyid 16 authentication-mode md5 abc123 //设置认证密码
[LSW1]int Vlanif 10
[LSW1-Vlanif10]ntp-service broadcast-server authentication-keyid 16 //配置LSW1为NTP广播服务器,从VLANIF10发送NTP广播报文,并指定使用密钥ID 16加密
3.配置与服务器在同一网段的NTP广播客户端LSW2
[LSW2]ntp-service authentication enable //启用NTP认证
[LSW2]ntp-service authentication-keyid 16 authentication-mode md5 abc123
[LSW2]ntp-service reliable authentication-keyid 16
[LSW2]int Vlanif 10
[LSW2-Vlanif10]ntp-service broadcast-client //配置LSW2为NTP广播客户端,从接口VLANIF10侦听NTP广播报文
4.配置与服务器在同一网段的NTP广播客户端LSW3
[LSW3]ntp-service authentication enable
[LSW3]ntp-service authentication-keyid 16 authentication-mode md5 abc123
[LSW3]ntp-service reliable authentication-keyid 16
[LSW3]int Vlanif 10
[LSW3-Vlanif10]ntp-service broadcast-client
5.验证配置
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~