Configuring BGP

Configuring BGP
Table 6-1 lists the basic BGP configuration commands and their functions.
Table 6-1 Basic BGP Confiuration Commands
Command Description
router bgp AS-number Starts the BGP routing process on the
router.
neighbor ip-address Sets up peering between BGP routers.
remote-as AS-number
neighbor peer-group-name Creates a peer group to which you can
peer-group then assign neighbors.
neighbor ip-address Assigns a neighbor to a peer group.
peer-group peer-group-name
neighbor ip-address Configures a router to advertise its
next-hop-self connected interface as the next hop for all
routes to this neighbor.
neighbor ip-address Configures a router to use the IP address
update-source interface-type of a specific interface as the source for
number its advertisements to this neighbor.
no synchronization Turns off BGP synchronization.
network prefix Initiates the advertisement of a
[mask subnet mask] network in BGP.