forked from spinesystemspublic/documentation
BGP
This commit is contained in:
+30
@@ -454,3 +454,33 @@ PING 10.0.252.2 (10.0.252.2): 56 data bytes
|
||||
round-trip min/avg/max/stddev = 0.572/2.286/13.992/2.207 ms
|
||||
```
|
||||
This will send 1000 packets as fast as possible, and will show you packetloss and RTT. While you can ignore RTT, as control plane dont have high priority, packetloss should not be present in any case.
|
||||
|
||||
### BGP troubleshooting
|
||||
|
||||
If you have BGP session with Ogero, and it is not working, you can check if you have BGP session established by following command:
|
||||
|
||||
```
|
||||
admin@CORE> show bgp summary
|
||||
Groups: 1 Peers: 1 Down peers: 0
|
||||
Table Tot Paths Act Paths Suppressed History Damp State Pending
|
||||
inet.0
|
||||
1 1 0 0 0 0
|
||||
Peer AS InPkt OutPkt OutQ Flaps Last Up/Dwn State|#Active/Received/Accepted/Damped...
|
||||
y.y.y.y 42020 0 0 0 0 1:01 1/1/1/0 0/0/0/0
|
||||
```
|
||||
If you see "State" column, it should be "Established", if it is not, you have a problem with BGP session.
|
||||
|
||||
You can check if you have BGP routes sent by following command:
|
||||
|
||||
```
|
||||
admin@CORE> show route advertising-protocol bgp y.y.y.y
|
||||
inet.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
|
||||
Prefix Nexthop MED Lclpref AS path
|
||||
* x.y.a.x/22 Self I
|
||||
* b.b.b.b/22 Self I
|
||||
```
|
||||
If you see your prefixes, it means you are sending them to Ogero.
|
||||
|
||||
You might use also "show bgp neighbor x.x.x.x" to see more detailed information about BGP session.
|
||||
|
||||
###
|
||||
Reference in New Issue
Block a user