Creating a Pure EBGP Peer Group

If multiple EBGP peers exist in an AS, adding them to an EBGP peer group can simplify the BGP network configuration and management. All the peers in a pure EBGP peer group must have the same AS number.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run bgp as-number

    The BGP view is displayed.

  3. Run group group-name external

    A pure EBGP peer group is created.

  4. Run peer group-name as-number as-number

    An AS number is configured for the peer group.

    If peers already exist in a peer group, the AS number of the peer group cannot be changed.

  5. Run peer ipv4-address group group-name

    A peer is added to the peer group.

    You can repeat step 5 to add multiple peers to the peer group. If the local device has not established a peer relationship with this peer, the device will attempt to establish a peer relationship with this peer, and set the AS number of this peer to the AS number of the peer group.

    After configuring a peer group, you can configure BGP functions for the peer group. By default, all peers in a peer group inherit the entire configuration of the peer group. If you configure a peer in a peer group independently. The configuration of this peer will override the configuration that the peer has inherited from the peer group.

  6. (Optional) Run peer group-name description description-text

    A description is configured for the peer group.

    You can simplify network management by configuring the descriptions of peers.

  7. Run commit

    The configuration is committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >