配置清单5-2 配置RIP协议
第1段:配置RIP协议
R1#conft
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#router rip
R1(config-router)#eetwork 172.16.0.0
R1(config-router)#
Term_Server>2
[Resuming connection 2 to R2 ...]
R2#conft
Enter configuration commands, one per line. End with CNTT ./Z
R2(config)#router rip
R2(config-router)#network 172.16.0.0
R2(config-router)#
Term_Server>3
[Resuming connection 3 to R3 ...]
R3#conft
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#router rip
R3(config-router)#network 172.16.0.0
R3(config-router)#
第2段:查看路由表
Term_Server> 1
[Resuming connection I to R1... ]
R1(config-router)#end
R1#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, 0 - OSPF, IA - OSPF inter area
N - 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 not set
172.16.0.0/24 is subnetted, 6 subnets
R 172.16.23.0[20/1]via 172.16.12.2,00:00:06,Serial0
[20/1]via 172.16.13.3,00:00:07,Serial1
C 172.16.12.0 is directly connected, Serial0
C 172.16.13.0 is directly connected. Serial1
C 172.16.1.0 is directly connected, Ethernet0
R 172.16.2.0[20/1]via 172.16.12.2,00:00:06,Serial0
R172.16.3.0[20/1]via 172.16.13.3,00:00:07,Serial1
R1#
Term_Server>2
[Resuming connection 2 to R2 ... ]
R2(config-router)#end
R2#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M " mobile, B - BGP
D - EIGRP, EX - EIGRP external, 0 - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type I, 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 not set
172.16.0.0/24 is subnetted, 6 subnets
C 172.16.23.0 is directly connected, Seriall
C 172.16.12.0 is directly connected, SerialO
R 172.16.13.0[20/1]via 172.16.12.1,00:00:08,Serial0
[20/1]via 172.16.23.3,00:00:09,Serial1
R 172.16.1.0[20/1]via 172.16.12.1,00:00:08,Serial0
C 172.16.2.0 is directly connected, Ethernet0
R 172.16.3.0[20/1]via 172.16.23.3,00:00:09,Serial1
R2#
Term_Server>3
[Resuming connection 3 to R3 ... ]
R3(config-.router)#end
R3#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX -EIGRP external, 0 - 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 not set
172.16.0.0/24 is subnetted, 6 subnets
C 172.16.23.0 is directly connected, Serial1
R 172.16.12.0 [120/13 via 172.16.13.1, 00:00:17, Serial0
[120/1} via 172.16.23.2, 00:00:26, Serial1
C 172.16.13.0 is directly connected, SerialO
R 172.16.1.0 [120/1] via 172.16.13.1, 00:00:17, Serial0
R 172.16.2,0 [120/1] via 172.16.23.2,00:00:26, Serial1
C 172.16.3.0 is directly connected, Ethemet0
R3#
推荐阅读
- 男人早上吃什么最好 男人早上吃的食物
- 真蜂蜜和假蜂蜜的区别
- 朱祁钰是谁的儿子吗 朱祁钰的儿子为什么死了
- 面值一万的纸币有哪些
- 我看诺基亚 3230
- 哪些大学有葡萄酒专业的研究生
- 你在干什么英文怎么说 你在干什么英文的相关知识
- 新买的笔记本电脑怎么充电
- 巴花大板的优缺点 巴花优点缺点
- 好听不易撞的姐妹网名两个字 不易撞的两字网名女生