Cisco路由器配置步骤
1.Router(config)#router ospf process-idRouter(config-router)#network address (可以是网络号也可以是Ip地址 mask(通配掩码)area area-id
Router(config-if)# ip ospf priority numbe配置OSPF的优先级
Router#show ip protocols验证OSPF的配置
Router#show ip route显示路由器学到的所有路由
Router#show ip ospf interface type number 显示 area-ID 和邻接信息
Router#show ip ospf neighbor 基于每接口显示OSPF邻居信息
Router#debug ip ospf events
Router#debug ip ospf packet
2.Router(config)# interface loopback number(lookback回路配置)
Router(config-if)# ip address ip-address subnet-mask
Router(config-if)# ip ospf cost cost-numbe 修改OSPF 的Cost数值
Router(config-if)# ip ospf authentication-key key 配置明文口令
Router(config-if)# ip ospf messge-digest-key keyid md5 key 配置MD5口令
(keyid和key必须配对一致,两邻居才可以通信)
Router(config-route)# area area-id authentication
message-digest为可选项,使用后路由器只传送口令消息的摘要(或散列)配置OSPF区域的验证:
3.Router(config-if)# ip ospf hello-interval seconds 配置hello间隔:
Router(config-if)# ip ospf dead-interval seconds配置down机判断间隔
访问列表
页:
[1]