Operation Manual – Routing ProtocolH3C S7500 Series Ethernet Switches Chapter 6 BGP Configuration6-20Before configuring a large-scale BGP network, you need to prepare the followingdata:z Peer group type, name, and the peers included.z If you want to use community, the name of the applied routing policy is needed.z If you want to use RR, you need to determine the roles (client, non-client) ofrouters.z If you want to use confederation, you need to determine the confederation ID andthe sub-AS number.6.7.2 Configuring a BGP Peer GroupFollow these steps to configure a BGP peer group:To do... Use thecommand... RemarksEnter system view system-view —Enter BGP view bgp as-number —Create an IBGPpeer groupgroup group-name[ internal ]Createan IBGPpeergroup Add a peer to apeer grouppeer ip-addressgroup group-name[ as-numberas-number ]OptionalIf the command is executedwithout the internal orexternal keyword, an IBGPpeer group will be created.You can add multiple peersto the group, and thesystem will automaticallycreate a peer in BGP view,and configure its ASnumber as the local ASnumber.Create an EBGPpeer groupgroup group-nameexternalConfigure the ASnumber of a peergrouppeer group-nameas-numberas-numberCreateanEBGPpeergroup Add a peer to apeer grouppeer ip-addressgroup group-name[ as-numberas-number ]OptionalYou can add multiple peersto the group. The systemautomatically creates thepeer in BGP view andspecifies its AS number asthe one of the peer group.