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.
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
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. |
- |
The actual command output varies according to the device. The command output here is only an example.
<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
<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
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. |