< Home

Configuring a BGP4+ Confederation

On a large-scale BGP4+ network, configuring a BGP4+ confederation can simplify the management of routing policies and improve the efficiency of route advertisement.

Procedure

  • Configure a BGP confederation.
    1. Access the system view.

      system-view

    2. Access the BGP view.

      bgp { as-number-plain | as-number-dot }

    3. Set a confederation ID.

      confederation id { as-number-plain | as-number-dot }

    4. Set the number of the sub-AS where other EBGP peers connected to the local AS resides.

      confederation peer-as { as-number-plain | as-number-dot } &<1-32>

      A confederation includes up to 32 sub-ASs. The parameter as-number used is valid for the confederation to which it belongs.

      You must run the confederation id and confederation peer-as commands for all the EBGP peers in a confederation, and specify the same confederation ID for them.

      An old speaker that has a 2-byte AS number cannot be in the same confederation with a new speaker that has a 4-byte AS number. Otherwise, a routing loop may occur. This is because the AS4_Path attribute does not support confederations.

  • Configure the compatibility of the confederation.
    1. Access the system view.

      system-view

    2. Access the BGP view.

      bgp { as-number-plain | as-number-dot }

    3. Configure the routers to be compatible with the nonstandard AS confederation.

      confederation nonstandard

      By default, the configured confederation accords with RFC 3065.

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