Sample Juniper BGP Configuration by topology

Sample BGP Configuration by Topology

I believe that the below topologies will cover most of the BGP configuration out there. If you need a configuration for more specific topology, please send email me at [email protected].

BGP topology 1

 
    • ISPs : 1
    • WAN links : 1
    • CPE : 1
    • PE : 1

Sample configurations

1-1-1. Juniper Single BGP with default route
1-2-1.
Juniper Single BGP with Local pref
1-3-1.
Juniper Single BGP with AS prepend
1-4-1.
Juniper Single BGP with Community string

BGP topology 2

    • ISPs : 1
    • WAN links : 2
    • CPE : 1
    • PE : 1

Sample configurations

2-1-1. Juniper dual BGP with Multi-hop eBGP
2-1-2. Juniper dual BGP with Local pref (Load-balancing)
2-2-1. Juniper dual BGP with AS prepend (Redundancy)
2-2-2. Juniper dual BGP with AS prepend (Load-balancing)
2-3-1. Juniper dual BGP with Community string(Redundancy)
2-3-1. Juniper dual BGP with Community string(Load-balancing)

BGP topology 3

    • ISPs : 1
    • WAN links : 2
    • CPE : 1
    • PE : 2

Sample configurations

3-1-1. Juniper dual BGP with Local pref (Redundancy)
3-1-2. Juniper dual BGP with Local pref (Load-balancing)
3-2-1. Juniper dual BGP with AS prepend (Redundancy)
3-2-2. Juniper dual BGP with AS prepend (Load-balancing)
3-3-1. Juniper dual BGP with Community string(Redundancy)
3-3-2. Juniper dual BGP with Community string(Load-balancing)

BGP topology 4

    • ISPs : 2
    • WAN links : 2
    • CPE : 1
    • PE : 2

Sample configurations

4-1-1. Juniper dual BGP with Local pref (Redundancy)
4-1-2. Juniper dual BGP with Local pref (Load-balancing)
4-2-1. Juniper dual BGP with AS prepend (Redundancy)
4-2-2. Juniper dual BGP with AS prepend (Load-balancing)
4-3-1. Juniper dual BGP with Community string(Redundancy)
4-3-2. Juniper dual BGP with Community string(Load-balancing)

BGP topology 5

    • ISPs : 1
    • WAN links : 2
    • CPE :2
    • PE : 2

Sample configurations

5-1-1. Juniper dual BGP with Local pref (Redundancy)
5-1-2. Juniper dual BGP with Local pref (Load-balancing)
5-2-1. Juniper dual BGP with AS prepend (Redundancy)
5-2-2. Juniper dual BGP with AS prepend (Load-balancing)
5-3-1. Juniper dual BGP with Community string(Redundancy)
5-3-2. Juniper dual BGP with Community string(Load-balancing)

BGP topology 6

    • ISPs : 2
    • WAN links : 2
    • CPE :2
    • PE : 2

Sample configurations

6-1-1. Juniper dual BGP with Local pref (Redundancy)
6-1-2. Juniper dual BGP with Local pref (Load-balancing)
6-2-1. Juniper dual BGP with AS prepend (Redundancy)
6-2-2. Juniper dual BGP with AS prepend (Load-balancing)
6-3-1. Juniper dual BGP with Community string(Redundancy)
6-3-2. Juniper dual BGP with Community string(Load-balancing)

Author: Chris Yoon

IT professional