< Home

Configuring AGG as the RR

Context

On an inter-AS seamless MPLS network, configuring an AGG as a reflector and specifying a CSG and an AGG ASBR as the AGG's clients enable the AGG to transmit loopback routes from the CSG to the AGG ASBR. The AGG then transmits the routes to the core layer through an EBGP peer. The loopback routes can be used to set up an MP-EBGP peer relationship between the CSG and MASG.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run bgp { as-number-plain | as-number-dot }

    The BGP view is displayed.

  3. Run ipv4-family unicast

    The IPv4 unicast address family view is displayed.

  4. Run peer { ipv4-address | group-name } reflect-client

    An RR is configured, and the CSG and core ASBR are specified as clients.

    By default, no RR or specified client is configured for BGP.

  5. Run peer { ipv4-address | group-name } next-hop-local

    The device is configured to use its own IP address as the next-hop address of routes when advertising these routes.

    By default, when BGP advertises routes to an EBGP peer, it uses its own IP address as the next hops. When BGP advertises routes to an IBGP peer, it does not change the next hop attribute.

    To enable the AGG to advertise routes with the next hop address set to a local address, run the peer next-hop-local command on the AGG.

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