<HUAWEI>
display bgp routing-table peer 10.1.1.2 accepted-routes
BGP Local router ID is 10.1.1.1
Status codes: * - valid, > - best, d - damped,
h - history, i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
Total Number of Routes: 3
Network NextHop MED LocPrf PrefVal Path/Ogn
*> 1.1.1.1/32 10.1.1.2 100 0 200?
*> 2.2.2.2/32 10.1.1.2 100 0 200?
*> 3.3.3.3/32 10.1.1.2 100 0 200?
8.7 Configuring a Device to Advertise BGP Supernet
Unicast Routes to BGP Peers
This section describes how to configure a Border Gateway Protocol (BGP) device to advertise
BGP supernet unicast routes to BGP peers.
Applicable Environment
A BGP supernet route has the same destination address and next hop address or has a more
detailed destination address than the next hop address. Any route that meets one of the following
conditions is a BGP supernet route.
l
If you perform bitwise AND operations on the destination address mask with the destination
address and next hop address, respectively, the calculated network addresses are the same,
and the destination address mask is greater than or equal to the next hop address mask.
l
If you perform bitwise AND operations on the destination address mask with the destination
address and next hop address, respectively, the calculated network addresses are different.
However, if you perform bitwise AND operations on the next hop address mask with the
destination address and next hop address, respectively, the calculated network addresses
are the same.
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.
Pre-configuration Tasks
Before you configure a BGP device to send BGP supernet unicast routes to BGP peers,
.
Procedure
Step 1
Run:
system-view
The system view is displayed.
HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
8 BGP Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
804