The display bgp link-state unicast routing-table prefix-sid command displays the Prefix SIDs of BGP-LS IPv4 prefix routes.
The display bgp link-state unicast routing-table flex-algorithm-prefix-metric command displays the Flex Algorithm Prefix Metric attributes of BGP-LS IPv4 prefix routes.
Parameter | Description | Value |
---|---|---|
peerIpv4Addr |
Specifies the address of the IPv4 peer to be displayed. |
The value is in dotted decimal notation. |
peerIpv6Addr |
Specifies the address of the IPv6 peer to be displayed. |
The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
received-routes |
Displays BGP-LS routes received from the specified peer. |
- |
advertised-routes |
Displays BGP-LS routes advertised to the specified peer. |
- |
prefix |
Specifies a BGP-LS route prefix. |
The BGP-LS route prefix format is complex. To facilitate your query, run the display bgp link-state unicast routing-table command to check all BGP-LS routes, and copy the prefix of the route whose information is to be queried when specifying prefix. |
Usage Scenario
To check the Prefix SIDs of BGP-LS IPv4 prefix routes, run the display bgp link-state unicast routing-table prefix-sid command.
To check the Flex Algorithm Prefix Metric attributes of BGP-LS IPv4 prefix routes, run the display bgp link-state unicast routing-table flex-algorithm-prefix-metric command.The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display bgp link-state unicast routing-table [IPV4-PREFIX][ISIS-LEVEL-2][IDENTIFIER0][LOCAL[as100][bgp-ls-identifier11.1.1.1][ospf-area-id0.0.0.0][igp-router-id0000.0000.0002.00]][PREFIX[ospf-route-type0][prefix11.111.111.111/32]][index47] flex-algorithm-prefix-metric Flex-Algorithm Prefix Metric(Flex-Algorithm/Metric): <128/10>, <131/10>, <132/10>, <133/10>, <134/10>, <135/10>, <136/10>, <137/10>, <138/10>, <139/10>, <140/10>, <141/10>, <142/10>, <143/10>, <144/10>, <145/10>
<HUAWEI> display bgp link-state unicast routing-table [IPV4-PREFIX][ISIS-LEVEL-2][IDENTIFIER0][LOCAL[as100][bgp-ls-identifier11.1.1.1][ospf-area-id0.0.0.0][igp-router-id0000.0000.0001.00]][PREFIX[ospf-route-type0][prefix11.111.111.111/32]] prefix-sid Prefix SID(Flags/Algorithm/SID): <0x40/128/1005>, <0x40/129/1033>, <0x40/130/1034>, <0x40/131/1035>, <0x40/132/1006>, <0x40/133/1007>, <0x40/134/1008>, <0x40/135/1009>, <0x40/136/1010>, <0x40/137/1011>, <0x40/138/1012>, <0x40/139/1013>, <0x40/140/1014>, <0x40/141/1015>, <0x40/142/1016>, <0x40/143/1017>, <0x40/144/1018>, <0x40/145/1019>, <0x40/146/1021>, <0x40/147/1022>, <0x40/148/1023>, <0x40/149/1024>, <0x40/150/1025>, <0x40/151/1026>, <0x40/152/1027>, <0x40/153/1028>, <0x40/154/1029>, <0x40/155/1030>, <0x40/156/1031>, <0x40/157/1032>
Item | Description |
---|---|
Flex-Algorithm Prefix Metric(Flex-Algorithm/Metric) | Flexible Algorithm Prefix Metric (Flex-Algorithm/Metric). |
Prefix SID(Flags/Algorithm/SID) | Prefix SID (Flags/Algorithm/SID). |