User's Manual

Table Of Contents
454
Users Manual of CS-6306R
45.4.2 BGP Configuration Task
45.4.2.1 Configuring Basic BGP Characteristic
BGP configuration tasks can be classified into two groups: basic tasks and advanced tasks. The first two
items of basic tasks are mandatory for BGP configuration. Other items in basic tasks and advanced tasks are
optional.
45.4.2.1.1 Activating BGP Routing Choice
Run the following commands in global configuration mode to activate BGP route selecting:
Command Purpose
router bgp autonomous-system
Activates the BGP routing process in
router configuration mode.
networknetwork-number/masklen
[route-map route-map-name]
Marks the network as the local
autonomous system and adds it to the
BGP table.
(1) For EGP, when you use the router configuration command network to
configure an IP network, you can control which network can get notification. It
is contrary for IGP. For example, The RIP protocol uses the network
command to decide where the update is sent.
(2) You can use the network command to add the IGP route to the BGP routing
table. The router resources, such as the configured RAM, decide the upper
limit of the available network
command. As an additional choice, you also can
run the redistribute command.
45.4.2.1.2 Configuring BGP Neighbor
To exchange routing information with the outside, the BGP neighbor must be configured.
BGP supports two neighbors: IBGP and EBGP. The interior neighbors are in the same AS. The exterior
neighbors are in a different AS. In general, exterior neighbors are closely adjacent and share a subnet; interior
neighbors are in anyplace of the same AS.
Run the router configuration command to configure the BGP neighbors:
Command Purpose
neighbor {ip-address }
remote-asnumber
Designates a BGP neighbor.
For details, refer to the section “BGP Neighbor Configuration Example”.