display bgp routing-table prefix-sid srgb

Function

The display bgp routing-table prefix-sid srgb command displays SRGB information of BGP routes with a specified destination address.

The display bgp labeled routing-table prefix-sid srgb command displays SRGB information of labeled BGP routes with a specified destination address.

Format

display bgp routing-table ipv4-address [ mask-length | mask-ipv4 ] prefix-sid srgb

display bgp labeled routing-table ipv4-address [ mask-length | mask-ipv4 ] prefix-sid srgb

display bgp routing-table peer remoteIpv4Addr advertised-routes ipv4-address [ mask-length | mask-ipv4 ] prefix-sid srgb

display bgp labeled routing-table peer remoteIpv4Addr advertised-routes ipv4-address [ mask-length | mask-ipv4 ] prefix-sid srgb

Parameters

Parameter Description Value
ipv4-address

Specifies the IPv4 address of destination.

The value is in dotted decimal notation.

mask-length

Specifies the mask length of an IP address. If no mask length is specified, the IP address is considered as a classful address.

The value is an integer ranging from 0 to 32.

mask-ipv4

Specifies an IP address mask. If no mask is specified, the IP address is considered as a classful address.

The value is in dotted decimal notation.

advertised-routes

Displays routes sent to the peer.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
bgp read

Usage Guidelines

Usage Scenario

To view the SRGB information about BGP routes with specified destinations, run the display bgp routing-table command.

Example

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

# Display SRGB information about specified routes in the BGP labeled address family.
<HUAWEI> display bgp labeled routing-table peer 10.1.1.2 advertised-routes 172.16.0.1 prefix-sid srgb

 BGP local router ID : 10.1.1.1
 Local AS number : 100
 BGP routing table entry information of 172.16.0.1/32:
 From: 10.1.1.3 (10.1.1.3)  
 start: 524288
 number: 19
 label-index:11
# Display the routing SRGB information with specified destination in BGP public network.
<HUAWEI> display bgp routing-table 172.16.0.1 prefix-sid srgb
 
 BGP routing table entry information of 172.16.0.1/32:
 Imported route.
 From: 0.0.0.0
 
 BGP routing table entry information of 172.16.0.1/32:
 From: 10.1.1.2 (10.1.1.2)  
 start: 524288
 number: 19
 label-index:11
Table 1 Description of the display bgp routing-table prefix-sid srgb command output
Item Description
BGP local router ID

ID of the local BGP device. The ID is in the same format as an IPv4 address.

BGP routing table entry information of

Routing entry information.

Local AS number

Local AS number.

number

Number of BGP SRGBs.

From

IP address of an advertising device.

start

BGP SRGB start value range.

label-index

Label index of BGP SRGB.

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