beautypg.com

Configuring a large scale bgp network, Configuration prerequisites, Configuring bgp peer groups – H3C Technologies H3C S7500E Series Switches User Manual

Page 242: Configure an ibgp peer group, Forbiding session establishment with a peer or, Peer group, Configuring a large scale, Bgp network

background image

6-39

Forbiding Session Establishment with a Peer or Peer Group

Follow these steps to forbid session establishment with a peer or peer group:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter BGP view

bgp as-number

Forbid session establishment with a

peer or peer group

peer { group-name | ip-address }

ignore

Optional

Not forbidden by default

Configuring a Large Scale BGP Network

In a large-scale BGP network, configuration and maintenance become difficult due to large numbers of

BGP peers. To facilitate configuration in this case, you can configure peer group, community, route

reflector or confederation as needed.

Configuration Prerequisites

Peering nodes are accessible to each other at the network layer.

Configuring BGP Peer Groups

A peer group is a group of peers with the same route selection policy.

In a large scale network, many peers may use the same route selection policy. You can configure a

peer group and add these peers into this group. In this way, peers can share the same policy as the

peer group. When the policy of the group is modified, the modification also applies to peers in it, thus

simplifying configuration.

A peer group is an iBGP peer group if peers in it belong to the same AS, and is an eBGP peer group if

peers in it belong to different ASs.

Note that:

If a peer group has peers added, you cannot remove its AS number using the undo form of the

command or change its AS number.

Configure an iBGP peer group

After you create an iBGP peer group and then add a peer into it, the system creates the peer in BGP

view and specifies the local AS number for the peer.

Follow these steps to configure an iBGP peer group:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter BGP view

bgp as-number

Create an iBGP peer group

group group-name [ internal ]

Required