The display mbgp routing-table command displays Multicast BGP (MBGP) routes.
The display ip routing-table ip-prefix command displays information about routes with a specified IP prefix list.
Parameter | Description | Value |
---|---|---|
vpn-instance vpn-instance-name |
Displays information about the routing table of an IPv4 address family-enabled 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. |
ip-prefix ip-prefix-name |
Displays information about routes with a specified IP prefix list. |
The name is a string of 1 to 169 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
verbose |
Displays detailed information about active and inactive routes. If the parameter verbose is not specified, brief information about active routes is displayed. |
- |
mbgp |
Indicates a multicast BGP routing table. (When topology topology-name is specified, the MBGP routing table cannot be displayed.). |
- |
ipv4-address |
Specifies the destination IP address in dotted decimal notation. |
The value is in dotted decimal notation. |
mask |
Specifies mask in dotted decimal notation. |
The value is in dotted decimal notation. |
mask-length |
Specifies mask-length. |
The value is an integer that ranges from 0 to 32. |
longer-match |
Displays only the routes that match the specified network or prefix. |
- |
Usage Scenario
When the verbose parameter is not specified, information about only one route is displayed in each line. The contents include the destination address, mask length, protocol, priority, route cost, route flag, next hop, and outbound interface. This command displays only the preferred routes.
Precautions
After learning the ARP entry of a peer end, VLANIF interfaces, QinQ interfaces and Dot1q VLAN Tag Termination Sub-Interfaces generate a 32-bit ARP Vlink direct route, and the route is displayed in the command output. Regular physical interfaces do not generate a 32-bit ARP Vlink direct route in this case.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display mbgp routing-table Route Flags: R - relay, D - download to fib, T - to vpn-instance, B - black hole route ------------------------------------------------------------------------------ Routing Table: MBGP Destinations : 1 Routes : 1 Destination/Mask Proto Pre Cost Flags NextHop Interface 5.5.5.1/32 MBGP 255 0 R 1.1.1.1 GigabitEthernet0/1/0
<HUAWEI> display mbgp routing-table 5.5.5.1 verbose Routing Table : MBGP Summary Count : 1 Destination: 5.5.5.1/32 Protocol: MBGP Process ID: 0 Preference: 255 Cost: 0 NextHop: 1.1.1.1 Neighbour: 0.0.0.0 State: Active Adv GotQ Age: 00h43m25s Tag: 0 Priority: 0 Label: NULL QoSInfo: 0x0 RelayNextHop: 0.0.0.0 Interface: GigabitEthernet0/1/8 TunnelID: 0x0 Flags: R RouteColor: 0
<HUAWEI> display ip routing-table ip-prefix aa
Route Flags: R - relay, D - download to fib, T - to vpn-instance, B - black hole route
------------------------------------------------------------------------------
Routes Matched by Prefix-list aa:
Destinations : 1 Routes : 1
Destination/Mask Proto Pre Cost Flags NextHop Interface
1.1.1.0/24 Static 22 0 D 0.0.0.0 NULL0
Item | Description |
---|---|
Route Flags | Indicates the route flag:
|
Routing Table: MBGP | Indicates an MBGP routing table. |
Routing Table | Routing Table. |
Destinations | Indicates the total number of destination networks or hosts. |
Routes | Indicates the total number of routes. |
Destination/Mask | Indicates the address and mask length of the destination network or host. |
Proto | Indicates the protocol through which routes are learned. |
Pre | Indicates the preference. |
Cost | Indicates the route cost. |
Flags | Indicates the route flag, that is, Route Flags in the header of the routing table. |
NextHop | Indicates the next hop. |
Interface | Indicates the outbound interface through which the next hop is reachable. |
Protocol | Indicates the routing protocol. |
Preference | Indicates the preference of the route. |
Summary Count | Number of summary routes. |
Process ID | Indicates the process ID of the routing protocol. |
Destination | Indicates the address and mask length of the destination network or host. |
Neighbour | Indicates the neighbor. |
State | Indicates the status of routes:
|
Age | Indicates the lifetime of the route. |
Tag | Indicates the administrative tag for routes. |
Priority | Indicates the priority. |
Label | Indicates the allocated MPLS label. |
QoSInfo | Indicates QoS information. |
RelayNextHop | Indicates the relay next hop. |
TunnelID | Tunnel ID. The value 0x0 indicates that no tunnel is used or no tunnel has been set up. |
RouteColor | Route color value. |