扫一扫
分享文章到微信
扫一扫
关注官方公众号
至顶头条
在本页阅读全文(共3页)
-----------R3配置-------------------- Router>en Router#config Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z. Router(config)#ho R1 R3(config)#NO IP Domain-lo R3(config)#line c 0 R3(config-line)#logg syn R3(config-line)#exec-t 0 0 R3(config-line)#exit R3(config)#int ser1 R3(config-if)#ip add 10.0.0.6 255.255.255.252 R3(config-if)#no shut R3(config-if)#exit R3(config)#int lo 0 R3(config-if)#ip add 172.17.1.1 255.255.255.0 R3(config)#router ospf 100 R3(config-router)#net 10.0.0.4 0.0.0.3 area 2 |
------------------验证过程------------- R2#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is 100.1.1.1 to network 0.0.0.0 100.0.0.0/30 is subnetted, 1 subnets C 100.1.1.0 is directly connected, Ethernet0 10.0.0.0/30 is subnetted, 1 subnets C 10.0.0.4 is directly connected, Serial1 O*IA 0.0.0.0/0 [110/11] via 100.1.1.1, 00:00:43, Ethernet0 |
如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。