Basic BGP Configuration 355Basic BGPConfigurationConfigurationPrerequisitesBefore 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 BGPMulticast Address Familyn Commands are configured in a similar way in multicast address family view and inBGP view. Unless otherwise specified, follow the configuration in BGP view. Fordetails, see the corresponding command manual. All the following uses theconfiguration in BGP view for example.Configuring Basic BGPFunctionsTable 289 Configure BGP multicast address familyOperation Command DescriptionEnter system view system-view -Start BGP and enter BGP view bgp as-number RequiredBy default, the system doesnot run BGP.Enter multicast address familyviewipv4-family multicast RequiredTable 290 Configure basic BGP functionsOperation Command DescriptionEnter system view system-view -Specify the router ID router id ip-address OptionalEnable BGP and enter BGPviewbgp as-number RequiredBy default, BGP is disabled.Create a peer group group group-name[ internal | external ]RequiredAdd a peer to the peer group peer peer-address groupgroup-name [ as-numberas-number ]RequiredIf it is an IBGP peer, you neednot specify an AS number.Set an AS number for the peergrouppeer group-nameas-number as-numberRequiredBy default, a peer group hasno AS number.Assign a description string fora BGP peer/a BGP peer grouppeer { group-name |ip-address } descriptiondescription-textOptionalBy default, a peer/a peer groupis not assigned a descriptionstring.Activate a specified BGP peer peer { group-name |ip-address } enableRequired