Summary
[Describe the feature briefly.
Example: "Add support for 802.1q VLAN interfaces."]
add support to display all BGP-LS routes in the link-state RIB. Shows Node, Link, and Prefix NLRI with their associated attributes.
Use case
[Example: "802.1q VLAN interfaces are widely used for traffic separation in switched networks and for "router on a stick" scenarios. Most router vendors support them.]
it's used for support and check link-state prefixes
Additional information
[Add anything you think is important for maintainers to understand your feature idea.]
add the following commands:
show bgp link-state link-state
show bgp link-state link-state NLRI
show bgp link-state link-state[T][L2][I0x0][N[s0005.0005.0005]][P[p5.5.5.5/32]]
BGP routing table entry for [T][L2][I0x0][N[s0005.0005.0005]][P[p5.5.5.5/32]]/256
NLRI Type: Prefix
Protocol: ISIS L2
Identifier: 0x0
Local Node Descriptor:
ISO Node ID: 0005.0005.0005.00
Prefix Descriptor:
Prefix: 5.5.5.5/32
Paths: (1 available, best #1)
Advertised to peers:
192.168.0.1
Local
0.0.0.0 from :: (3.3.3.3)
Origin incomplete, weight 32768, valid, sourced, local, best (First path received)
Last update: Wed Aug 26 12:30:08 2026
Link-state: Metric: 10, Prefix-SID: 5 Flags 0x40 algo 0
P1# show bgp link-state
link-state BGP-LS routes