The supernet unicast advertise enable command configures a BGP device to advertise BGP supernet unicast routes to its peers.
The undo supernet unicast advertise enable or supernet unicast advertise disable command restores the default configuration.
The supernet label-route advertise disable command disables a BGP device from advertising labeled BGP supernet routes.
The undo supernet label-route advertise disable or supernet label-route advertise enable command restores the default configuration.
By default, labeled BGP supernet routes can be preferentially selected and advertised. BGP supernet unicast routes are considered invalid and cannot be advertised to BGP peers or delivered to the IP routing table.
Usage Scenario
A BGP supernet route has the same destination address and next hop address or has a destination address that is more detailed than the next hop address. Any route that meets one of the following conditions is a BGP supernet route:
<HUAWEI> system-view [~HUAWEI] ip vpn-instance vpn1 [*HUAWEI-vpn-instance-vpn1] ipv4-family [*HUAWEI-vpn-instance-vpn1-af-ipv4] route-distinguisher 100:1 [*HUAWEI-vpn-instance-vpn1-af-ipv4] quit [*HUAWEI-vpn-instance-vpn1] quit [*HUAWEI] bgp 100 [*HUAWEI-bgp] ipv4-family vpn-instance vpn1 [*HUAWEI-bgp-vpn1] supernet label-route advertise disable
<HUAWEI> system-view [~HUAWEI] ip vpn-instance vpn1 [*HUAWEI-vpn-instance-vpn1] ipv4-family [*HUAWEI-vpn-instance-vpn1-af-ipv4] route-distinguisher 100:1 [*HUAWEI-vpn-instance-vpn1-af-ipv4] quit [*HUAWEI-vpn-instance-vpn1] quit [*HUAWEI] bgp 100 [*HUAWEI-bgp] ipv4-family vpn-instance vpn1 [*HUAWEI-bgp-vpn1] supernet unicast advertise enable