Skip to content

Commit d0f62dc

Browse files
committed
Bgp: examples: document the Restart config in BgpWithdrawal READMEs
1 parent b087ea0 commit d0f62dc

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

examples/bgpv4/BgpWithdrawal/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ B.bgp: Sending BGP Withdraw message to 10.0.23.3 ...
3232
C.bgp: delete route BGP 10.0.1.0/24 ...
3333
```
3434

35+
The `Restart` config (`-c Restart`) extends the scenario: it also restarts `A` at `100s`,
36+
so the session to `B` re-establishes (exercising the RFC 4271 §6.8 connection-collision
37+
handling on reconnect), `10.0.1.0/24` is re-advertised `A-B-C`, and the ping recovers.
38+
3539
Notes:
3640

3741
- This example intentionally uses shortened BGP timers (`connectRetryTime = 5s`,

examples/bgpv4/BgpWithdrawal6/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ B.bgp: Prefix 2001:db8:1::/64: no alternative path in Adj-RIB-In, sending explic
2828
B.bgp: Sending BGP Withdraw message to 2001:db8:23::3 ... MP_UNREACH_NLRI: afi=2 safi=1 (1 prefixes)
2929
```
3030

31+
The `Restart` config (`-c Restart`) also restarts `A` at `100s`, so the session to `B`
32+
re-establishes, `2001:db8:1::/64` is re-advertised `A-B-C`, and the ping recovers.
33+
3134
Notes:
3235

3336
- This example intentionally uses shortened BGP timers (`connectRetryTime = 5s`,

0 commit comments

Comments
 (0)