IP Networking Configuration
Configuration Guide 62 Document #: LTRT-31657
11.3 Border Gateway Protocol (BGP)
BGP is a standardized exterior gateway protocol (EGP) for exchanging routing and
reachability information between routers on different Autonomous Systems (AS’s) in large
scale, internet provider and public internet networks.
It does not use the metrics used by IGP protocols (such as RIP, OSPF, EIGRP, ISIS),
however, makes its routing decisions based on paths, network policies and custom rules
configured by network administrators.
BGP is more stable and much less “chatty” protocols than the common IGP protocols, and
does not form adjacencies unless specifically configured. The formed adjacencies are
connection oriented and based on TCP connections.
BGP is the main routing protocol of internet service providers and the Internet.
11.3.1 Configuring BGP
The following describes the commands for configuring BGP.
11.3.1.1 Address-Family Level Configuration (configuration can also be set
without entering the AF mode)
Command Description
Enters the data configuration menu.
(config-data)# router bgp
as-
number
Enters the BGP configuration mode and the
number of the local autonomous system.
(conf-router)# address-family ipv4
[
Enters the address-family configuration mode.
(conf-router-af)# aggregate-
address prefix/[length][as-set]
Configures BGP aggregate entries.
(conf-router-af)# bgp dampening
[
Configures route-flap dampening.
(conf-router-af)# neighbor
activate
Enables the address family for the specified
neighbor.
(conf-router-af)# neighbor
Accepts as-path with local AS present in it.
(conf-router-af)# neighbor
address
attribute-unchanged [as-
path/med/next-hop
Configures unchanged propagation of the
specified attribute to the neighbor.
(conf-router-af)# neighbor
address
capability orf prefix-list
Advertises ORF capability to the specified
neighbor.
(conf-router-af)# neighbor
address
default-originate [route-map]
Advertises default route to the specified
neighbor.
(conf-router-af)# neighbor
Configures BGP AS-Path filter list.
(conf-router-af)# neighbor
address
maximum-prefix num [threshold]
Configures a maximum number of prefixes that
can be learned from the specified neighbor.
(conf-router-af)# neighbor
address
Configures advertisement of self as next-hop for