henda 发表于 2018-7-27 12:22:02

juniper bgp 配置

  1.EBGP配置
  setprotocols bgp group ebgptest type external
  setprotocols bgp group ebgptest local-address x.x.x.x
  setprotocols bgp group ebgptest neighborx.x.x.x multihop ttl 2
  setprotocols bgp group ebgptest neighbor x.x.x.x peer-as 64430
  setrouting-options autonomous-system 65530
  set routing-options router-id x.x.x.x
  2.IBGP配置
  setprotocols bgp group ibgptest type internal
  setprotocols bgp group ibgptest local-address x.x.x.x
  setprotocols bgp group ibgptest neighbor x.x.x.x
  setrouting-options autonomous-system 65530
  set routing-options router-id x.x.x.x
  如下命令把静态路由或动态路由导入到BGP路由中
  setprotocols bgp group ibgptest export static-to-bgp
  setpolicy-options policy-statement static-to-bgp term 1 from protocol static
  setpolicy-options policy-statement static-to-bgp term 1 from protocol ospf
  setpolicy-options policy-statement static-to-bgp term 1 then accept
页: [1]
查看完整版本: juniper bgp 配置