Glossary

Table Of Contents
Example-Configuring BGP peer groups
The following example configurations show how to enable BGP and set up some peer groups. These examples are not
comprehensive directions. They are intended to give you some guidance with typical configurations.
To support your own IP addresses, interfaces, names, and so on, you can copy and paste from these examples to your CLI. Be
sure that you make the necessary changes.
The following illustration shows the configurations described on the following examples. These configurations show how to
create BGP areas using physical and virtual links. They include setting up the interfaces and peers groups with each other.
Figure 24. BGP peer group example configurations
Example of Enabling BGP (Router 1)
R1# conf
R1(conf)#int loop 0
R1(conf-if-lo-0)#ip address 192.168.128.1/32
R1(conf-if-lo-0)#no shutdown
R1(conf-if-lo-0)#show config
!
interface Loopback 0
ip address 192.168.128.1/24
no shutdown
R1(conf-if-lo-0)#int gi 1/21
R1(conf-if-gi-1/21)#ip address 10.0.1.21/24
R1(conf-if-gi-1/21)#no shutdown
R1(conf-if-gi-1/21)#show config
!
interface GigabitEthernet 1/21
ip address 10.0.1.21/24
no shutdown
R1(conf-if-gi-1/21)#int gi 1/31
R1(conf-if-gi-1/31)#ip address 10.0.3.31/24
R1(conf-if-gi-1/31)#no shutdown
190
Border Gateway Protocol (BGP)