3Com Switch 7750 Configuration Guide
Basic BGP Configuration 355
Basic BGP
Configuration
Configuration
Prerequisites
Before performing basic BGP configuration, you need to ensure:
■ Network layer connectivity between adjacent nodes.
Before performing basic BGP configuration, make sure the following are available.
■ Local AS number and router ID
■ IPv4 address and AS number of the peers
■ Source interface of update packets.
Configuring BGP
Multicast Address Family
n
Commands are configured in a similar way in multicast address family view and in
BGP view. Unless otherwise specified, follow the configuration in BGP view. For
details, see the corresponding command manual. All the following uses the
configuration in BGP view for example.
Configuring Basic BGP
Functions
Table 289 Configure BGP multicast address family
Operation Command Description
Enter system view system-view -
Start BGP and enter BGP view bgp as-number Required
By default, the system does
not run BGP.
Enter multicast address family
view
ipv4-family multicast Required
Table 290 Configure basic BGP functions
Operation Command Description
Enter system view system-view -
Specify the router ID router id ip-address Optional
Enable BGP and enter BGP
view
bgp as-number Required
By default, BGP is disabled.
Create a peer group group group-name
[ internal | external ]
Required
Add a peer to the peer group peer peer-address group
group-name [ as-number
as-number ]
Required
If it is an IBGP peer, you need
not specify an AS number.
Set an AS number for the peer
group
peer group-name
as-number as-number
Required
By default, a peer group has
no AS number.
Assign a description string for
a BGP peer/a BGP peer group
peer { group-name |
ip-address } description
description-text
Optional
By default, a peer/a peer group
is not assigned a description
string.
Activate a specified BGP peer peer { group-name |
ip-address } enable
Required