bgp 4200001005
bgp update-delay on-startup 120
default-route update-first
router-id 10.33.240.5
bestroute compare-med
peer 10.33.129.9 route-update-interval 0
peer 10.33.129.9 timer keepalive 1 hold 3
peer 10.33.129.9 route-policy Policy-ASW-EBGP-Egress export
peer 10.33.128.157 advertise-community
peer 10.33.128.157 advertise-ext-community
route-policy Policy-ASW-EBGP-Egress permit node 10
if-match tag 3000
#
route-policy Policy-ASW-EBGP-Egress permit node 20
if-match ip address prefix-list Prefix-Loopback0
#
route-policy Policy-ASW-EBGP-Egress deny node 100
#
route-policy Policy-Import-Route-StaticToBGP permit node 10
if-match tag 3000
#
ip prefix-list Prefix-Loopback0 index 10 permit 10.33.240.5 32
ip prefix-list Prefix-Loopback0 index 20 permit 10.33.240.6 32
#
ip community-list basic Community-HOST permit 10:10
ip community-list basic Community-HOST permit 10:20
ip route-static 10.32.2.0 23 NULL0 tag 3000 description RSW-Connect-Subnet
ip route-static 10.64.1.0 24 NULL0 tag 3000 description OPS-Subnet
ip route-static 10.65.1.0 24 NULL0 tag 3000 description BigData-Subnet
ip route-static 10.66.1.0 24 NULL0 tag 3000 description DB-Subnet
ip route-static 10.69.1.0 24 NULL0 tag 3000 description Test-Subnet
ip route-static 10.70.1.0 24 NULL0 tag 3000 description Pre-Subnet
ip route-static vpn-instance Management 0.0.0.0 0 M-GigabitEthernet0/0/0 10.16.0.129
(0)
最佳答案
您好,请知:
bgp 4200001005 //BGP进程号
bgp update-delay on-startup 120
default-route update-first
router-id 10.33.240.5 //指定router-id
bestroute compare-med
peer 10.33.129.9 route-update-interval 0
peer 10.33.129.9 timer keepalive 1 hold 3 //配置邻居的生存周期
peer 10.33.129.9 route-policy Policy-ASW-EBGP-Egress export //调用路由策略
peer 10.33.128.157 advertise-community //指向团体属性
peer 10.33.128.157 advertise-ext-community
route-policy Policy-ASW-EBGP-Egress permit node 10 //配置路由策略,节点10
if-match tag 3000 //匹配跳数
#
route-policy Policy-ASW-EBGP-Egress permit node 20
if-match ip address prefix-list Prefix-Loopback0
#
route-policy Policy-ASW-EBGP-Egress deny node 100
#
route-policy Policy-Import-Route-StaticToBGP permit node 10
if-match tag 3000
#
ip prefix-list Prefix-Loopback0 index 10 permit 10.33.240.5 32 //配置IP地址前缀列表
ip prefix-list Prefix-Loopback0 index 20 permit 10.33.240.6 32
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论