OSPF分流实验配置
OSPF分流实验配置
实验拓扑如下1、配置子接口并配置IP
2、起用OSPF并划分4个OSPF区域
3、检查OSPF邻居关系
R8
R9
R10R11
R12
4、做路由策略
[R12-GigabitEthernet2/0/1.2]ospf cost 2
[R12-GigabitEthernet2/0/1.1]ospf cost 1
[R12-GigabitEthernet2/0/1.2]ospf cost 1
[R12-GigabitEthernet0/0/1.1]ospf cost 2
[R12-GigabitEthernet2/0/0.2]ospf cost 2
[R11-GigabitEthernet0/0/0]ospf cost 1
[R11-GigabitEthernet0/0/1]ospf cost 1
[R11-GigabitEthernet2/0/1.2]ospf cost 1
[R11-GigabitEthernet2/0/1.1]ospf cost 2
[R11-GigabitEthernet2/0/0.1]ospf cost 2
[R11-GigabitEthernet2/0/0.2]ospf cost 1
[R10-GigabitEthernet0/0/0]ospf cost 1
[R10-GigabitEthernet2/0/1]ospf cost 1
[R10-GigabitEthernet2/0/0.1]ospf cost 1
[R10-GigabitEthernet2/0/0.2]ospf cost 2
[R10-GigabitEthernet2/0/1.2]ospf cost 2
[R8-GigabitEthernet2/0/0.1]ospf cost 1
[R8-GigabitEthernet2/0/0.2]ospf cost 1
[R8-GigabitEthernet2/0/1]ospf cost 1
[R8-GigabitEthernet2/0/2.1]ospf cost 2
[R8-GigabitEthernet2/0/2.2]ospf cost 1
[R9-GigabitEthernet2/0/2]ospf cost 1
[R9-GigabitEthernet2/0/0.1]ospf cost 1
[R9-GigabitEthernet2/0/0.1]int g 2/0/0.2
[R9-GigabitEthernet2/0/1.1]ospf cost 1
[R9-GigabitEthernet2/0/1.2]ospf cost 2
测试