·掌握如何在路由器上配置RIP协议引入静态和OSPF路由
·掌握如何在路由器上配置OSPF协议引入静态和 RIP路由
·掌握如何使用Route-policy对引入的路由进行控制
拓扑图:
配置命令及截图:
[H3C]sys RTA
[RTA]int g0/0
[RTA-GigabitEthernet0/0]ip add 10.0.1.1 24
[RTA-GigabitEthernet0/0]int s1/0
[RTA-Serial1/0]ip add 192.168.1.1 30
[RTA-Serial1/0]int s2/0
[RTA-Serial2/0]ip add 192.168.1.5 30
[RTA-Serial2/0]qu
[RTA]rip
[RTA-rip-1]net
[RTA-rip-1]network 10.0.0.0
[RTA-rip-1]net
[RTA-rip-1]network 192.168.1.0
[RTA-rip-1]ver
[RTA-rip-1]version 2
[RTA-rip-1]un
[RTA-rip-1]undo su
[RTA-rip-1]qu
[H3C]sys RTB
[RTB]int s1/0
[RTB-Serial1/0]ip add 192.168.1.2 30
[RTB-Serial1/0]int s2/0
[RTB-Serial2/0]ip add 192.168.2.1 30
[RTB-Serial2/0]qu
[RTB]rip
[RTB-rip-1]net
[RTB-rip-1]network 192.168.1.0
[RTB-rip-1]ver