Users Guide
BGP 1363
BGP Configuration Examples
This section includes the following configuration examples:
• Enabling BGP
• BGP Example
• Network Example
• BGP Redistribution of OSPF Example
• Configuring the Multi-Exit Discriminator in BGP Advertised Routes
• Configuring Communities in BGP
•
Configuring a Route Reflector
• Campus Network MP-BGP and OSPF Configuration
•
Configuring MP-eBGP and Extended Communities
Enabling BGP
The following are rules to remember when enabling BGP:
• IP routing must be enabled in order to enable BGP:
console(config)#router bgp 4545
IP routing is not enabled. Enable IP routing or IPv6 routing
before configuring BGP.
console(config)#ip routing
console(config)#router bgp 4545
• The AS number is required when configuring BGP and will place the user
into configuration mode for that BGP ASN. The router-id is required as
the IPv4 address for BGP to use. The router-id may be the same as a
loopback address.
console(config-router)#bgp router-id 1.1.1.1
• BGP ASN is enabled by default when both the AS number and router-id
are configured
• The BGP configuration mode no enable command is not shown in the
running config unless both the AS number and router-id are configured.
BGP is now enabled in this example.