标签:com ado route proc Fix ref 查看 size show
一、实验拓扑:三、命令部署:
R2(config)#int loopback0
R2(config-if)#ip ospf network point-to-point
R1(config)#ip prefix-list ls deny 2.2.2.0/24
R1(config)#ip prefix-list ls permit 0.0.0.0/0 le 32
R1(config)#router ospf 110
R1(config-router)#distribute-list prefix ls in fastEthernet 0/0
四、验证:
R1#show ip route
1.0.0.0/24 is subnetted, 1 subnets
C 1.1.1.0 is directly connected, Loopback0
3.0.0.0/32 is subnetted, 1 subnets
O 3.3.3.3 [110/2] via 13.1.1.3, 00:00:56, FastEthernet1/0
4.0.0.0/32 is subnetted, 1 subnets
O 4.4.4.4 [110/65] via 14.1.1.4, 00:00:56, Serial2/0
12.0.0.0/24 is subnetted, 1 subnets
C 12.1.1.0 is directly connected, FastEthernet0/0
13.0.0.0/24 is subnetted, 1 subnets
C 13.1.1.0 is directly connected, FastEthernet1/0
14.0.0.0/24 is subnetted, 1 subnets
C 14.1.1.0 is directly connected, Serial2/0
R3#show ip route
O 1.1.1.1 [110/2] via 13.1.1.1, 00:01:13, FastEthernet0/0
2.0.0.0/24 is subnetted, 1 subnets
R4#show ip route
O 1.1.1.1 [110/65] via 14.1.1.1, 00:01:50, Serial2/0
2.0.0.0/24 is subnetted, 1 subnets
标签:com ado route proc Fix ref 查看 size show
原文地址:http://blog.51cto.com/13856092/2138503