OcNOS-SP : Segment Routing Guide : Path Computation Element Communication Protocol Configuration Guide : BGP Link State with OSPF Segment Routing : Validation for Controller (R7)
Validation for Controller (R7)
Controller#show bgp neighbors
BGP neighbor is 13.1.1.1, remote AS 100, local AS 300, external link
BGP version 4, local router ID 40.1.1.2, remote router ID 3.3.3.3
BGP state = Established, up for 00:16:41
Last read 00:00:12, hold time is 90, keepalive interval is 30 seconds
Neighbor capabilities:
Route refresh: advertised and received (old and new)
Address family IPv4 Unicast: advertised and received
Address family Link-State Link-State: advertised and received
Received 80 messages, 0 notifications, 0 in queue
Sent 49 messages, 0 notifications, 0 in queue
Route refresh request: received 0, sent 0
Minimum time between advertisement runs is 30 seconds
For address family: IPv4 Unicast
BGP table version 1, neighbor version 1
Index 0, Offset 0, Mask 0x1
Community attribute sent to this neighbor (both)
0 accepted prefixes
0 announced prefixes
 
For address family: Link-State Link-State
BGP table version 3, neighbor version 3
Index 1, Offset 0, Mask 0x2
Community attribute sent to this neighbor (both)
31 accepted prefixes
9 announced prefixes
 
Connections established 1; dropped 0
Local host: 13.1.1.2, Local port: 179
Foreign host: 13.1.1.1, Foreign port: 45926
Nexthop: 13.1.1.2
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network
 
BGP neighbor is 14.1.1.1, remote AS 200, local AS 300, external link
BGP version 4, local router ID 40.1.1.2, remote router ID 5.5.5.5
BGP state = Established, up for 00:16:33
Last read 00:00:11, hold time is 90, keepalive interval is 30 seconds
Neighbor capabilities:
Route refresh: advertised and received (old and new)
Address family IPv4 Unicast: advertised and received
Address family Link-State Link-State: advertised and received
Received 50 messages, 0 notifications, 0 in queue
Sent 63 messages, 0 notifications, 0 in queue
Route refresh request: received 0, sent 0
Minimum time between advertisement runs is 30 seconds
For address family: IPv4 Unicast
BGP table version 1, neighbor version 1
Index 1, Offset 0, Mask 0x2
Community attribute sent to this neighbor (both)
0 accepted prefixes
0 announced prefixes
 
For address family: Link-State Link-State
BGP table version 3, neighbor version 3
Index 0, Offset 0, Mask 0x1
Community attribute sent to this neighbor (both)
9 accepted prefixes
31 announced prefixes
 
Connections established 1; dropped 0
Local host: 14.1.1.2, Local port: 179
Foreign host: 14.1.1.1, Foreign port: 36438
Nexthop: 14.1.1.2
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network
 
