Skip to content

Commit d8174c8

Browse files
Bgp: update README files for BgbDiamondFailover examples
1 parent 347ad33 commit d8174c8

2 files changed

Lines changed: 18 additions & 10 deletions

File tree

examples/bgpv4/BgpDiamondFailover/README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
11
# BgpDiamondFailover
22

3-
This example demonstrates IPv4 BGP failover and failback in a pure-BGP diamond topology:
3+
This example demonstrates IPv4 BGP failover, failback, and a second failure in a pure-BGP diamond topology:
44

55
`hostA - A - B - C - hostC`
66

77
`hostA - A - D - C - hostC`
88

9-
Routers `A`, `B`, `C`, and `D` are in different ASes. The preferred path initially goes through `A-B-C`.
10-
The `A-B-C` branch also uses lower link delays than `A-D-C`, so the active path change is visible in the ping RTT results.
9+
Routers `A`, `B`, `C`, and `D` are in different ASes. Router `A` advertises the `10.0.1.0/24` network, router `C` advertises the `10.0.3.0/24` network, and the hosts use default routes toward their adjacent routers. The preferred BGP path initially goes through `A-B-C`.
1110

12-
At `60s`, router `B` is shut down. After the shortened BGP hold timer expires, traffic switches to the alternate `A-D-C` path using the routes already stored in Adj-RIB-In.
11+
The `A-B-C` branch uses `50us` links and the alternate `A-D-C` branch uses `300us` links, so the active path change is visible in the ping RTT results.
1312

14-
At `100s`, router `B` is started again. Once the BGP sessions re-establish and exchange routes again, the preferred route returns to `A-B-C`.
13+
The scenario timeline is:
14+
15+
- At `20s`, `hostA` starts pinging `hostC` at `10.0.3.100`.
16+
- At `60s`, router `B` is shut down. After the shortened BGP hold timer expires, traffic switches to the alternate `A-D-C` path using the routes already stored in Adj-RIB-In.
17+
- At `100s`, router `B` is started again. Once the BGP sessions re-establish and exchange routes again, the preferred route returns to `A-B-C`.
18+
- At `140s`, router `B` crashes. This exercises failover again after the network has already failed back to the preferred branch.
1519

1620
Notes:
1721

examples/bgpv4/BgpDiamondFailover6/README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
11
# BgpDiamondFailover6
22

3-
This example demonstrates IPv6 MP-BGP failover and failback in a pure-BGP diamond topology:
3+
This example demonstrates IPv6 MP-BGP failover, failback, and a second failure in a pure-BGP diamond topology:
44

55
`hostA - A - B - C - hostC`
66

77
`hostA - A - D - C - hostC`
88

9-
Routers `A`, `B`, `C`, and `D` are in different ASes. The preferred path initially goes through `A-B-C`.
10-
The `A-B-C` branch also uses lower link delays than `A-D-C`, so the active path change is visible in the ping RTT results.
9+
Routers `A`, `B`, `C`, and `D` are in different ASes. Router `A` advertises the `2001:db8:1::/64` network, router `C` advertises the `2001:db8:3::/64` network, and the hosts use default routes toward their adjacent routers. The preferred BGP path initially goes through `A-B-C`.
1110

12-
At `60s`, router `B` is shut down. After the shortened BGP hold timer expires, traffic switches to the alternate `A-D-C` path using the routes already stored in Adj-RIB-In.
11+
The `A-B-C` branch uses `50us` links and the alternate `A-D-C` branch uses `300us` links, so the active path change is visible in the ping RTT results.
1312

14-
At `100s`, router `B` is started again. Once the BGP sessions re-establish and exchange routes again, the preferred route returns to `A-B-C`.
13+
The scenario timeline is:
14+
15+
- At `20s`, `hostA` starts pinging `hostC` at `2001:db8:3::100`.
16+
- At `60s`, router `B` is shut down. After the shortened BGP hold timer expires, traffic switches to the alternate `A-D-C` path using the routes already stored in Adj-RIB-In.
17+
- At `100s`, router `B` is started again. Once the BGP sessions re-establish and exchange routes again, the preferred route returns to `A-B-C`.
18+
- At `140s`, router `B` crashes. This exercises failover again after the network has already failed back to the preferred branch.
1519

1620
Notes:
1721

0 commit comments

Comments
 (0)