Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Juniper bgp configuration

Shulou Source: shulou.com Published: 2022-06-01 04:03:51 10月06日 Update

1.EBGP configuration

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 configuration

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

The following command imports a static or dynamic route into a BGP route

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

Tags: Routing x.x.x.x configuration dynamic Command static Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology macOS Apple Xiaomi Huawei