Controller#show bgp link-state link-state
BGP router identifier 40.1.1.2, local AS number 300
Origin codes: i - IGP, e - EGP
Prefix codes: E link, V node, T IP reacheable route, I Identifier
N local node, R remote node, L link, P prefix
L1/L2 ISIS level-1/level-2, O OSPF, a area-ID,
c confed-ID/ASN, b bgp-identifier, r router-ID,
i if-address, n nbr-address, o OSPF Route-type,
p IP-prefix, d designated router address, s ISO-ID
e [V][O][I0x64][N[c100][b3.3.3.3][a0.0.0.0][r2.2.2.2]]/216
e [V][O][I0x64][N[c100][b3.3.3.3][a0.0.0.0][r2.2.2.2d11.1.1.1]]/248
e [V][O][I0x64][N[c100][b3.3.3.3][a0.0.0.0][r3.3.3.3]]/216
e [V][O][I0x64][N[c100][b3.3.3.3][a0.0.0.0][r3.3.3.3d12.1.1.2]]/248
e [V][O][I0x64][N[c100][b3.3.3.3][a0.0.0.0][r4.4.4.4]]/216
e [V][O][I0x64][N[c100][b3.3.3.3][a0.0.0.1][r1.1.1.1]]/216
e [V][O][I0x64][N[c100][b3.3.3.3][a0.0.0.1][r1.1.1.1d10.1.1.1]]/248
e [V][O][I0x64][N[c100][b3.3.3.3][a0.0.0.1][r3.3.3.3]]/216
e [V][O][I0x64][N[c200][b5.5.5.5][a0.0.0.0][r5.5.5.5]]/216
e [V][O][I0x64][N[c200][b5.5.5.5][a0.0.0.0][r5.5.5.5d15.1.1.1]]/248
e [V][O][I0x64][N[c200][b5.5.5.5][a0.0.0.0][r6.6.6.6]]/216
e [E][O][I0x64][N[c100][b3.3.3.3][a0.0.0.0][r2.2.2.2][R[c100][b3.3.3.3][a0.0.0.0][r2.2.2.2d11.1.1.1]][L[i11.1.1.1][n11.1.1.1]]/376
e [E][O][I0x64][N[c100][b3.3.3.3][a0.0.0.0][r2.2.2.2d11.1.1.1][R[c100][b3.3.3.3][a0.0.0.0][r2.2.2.2]][L[i11.1.1.1][n11.1.1.1]]/376
e [E][O][I0x64][N[c100][b3.3.3.3][a0.0.0.0][r2.2.2.2d11.1.1.1][R[c100][b3.3.3.3][a0.0.0.0][r3.3.3.3]][L[i11.1.1.1][n11.1.1.2]]/376
e [E][O][I0x64][N[c100][b3.3.3.3][a0.0.0.0][r3.3.3.3][R[c100][b3.3.3.3][a0.0.0.0][r2.2.2.2d11.1.1.1]][L[i11.1.1.2][n11.1.1.1]]/376
e [E][O][I0x64][N[c100][b3.3.3.3][a0.0.0.0][r3.3.3.3][R[c100][b3.3.3.3][a0.0.0.0][r3.3.3.3d12.1.1.2]][L[i12.1.1.2][n12.1.1.2]]/376
e [E][O][I0x64][N[c100][b3.3.3.3][a0.0.0.0][r3.3.3.3d12.1.1.2][R[c100][b3.3.3.3][a0.0.0.0][r3.3.3.3]][L[i12.1.1.2][n12.1.1.2]]/376
e [E][O][I0x64][N[c100][b3.3.3.3][a0.0.0.0][r3.3.3.3d12.1.1.2][R[c100][b3.3.3.3][a0.0.0.0][r4.4.4.4]][L[i12.1.1.2][n12.1.1.1]]/376
e [E][O][I0x64][N[c100][b3.3.3.3][a0.0.0.0][r4.4.4.4][R[c100][b3.3.3.3][a0.0.0.0][r3.3.3.3d12.1.1.2]][L[i12.1.1.1][n12.1.1.2]]/376
e [E][O][I0x64][N[c100][b3.3.3.3][a0.0.0.1][r1.1.1.1][R[c100][b3.3.3.3][a0.0.0.1][r1.1.1.1d10.1.1.1]][L[i10.1.1.1][n10.1.1.1]]/376
e [E][O][I0x64][N[c100][b3.3.3.3][a0.0.0.1][r1.1.1.1d10.1.1.1][R[c100][b3.3.3.3][a0.0.0.1][r1.1.1.1]][L[i10.1.1.1][n10.1.1.1]]/376
e [E][O][I0x64][N[c100][b3.3.3.3][a0.0.0.1][r1.1.1.1d10.1.1.1][R[c100][b3.3.3.3][a0.0.0.1][r3.3.3.3]][L[i10.1.1.1][n10.1.1.2]]/376
e [E][O][I0x64][N[c100][b3.3.3.3][a0.0.0.1][r3.3.3.3][R[c100][b3.3.3.3][a0.0.0.1][r1.1.1.1d10.1.1.1]][L[i10.1.1.2][n10.1.1.1]]/376
e [E][O][I0x64][N[c200][b5.5.5.5][a0.0.0.0][r5.5.5.5][R[c200][b5.5.5.5][a0.0.0.0][r5.5.5.5d15.1.1.1]][L[i15.1.1.1][n15.1.1.1]]/376
e [E][O][I0x64][N[c200][b5.5.5.5][a0.0.0.0][r5.5.5.5d15.1.1.1][R[c200][b5.5.5.5][a0.0.0.0][r5.5.5.5]][L[i15.1.1.1][n15.1.1.1]]/376
e [E][O][I0x64][N[c200][b5.5.5.5][a0.0.0.0][r5.5.5.5d15.1.1.1][R[c200][b5.5.5.5][a0.0.0.0][r6.6.6.6]][L[i15.1.1.1][n15.1.1.2]]/376
e [E][O][I0x64][N[c200][b5.5.5.5][a0.0.0.0][r6.6.6.6][R[c200][b5.5.5.5][a0.0.0.0][r5.5.5.5d15.1.1.1]][L[i15.1.1.2][n15.1.1.1]]/376
e [T][O][I0x64][N[c100][b3.3.3.3][a0.0.0.0][r2.2.2.2]][P[0x1][p2.2.2.2/32]]/264
e [T][O][I0x64][N[c100][b3.3.3.3][a0.0.0.0][r3.3.3.3]][P[0x1][p3.3.3.3/32]]/264
e [T][O][I0x64][N[c100][b3.3.3.3][a0.0.0.0][r3.3.3.3]][P[0x2][p10.1.1.0/24]]/256
e [T][O][I0x64][N[c100][b3.3.3.3][a0.0.0.0][r3.3.3.3]][P[0x2][p1.1.1.1/32]]/264
e [T][O][I0x64][N[c100][b3.3.3.3][a0.0.0.0][r4.4.4.4]][P[0x1][p4.4.4.4/32]]/264
e [T][O][I0x64][N[c100][b3.3.3.3][a0.0.0.1][r1.1.1.1]][P[0x1][p1.1.1.1/32]]/264
e [T][O][I0x64][N[c100][b3.3.3.3][a0.0.0.1][r3.3.3.3]][P[0x2][p11.1.1.0/24]]/256
e [T][O][I0x64][N[c100][b3.3.3.3][a0.0.0.1][r3.3.3.3]][P[0x2][p12.1.1.0/24]]/256
e [T][O][I0x64][N[c100][b3.3.3.3][a0.0.0.1][r3.3.3.3]][P[0x2][p2.2.2.2/32]]/264
e [T][O][I0x64][N[c100][b3.3.3.3][a0.0.0.1][r3.3.3.3]][P[0x2][p3.3.3.3/32]]/264
e [T][O][I0x64][N[c100][b3.3.3.3][a0.0.0.1][r3.3.3.3]][P[0x2][p4.4.4.4/32]]/264
e [T][O][I0x64][N[c200][b5.5.5.5][a0.0.0.0][r5.5.5.5]][P[0x1][p5.5.5.5/32]]/264
e [T][O][I0x64][N[c200][b5.5.5.5][a0.0.0.0][r6.6.6.6]][P[0x1][p6.6.6.6/32]]/264
NLRIs, Total: 40, Node: 11, Link: 16, Prefix: 13
Note: Count of NLRIs may be different sometimes.
Controller#show bgp link-state link-state [V][O][I0x64][N[c100][b3.3.3.3][a0.0.0.1][r1.1.1.1]]/216
BGP routing table entry for [V][O][I0x64][N[c100][b3.3.3.3][a0.0.0.1][r1.1.1.1]]/216
Local
Received from 13.1.1.1
Link State:
Range Size: 8000 Base SID: 16000 SR Algorithm: 0
Node flag bits: O:0 T:0 B:0 E:0
Local TE Router-ID:1.1.1.1
Last modified date: 10/20/2023