致 ntp trusted-key 1 //可以信任的Key. ntp acess-group peer 98 //设置ntp服务,只允许对端为符合access-list 98条件的主机 ntp server 192.168.0.1 key 1 //配置ntp server,server为192.168.0.1,使用1号key做为密码 ! interface vlan 10 ip address 10.1.10.254 255.255.255.0 ip ospf authentication message-digest //启用ospf邻接过程中的认证 ip ospf message-digest-key md5 7 24d10564152140a7e //配置ospf认证key,要求所有邻居相同 ip ospf priority 3 //提高ospf的优先级,便于成为DR ! 页码:[1] [2] [3] [4] [5] [6] 第5页、共6页 |