在S6805上启用ip as-path list未生效,
dis ip as-path POP_to_Branch_deny_as
As-path-name: POP_to_Branch_deny_as
Permitted 226
Denied 995
Mode: Permit Regular experssion:^124_
Mode: Permit Regular experssion:^151_
Mode: Permit Regular experssion:^120_
Mode: Permit Regular experssion:^149_
Mode: Permit Regular experssion:^150_
Mode: Permit Regular experssion:^123_
Mode: Permit Regular experssion:^140_
Mode: Permit Regular experssion:^132_
Mode: Permit Regular experssion:^135_
Mode: Permit Regular experssion:^122_
Mode: Permit Regular experssion:^112_
Mode: Permit Regular experssion:^143_
Mode: Permit Regular experssion:^136_
Mode: Permit Regular experssion:^107_
Mode: Permit Regular experssion:^110_
Mode: Permit Regular experssion:^142_
Mode: Permit Regular experssion:^130_
Mode: Permit Regular experssion:^102_
Mode: Permit Regular experssion:^101_
Mode: Permit Regular experssion:^114_
Mode: Permit Regular experssion:^141_
Mode: Permit Regular experssion:^65240_
Mode: Permit Regular experssion:_9929_
Mode: Permit Regular experssion:^65241_
Mode: Permit Regular experssion:^65244_
dis current-configuration configuration bgp
#
bgp 65511
graceful-restart
non-stop-routing
router-id 172.22.13.41
compare-different-as-med
group 9850_PEER external
peer 9850_PEER as-number 65533
peer 9850_PEER route-update-interval 0
peer 9850_PEER password cipher $c$3$0AIkD1VnJxFFi/QTmkBj7ZTRdQ3p6oaldhk=
peer 172.18.4.65 as-number 65241
peer 172.18.4.65 connect-interface LoopBack20
peer 172.18.4.65 ebgp-max-hop 4
peer 172.18.4.65 route-update-interval 0
peer 172.18.4.65 password cipher $c$3$IvvrX1QTp+PeyXgSO00LHzn4DaQyd6GcKwg=
peer 172.18.5.65 as-number 65244
peer 172.18.5.65 connect-interface LoopBack20
peer 172.18.5.65 ebgp-max-hop 4
peer 172.18.5.65 route-update-interval 0
peer 172.18.5.65 password cipher $c$3$FgCDvq/X6Uz+/+1kxmRaXas1rHJ+VN1DcZI=
peer 172.20.6.9 group 9850_PEER
peer 172.20.6.9 connect-interface HundredGigE1/0/25
peer 172.20.6.13 group 9850_PEER
peer 172.20.6.13 connect-interface HundredGigE2/0/25
peer 172.20.11.2 as-number 132
peer 172.20.11.2 connect-interface LoopBack20
peer 172.20.11.2 ebgp-max-hop 4
peer 172.20.11.2 route-update-interval 0
peer 172.20.11.2 password cipher $c$3$dUSvvQ0gcIhQXAYMVe3+Crbxptj0uWciWh0=
peer 172.30.5.60 as-number 107
peer 172.30.5.60 connect-interface LoopBack20
peer 172.30.5.60 ebgp-max-hop 4
peer 172.30.5.60 route-update-interval 0
peer 172.30.5.60 password cipher $c$3$/scmFIDZ+2T+BDc69PKRoSmLueIw86IxtkY=
peer 172.30.5.62 as-number 102
peer 172.30.5.62 connect-interface LoopBack20
peer 172.30.5.62 ebgp-max-hop 4
peer 172.30.5.62 route-update-interval 0
peer 172.30.5.62 password cipher $c$3$Nfln5P+JTvtv0XXQx/+Pl7j8RYIZ+C1EbzE=
#
address-family ipv4 unicast
balance 8
balance as-path-relax
preference 20 200 250
network 172.20.6.8 255.255.255.252
network 172.20.6.12 255.255.255.252
network 172.22.1.41 255.255.255.255
peer 9850_PEER enable
peer 9850_PEER route-policy 9850_to_S2S_IN import
peer 9850_PEER route-policy S2S_to_9850_OUT export
peer 9850_PEER advertise-community
peer 9850_PEER advertise-ext-community
peer 172.18.4.65 enable
peer 172.18.4.65 route-policy GZSH_to_POP_IN import
peer 172.18.4.65 route-policy POP_to_Branch_OUT_New export
peer 172.18.4.65 advertise-community
peer 172.18.4.65 advertise-ext-community
peer 172.18.5.65 enable
peer 172.18.5.65 route-policy Branch_to_POP_IN import
peer 172.18.5.65 route-policy POP_to_Branch_OUT_New export
peer 172.18.5.65 advertise-community
peer 172.18.5.65 advertise-ext-community
peer 172.20.11.2 enable
peer 172.20.11.2 route-policy GZG2_to_POP_IN import
peer 172.20.11.2 route-policy POP_to_Branch_OUT_G2 export
peer 172.20.11.2 advertise-community
peer 172.20.11.2 advertise-ext-community
peer 172.30.5.60 enable
peer 172.30.5.60 route-policy Branch_to_POP_IN import
peer 172.30.5.60 route-policy POP_to_Branch_OUT_New export
peer 172.30.5.60 advertise-community
peer 172.30.5.60 advertise-ext-community
peer 172.30.5.62 enable
peer 172.30.5.62 route-policy GZG1_to_POP_IN import
peer 172.30.5.62 route-policy POP_to_Branch_OUT_New export
peer 172.30.5.62 advertise-community
peer 172.30.5.62 advertise-ext-community
#
return
dis route-policy name POP_to_Branch_OUT_G2
Route-policy: POP_to_Branch_OUT_G2
Deny : 10
if-match as-path POP_to_Branch_deny_as_new
Deny : 15
if-match ip address prefix-list POP_to_Branch_OUT_deny_new
Permit : 20
if-match as-path POP_to_Branch_permit_as
apply as-path 65511 65511 65511 65511 65511 65511 65511 65511
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论