您的位置:首页 > 其它

juniper bgp 配置

2017-06-14 15:04 204 查看
1.EBGP配置

set protocols bgp group ebgptest type external
set protocols bgp group ebgptest local-address x.x.x.x

set protocols bgp group ebgptest neighbor x.x.x.x multihop ttl 2
set protocols bgp group ebgptest neighbor x.x.x.x peer-as 64430

set routing-options autonomous-system 65530
set routing-options router-id x.x.x.x

2.IBGP配置
set protocols bgp group ibgptest type internal
set protocols bgp group ibgptest local-address x.x.x.x
set protocols bgp group ibgptest neighbor x.x.x.x

set routing-options autonomous-system 65530
set routing-options router-id x.x.x.x

如下命令把静态路由或动态路由导入到BGP路由中
set protocols bgp group ibgptest export static-to-bgp
set policy-options policy-statement static-to-bgp term 1 from protocol static
set policy-options policy-statement static-to-bgp term 1 from protocol ospf
set policy-options policy-statement static-to-bgp term 1 then accept
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  配置 juniper bgp