Skip to content

Commit 7ac5c0d

Browse files
committed
RM 4899807 add show commands for PIC
1 parent 118c2bc commit 7ac5c0d

1 file changed

Lines changed: 98 additions & 0 deletions

File tree

content/cumulus-linux-517/Layer-3/Border-Gateway-Protocol-BGP/Troubleshooting-BGP.md

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1041,6 +1041,104 @@ bit-map
10411041
[route-with-soo] 10.0.1.12/32
10421042
```
10431043

1044+
To show peer-bit index mapping information about a specific SOO route, run the `nv show <vrf-id> default router bgp address-family <address-family> soo-route <prefix>` command:
1045+
1046+
```
1047+
cumulus@spine01:~$ nv show vrf default router bgp address-family ipv4-unicast soo-route 6.0.0.9
1048+
operational
1049+
------------------------ -------------------
1050+
num-paths 6
1051+
nexthop-group-id 73545797
1052+
num-routes-with-soo 13
1053+
num-routes-using-soo-nhg 13
1054+
soo-route-flag I
1055+
nhg-flags-string V
1056+
nhg-flags
1057+
nhg-valid yes
1058+
nhg-install-pending no
1059+
nhg-delete-pending no
1060+
[peer-index] fe80::202:ff:fe11:1
1061+
[peer-index] fe80::202:ff:fe22:2
1062+
bit-map
1063+
selected-path-bitmap 1 2 3 4 5 6
1064+
installed-path-bitmap 1 2 3 4 5 6
1065+
[route-with-soo] 21.5.0.0/16
1066+
[route-with-soo] 21.5.0.0/24
1067+
[route-with-soo] 21.5.20.0/24
1068+
[route-with-soo] 21.5.21.0/24
1069+
[route-with-soo] 21.5.22.0/24
1070+
[route-with-soo] 21.5.23.0/24
1071+
[route-with-soo] 21.5.24.0/24
1072+
[route-with-soo] 21.5.25.0/24
1073+
[route-with-soo] 21.5.26.0/24
1074+
[route-with-soo] 21.5.27.0/24
1075+
[route-with-soo] 21.5.28.0/24
1076+
[route-with-soo] 21.5.29.0/24
1077+
[route-with-soo] 144.144.144.1/32
1078+
1079+
peer-bit
1080+
===========
1081+
1082+
PeerIP - Peer IP address, SooPeerBitIndex - Indicates Site-of-Origin peer bit
1083+
index mapping
1084+
1085+
Peer PeerIP SooPeerBitIndex
1086+
---- ------------------- ---------------
1087+
swp2 fe80::202:ff:fe11:1 1
1088+
swp3 fe80::202:ff:fe11:1 2
1089+
swp4 fe80::202:ff:fe11:1 3
1090+
swp5 fe80::202:ff:fe22:2 4
1091+
swp6 fe80::202:ff:fe22:2 5
1092+
swp7 fe80::202:ff:fe22:2 6
1093+
```
1094+
1095+
To show the SOO peer bit mapping for an SOO route, run the `nv show <vrf-id> default router bgp address-family <address-family> soo-route <prefix> peer-bit` command. To show the information in json format, run the `nv show <vrf-id> default router bgp address-family <address-family> soo-route <prefix> peer-bit -o json` command.
1096+
1097+
```
1098+
cumulus@spine01:~$ nv show vrf default router bgp address-family ipv4-unicast soo-route 6.0.0.9 peer-bit
1099+
PeerIP - Peer IP address, SooPeerBitIndex - Indicates Site-of-Origin peer bit
1100+
index mapping
1101+
1102+
Peer PeerIP SooPeerBitIndex
1103+
---- ------------------- ---------------
1104+
swp2 fe80::202:ff:fe11:1 1
1105+
swp3 fe80::202:ff:fe11:1 2
1106+
swp4 fe80::202:ff:fe11:1 3
1107+
swp5 fe80::202:ff:fe22:2 4
1108+
swp6 fe80::202:ff:fe22:2 5
1109+
swp7 fe80::202:ff:fe22:2 6
1110+
```
1111+
1112+
```
1113+
cumulus@spine01:~$ nv show vrf default router bgp address-family ipv4-unicast soo-route 6.0.0.9 peer-bit -o json
1114+
{
1115+
"swp2": {
1116+
"bit-index": 1,
1117+
"peer-ip": "fe80::202:ff:fe11:1"
1118+
},
1119+
"swp3": {
1120+
"bit-index": 2,
1121+
"peer-ip": "fe80::202:ff:fe11:1"
1122+
},
1123+
"swp4": {
1124+
"bit-index": 3,
1125+
"peer-ip": "fe80::202:ff:fe11:1"
1126+
},
1127+
"swp5": {
1128+
"bit-index": 4,
1129+
"peer-ip": "fe80::202:ff:fe22:2"
1130+
},
1131+
"swp6": {
1132+
"bit-index": 5,
1133+
"peer-ip": "fe80::202:ff:fe22:2"
1134+
},
1135+
"swp7": {
1136+
"bit-index": 6,
1137+
"peer-ip": "fe80::202:ff:fe22:2"
1138+
}
1139+
}
1140+
```
1141+
10441142
To show the SOO peer bit index mapping for an SOO route, run the `nv show <vrf-id> default router bgp address-family <address-family> soo-route <prefix> peer-index` command:
10451143

10461144
```

0 commit comments

Comments
 (0)