标签:允许 ima 自动 deny 3.3 路由 back mit 分发
一、实验拓扑:R1(config)#router eigrp 90
R1(config-router)#distribute-list prefix pl in f0/0
R1(config-router)#distribute-list prefix pl out f1/0
R1(config-router)#distribute-list prefix pl out s2/0
四、验证:
1、R1的in方向:R1都没有了2.2.2.0的路由
R1#show ip route
3.0.0.0/24 is subnetted, 1 subnets
D 3.3.3.0 [90/156160] via 13.1.1.3, 00:00:48, FastEthernet1/0
4.0.0.0/24 is subnetted, 1 subnets
D 4.4.4.0 [90/2297856] via 14.1.1.4, 00:00:40, Serial2/0
C 200.1.1.0/24 is directly connected, Loopback0
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
1、R1的out方向:R3、R4没有2.2.2.0的路由,R1仍然有:
R1#show ip route
2.0.0.0/24 is subnetted, 1 subnets
D 2.2.2.0 [90/156160] via 12.1.1.2, 00:01:05, FastEthernet0/0
3.0.0.0/24 is subnetted, 1 subnets
D 3.3.3.0 [90/156160] via 13.1.1.3, 00:02:46, FastEthernet1/0
4.0.0.0/24 is subnetted, 1 subnets
D 4.4.4.0 [90/2297856] via 14.1.1.4, 00:02:38, Serial2/0
C 200.1.1.0/24 is directly connected, Loopback0
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
3.0.0.0/24 is subnetted, 1 subnets
C 3.3.3.0 is directly connected, Loopback0
4.0.0.0/24 is subnetted, 1 subnets
D 4.4.4.0 [90/2300416] via 13.1.1.1, 00:02:58, FastEthernet0/0
12.0.0.0/24 is subnetted, 1 subnets
D 12.1.1.0 [90/30720] via 13.1.1.1, 00:02:48, FastEthernet0/0
13.0.0.0/24 is subnetted, 1 subnets
C 13.1.1.0 is directly connected, FastEthernet0/0
14.0.0.0/24 is subnetted, 1 subnets
D 14.1.1.0 [90/2172416] via 13.1.1.1, 00:02:48, FastEthernet0/0
R4#show ip route
3.0.0.0/24 is subnetted, 1 subnets
D 3.3.3.0 [90/2300416] via 14.1.1.1, 00:03:27, Serial2/0
4.0.0.0/24 is subnetted, 1 subnets
C 4.4.4.0 is directly connected, Loopback0
12.0.0.0/24 is subnetted, 1 subnets
D 12.1.1.0 [90/2172416] via 14.1.1.1, 00:03:08, Serial2/0
13.0.0.0/24 is subnetted, 1 subnets
D 13.1.1.0 [90/2172416] via 14.1.1.1, 00:03:08, Serial2/0
14.0.0.0/24 is subnetted, 1 subnets
C 14.1.1.0 is directly connected, Serial2/0
标签:允许 ima 自动 deny 3.3 路由 back mit 分发
原文地址:http://blog.51cto.com/13856092/2138502