The display bgp link-state unicast routing-table segment-list command displays the SID list of the BGP-LS routes with the specified prefix.
Parameter | Description | Value |
---|---|---|
peer ipv4-address |
Specifies the address of the IPv4 peer to be displayed. |
The value is in dotted decimal notation. |
received-routes |
Displays BGP-LS routes received from the specified peer. |
- |
advertised-routes |
Displays BGP-LS routes advertised to the specified peer. |
- |
bgp-ls-prefix |
Specifies a BGP-LS route prefix. |
For details about BGP-LS route prefix formats, see "BGP-LS" in Feature Description - IP Routing - BGP. 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
BGP-LS routes carry topology information and are classified into four types of routes that carry node, link, route prefix, and TE Policy information, respectively. Theses routes collaborate in carrying topology information. For details about BGP-LS route prefix formats, see "BGP-LS" in Feature Description - IP Routing - BGP.
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 [TEPOLICY][SEGMENT-ROUTING][IDENTIFIER0][LOCAL[as100][bgp-ls-identifier10.1.1.1][bgp-router-id10.1.1.2][ipv4-router-id10.1.2.1][ipv6-router-id::]][TE[protocol-origin2][Flag6][endpoint1.1.1.1][color100][originator-as100][originator-addressx.x.x.x][discriminator100]] segment-list Segment List: Flags:0x124 MTID:200 Alg:1 Weight:20 Segment(<Type, Flags, SID, SID Descriptor>): <1, 2, 30001, 1> , <1, 2, 30002, 1> <1, 2, 30003, 1> , <1, 2, 30004, 1> <1, 2, 30005, 1> , ...
Item | Description |
---|---|
Segment List | SID list. |
Segment(<Type, Flags, SID, SID Descriptor>) | Network segment information (in the format of <TLV type, flag bit, SID, SID description >). |
Flags | Flag bit. |
MTID | Multi-topology ID. |
Alg | Algorithm for generating the SID. |
Weight | Weight of a path used in load balancing. |