在R2上配置,将来自R3的环回地址33.1.1.1 阻止,配置如下: R2(config)#access-list 10 deny 33.1.1.1 0.0.0.0 R2(config)#access-list 10 permit any R2(config)#router rip R2(config-router)#distribute-list 10 in s1/0 注:由于RIP路由表更新缓慢,需要手动配置清除路由表命令 R2(config)#do clear ip ro...
distribute-list in 命令用于控制传入的路由更新中处理的路由。有关此命令的示例,请参阅使用 distribute-list in 部分。 distribute-list out 命令用于控制传出的路由更新中包括的路由。有关示例,请参阅使用 distribute-list out 部分。 使用distribute-list in distribute-list in 命令的语法是: distribute-listaccess...
1.使用distribute-list不让R3学习到4.4.4.4/32这条路由 ①R1配置出方向的distribute-list access-list 10 deny 4.4.4.4 access-list 10 permit any router rip distribute-list 10 out fastEthernet 1/0 ②或者R3配置入方向的distribute-list access-list 10 deny 4.4.4.4 access-list 10 p...
這通常在路由器OSPF下使用distribute-list命令完成。 一種解決方案是使用不同的過程並在重分發路由器上過濾所需的路由;但是,這實際上將區域分為兩個域。更好的設計是將區域分為不同的區域並使用Cisco IOS type 3過濾功能,這將在後面介紹。 區域間路由 在OSPF中,一個區域內的所有路由器都有完全相同的拓撲。一個...
show run | se distribute-list
路由过滤之 Route-map & Distribute-list 路由过滤常用的方法如下,作用效果一致,可任选: 一、基于路由进程的过滤 1、Route-map router ospf 10 Redistribute eigrp 10 subnets route-map Jackson ip prefix-list ONLY-168 permit 168.1.1.1/8 route-map Jackson...
This is done on gns3 dynamips. [[R1]] --(e1/0)--- (L2 Switch1)---(e1/0)-- [[R6]] What I'm trying to do is to tag on the R6 generated routes on the way to R1. Between the two routers, EIGRP is running. So I thought I could use distribute-list
Thefollowing write-upfocuses on"distribute-list out" commandand related conceptswithoutaddressingthe"distribute-list in" command.A future version of this document will incorporatethe "distribute-list in"commandand expand the discussion of route redistribution and route advertisement.But this is what I ...
(3)全局配置iplocalpolicyroute-mapsee可将策略路由应用于 Router本身収送的Packets。 StandardACL interfaceSerial0 ipaddress ippolicyroute-mapsee access-list1permit access-list2permit route-mapseepermit10 matchipaddress1 setipnext-hop route-mapseepermit20 matchipaddress2 setipnext-hop ExtendedACL ...