This section describes how to configure a Border Gateway Protocol (BGP) device to advertise BGP supernet unicast routes to BGP peers.
For example, the route with the destination address being 6.6.6.6 in the following command output is a BGP supernet route.
<HUAWEI> display bgp routing-table
BGP Local router ID is 1.1.1.2
Status codes: * - valid, > - best, d - damped, x - best external, a - add path,
h - history, i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V - valid, I - invalid, N - not-found
Total Number of Routes: 1
Network NextHop MED LocPrf PrefVal Path/Ogn
*>i 6.6.6.6/32 6.6.6.6 0 100 0 i
By default, when a BGP device receives a BGP supernet unicast route, the BGP device sets the route invalid and does not advertise it to other BGP peers. If a Huawei device is connected to a non-Huawei device and you want the Huawei device to advertise BGP supernet unicast routes that it receives from the non-Huawei device to other BGP peers, configure the Huawei device to advertise BGP supernet unicast routes to BGP peers.
Before you configure a BGP device to send BGP supernet unicast routes to BGP peers, configure basic BGP functions.
The system view is displayed.
The BGP view is displayed.
The BGP-IPv4 unicast address family view is displayed.
The BGP device is enabled to advertise BGP supernet unicast routes to BGP peers.
The configuration is committed.
Run the display bgp routing-table command to check BGP supernet unicast routes.
Run the display bgp routing-table network command to check information about a specified BGP supernet unicast route advertised to BGP peers.