The display bgp mdt routing-table different-origin-as command displays BGP MDT routes that have the same destination address but different source AS numbers.
The display bgp mdt routing-table cidr command displays classless inter-domain routing (CIDR) information about BGP MDT routes.
Parameter | Description | Value |
---|---|---|
all |
Displays all the BGP routes of MDT. |
- |
vpn-instance vpn-instance-name |
Displays the BGP routing information of the specified VPN instance. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. In addition, the VPN instance name must not be _public_. When double quotation marks are used around the string, spaces are allowed in the string. |
route-distinguisher route-distinguisher |
Displays BGP routing information of the specified Route Distinguisher (RD). |
The RD formats are divided into the following types:
|
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display bgp mdt all routing-table cidr
BGP Local router ID is 10.1.3.2
Status codes: * - valid, > - best, d - damped, h - history,
i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
Total Number of Routes: 2
Network NextHop MED LocPrf PrefVal Path/Ogn
*> 10.1.3.1/32 0.0.0.0 0 0 ?
*> 10.1.3.2/32 0.0.0.0 0 0 ?
<HUAWEI> display bgp mdt all routing-table different-origin-as
BGP Local router ID is 10.1.3.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: 2
Network NextHop MED LocPrf PrefVal Path/Ogn
*> 10.2.1.0/24 0.0.0.0 0 0 i
* 10.17.1.1 1 0 300?
Item | Description |
---|---|
BGP Local router ID is | Router ID of the local BGP device. |
Status codes | The codes of status. |
Origin | Origin attribute of a BGP route:
|
Total Number of Routes | The total number of BGP routes. |
Network | Network address in the BGP routing table. |
NextHop | Next-hop address of the sent packets. |
MED | MED of a route. |
LocPrf | Local preference of a route. |
PrefVal | Preferred value by a protocol. |
Path/Ogn | AS_Path number and Origin attribute. |