设为首页收藏本站language 语言切换
查看: 1866|回复: 2
收起左侧

[求助] 路由反射器对学到的路由做策略的问题

[复制链接]
发表于 2021-3-31 12:22:46 | 显示全部楼层 |阅读模式
各位问一下这个实验题,AR2是RR反射器,AR1\AR4是他的客户端,AR6是AR2的EBGP对等体。现在想在AR2上做策略修改发送给IBGP对等体AR4路由的Local_Preference跟Cost属性,为什么从客户端AR1学到的路由(192.168.1.1/32)修改不成功?作为对比的本地引入的路由(172.16.0.1/32)跟Ebgp路由(66.66.66.66/32)却能修改成功?底层IGP都用ospf打通了的

<AR2>dis cu
[V200R003C00]
#
sysname AR2
#
snmp-agent local-engineid 800007DB03000000000000
snmp-agent
#
clock timezone China-Standard-Time minus 08:00:00
#
portal local-server load flash:/portalpage.zip
#
drop illegal-mac alarm
#
wlan ac-global carrier id other ac id 0
#
set cpu-usage threshold 80 restore 75
#
acl number 2000  
rule 5 permit source 192.168.1.1 0
rule 10 permit source 172.16.0.1 0
rule 15 permit source 66.66.66.66 0
rule 1000 deny
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$
local-user admin service-type http
#
firewall zone Local
priority 15
#
interface GigabitEthernet0/0/0
ip address 10.0.12.2 255.255.255.0
#
interface GigabitEthernet0/0/1
ip address 10.0.24.2 255.255.255.0
#
interface GigabitEthernet0/0/2
ip address 10.0.26.2 255.255.255.0
#
interface NULL0
#
interface LoopBack0
ip address 2.2.2.2 255.255.255.255
#
interface LoopBack1
ip address 172.16.0.1 255.255.255.255
#
bgp 1
router-id 2.2.2.2
peer 1.1.1.1 as-number 1
peer 1.1.1.1 connect-interface LoopBack0
peer 4.4.4.4 as-number 1
peer 4.4.4.4 connect-interface LoopBack0
peer 6.6.6.6 as-number 2
peer 6.6.6.6 ebgp-max-hop 2
peer 6.6.6.6 connect-interface LoopBack0
#
ipv4-family unicast
  undo synchronization
  network 172.16.0.1 255.255.255.255
  peer 1.1.1.1 enable
  peer 1.1.1.1 reflect-client
  peer 4.4.4.4 enable
  peer 4.4.4.4 route-policy LocPre export
  peer 4.4.4.4 reflect-client
  peer 4.4.4.4 advertise-community
  peer 4.4.4.4 advertise-ext-community
  peer 6.6.6.6 enable
#
ospf 1 router-id 2.2.2.2
area 0.0.0.0
  network 2.2.2.2 0.0.0.0
  network 10.0.12.2 0.0.0.0
  network 10.0.24.2 0.0.0.0
  network 10.0.26.2 0.0.0.0
#
route-policy LocPre permit node 10
if-match acl 2000
apply local-preference 200
apply cost 1000
#
route-policy LocPre permit node 20
#
user-interface con 0
authentication-mode password
user-interface vty 0 4
user-interface vty 16 20
#
wlan ac
#

网络拓扑

网络拓扑
QQ截图20210331122144.png
发表于 2021-4-23 22:09:09 | 显示全部楼层
感谢分享学习学习
沙发 2021-4-23 22:09:09 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2021-8-23 17:31:46 | 显示全部楼层
        打印 上一主题 下一主题[求助] HCIP WLAN [复制链接]
板凳 2021-8-23 17:31:46 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-4-27 09:59 , Processed in 0.082322 second(s), 26 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表