display bgp routing-table relay-nexthop interface

Function

The display bgp routing-table relay-nexthop interface command displays information about the recursion of routes to a specified IP address.

Format

display bgp routing-table ipv4-address [ mask-length | mask-ipv4 ] relay-nexthop interface

display bgp labeled routing-table ipv4-address [ mask-length | mask-ipv4 ] relay-nexthop interface

Parameters

Parameter Description Value
ipv4-address

Specifies an IPv4 address.

It is in dotted decimal notation.

mask-length

Specifies the mask of an IPv4 address.

The value is an integer ranging from 0 to 32.

mask-ipv4

Specifies the mask of an IPv4 address.

The value is in dotted decimal notation.

labeled

Indicates the routing-table is in the BGP labeled address family.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
bgp read

Usage Guidelines

Usage Scenario

Supernet routes are not delivered to the RM module. As a result, information about recursion of supernet routes is not displayed in the IP routing table. To check information about the recursion of supernet routes, run the display bgp routing-table relay-nexthop interface command. If the supernet routes recurse to IP routes and tunnels, information about both the IP routes and tunnels is displayed.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display information about the recursion of routes to 6.6.6.6.
<HUAWEI> display bgp routing-table 10.6.6.6 relay-nexthop interface

 BGP routing table entry information of 10.6.6.6/32:
 From: 10.10.1.2 (10.5.1.2)
 Relay Type: Route Relay
 Relay Nexthop: 10.10.3.2
 Original nexthop: 10.6.6.6
 Relay Out Interface: Eth-trunk1.66

 From: 10.10.1.2 (10.5.1.2)
 Relay Type: Route Relay
 Relay Nexthop: 10.10.2.2
 Original nexthop: 10.6.6.6
 Relay Out Interface: Eth-trunk1.65
Table 1 Description of the display bgp routing-table relay-nexthop interface command output
Item Description
Relay Type

Recursion type.

Relay Nexthop

IP address of the next hop to which a route is recursed.

Relay Out Interface

Outbound interface through which the next hop is reachable.

Original nexthop

Original next hop of the recursion.

From

IP address of the source peer.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >