Troubleshooting guide
Example Configurations
61200860L1-29.4E Copyright © 2012 ADTRAN, Inc. 35
Example Configurations
The example scenarios contained within this section are designed to enhance understanding of BGP
configurations on AOS products. The examples describe some of the common real-world applications of
BGP. All configurations provided in this section use the command line interface (CLI).
Some commands shown in the example configurations in this guide are already enabled as the default
setting in the unit. These commands will not appear in the output when the show running-config
command is issued. Issue the show run verbose command to see all commands (including those that do
not appear when the show running-config command is issued).
Example 1: MPLS Basic Setup for Private Internet Protocol (PIP)
This example illustrates a typical PIP setup where several remote sites are connected by an MPLS
provider. The local AOS router is acting as the customer edge (CE) router and will form a neighbor
relationship with the provider edge (PE) router to exchange BGP routes over a Point-to-Point Protocol
(PPP) connection. The PE router will learn all of the other remote customer subnets (192.168.2.0 /24 and
192.168.3.0 /24) using BGP and advertise them to the local AOS router. The local AOS router will have a
static default route to a firewall on the local area network (LAN) for Internet access.
Figure 3. Typical PIP Application
The configuration parameters entered in these examples are sample configurations only.
These applications should be configured in a manner consistent with the needs of your
particular network. CLI prompts have been removed from the configuration examples to
provide a method of copying and pasting configurations directly from this configuration
guide into the CLI. These configurations should not be copied without first making the
necessary adjustments to ensure they will function properly in your network.
MPLS
192.168.2.0 /24
192.168.3.0 /24
Remote 1
Remote 2
(LAN)
AS 501
AS 401
AS 201
192.168.1.1 /24
172.16.1.2 /30
172.16.1.1 /30
AS 200
T1
(PPP)
(ETH 0/1)
PE
PE
PE
(LAN)
(LAN)
AOS Device
(CE)
AOS Device
(CE)
AOS Device
(CE)
CE - Customer Edge Router
PE - Provider Edge Router
G2
G3
G4
NetVanta 1234
7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
G1
G2
G3
G4
1
3
5
9
11
13
15
2
4
6
8
10
12
14
16
17
19
21
23
18
20
22
24
STAT
G1
G2
G3
G4
NetVanta 1234
7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
G1
G2
G3
G4
1
3
5
9
11
13
15
2
4
6
8
10
12
14
16
17
19
21
23
18
20
22
24
STAT
G1
G2
G3
G4
NetVanta 1234
7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
G1
G2
G3
G4
1
3
5
9
11
13
15
2
4
6
8
10
12
14
16
17
19
21
23
18
20
22
24
STAT
G1