< Home

Configure BGP4+ to Advertise Local Routes

When the local routes need to be advertised to the peer, you can implement this configuration to add the specified network segment to the BGP4+ routing table. This configuration is available only when the routes are in the local routing table.

Context

The local routes to be advertised should be in the local IPv6 routing table. You can use routing policies to control the routes to be advertised more flexibly.

Procedure

  1. Access the system view.

    system-view

  2. Access the BGP view.

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

  3. Access the BGP IPv6 unicast address family view.

    ipv6-family [ unicast ]

  4. Configure BGP4+ to advertise the local routers.

    network ipv6-address prefix-length [ route-policy route-policy-name ]

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