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
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-R&S-BGP(2):IBGP的初始配置+宣告BGP路由条目
- 【实验9.11.1】 配置BGP的缺省路由【IEEEnjoy.L.ZH】
- juniper路由器的rip配置示例
- CISCO路由器ISIS和BGP混合组网配置实例
- Juniper ScreenOS 基于Policy的源地址转换(NAT-SRC)配置示例
- Quidway® S6506以太网交换机 BGP配置指导
- 配置BGP
- Juniper的基本配置
- juniper路由器的rip配置示例
- BGP有条件通告的配置和验证 推荐
- BGP本地优先和MED属性配置的一点心得
- BGP路径属性配置-Path Attribute
- BGP基本配置-路由反射器
- 配置基本的边界网关协议(BGP)
- 实验指南:BGP基本配置 推荐
- BGP的介绍及配置