1.EBGP配置
土默特右旗网站建设公司创新互联,土默特右旗网站设计制作,有大型网站制作公司丰富经验。已为土默特右旗上1000+提供企业网站建设服务。企业网站搭建\外贸网站制作要多少钱,请找那个售后服务好的土默特右旗做网站的公司定做!
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