55[id="nw-metallb-troubleshoot-bgp_{context}"]
66= Troubleshooting BGP issues
77
8- The BGP implementation that Red Hat supports uses FRRouting (FRR) in a container in the `speaker` pods.
98As a cluster administrator, if you need to troubleshoot BGP configuration issues, you need to run commands in the FRR container.
109
1110.Prerequisites
@@ -16,27 +15,25 @@ As a cluster administrator, if you need to troubleshoot BGP configuration issues
1615
1716.Procedure
1817
19- . Display the names of the `speaker ` pods:
18+ . Display the names of the `frr-k8s ` pods by running the following command :
2019+
2120[source,terminal]
2221----
23- $ oc get -n metallb-system pods -l component=speaker
22+ $ oc -n metallb-system get pods -l component=frr-k8s
2423----
2524+
2625.Example output
2726[source,text]
2827----
2928NAME READY STATUS RESTARTS AGE
30- speaker-66bth 4/4 Running 0 56m
31- speaker-gvfnf 4/4 Running 0 56m
32- ...
29+ frr-k8s-thsmw 6/6 Running 0 109m
3330----
3431
35- . Display the running configuration for FRR:
32+ . Display the running configuration for FRR by running the following command :
3633+
3734[source,terminal]
3835----
39- $ oc exec -n metallb-system speaker-66bth -c frr -- vtysh -c "show running-config"
36+ $ oc exec -n metallb-system frr-k8s-thsmw -c frr -- vtysh -c "show running-config"
4037----
4138+
4239.Example output
@@ -45,11 +42,13 @@ Building configuration...
4542
4643Current configuration:
4744!
48- frr version 7 .5.1_git
45+ frr version 8 .5.3
4946frr defaults traditional
5047hostname some-hostname
5148log file /etc/frr/frr.log informational
5249log timestamp precision 3
50+ no ip forwarding
51+ no ipv6 forwarding
5352service integrated-vtysh-config
5453!
5554router bgp 64500 <1>
@@ -107,11 +106,11 @@ end
107106<3> If you configured BFD, confirm that the BFD profile is associated with the correct BGP peer and that the BFD profile appears in the command output.
108107<4> Confirm that the `network <ip-address-range>` lines match the IP address ranges that you specified in address pool custom resources that you added.
109108
110- . Display the BGP summary:
109+ . Display the BGP summary by running the following command :
111110+
112111[source,terminal]
113112----
114- $ oc exec -n metallb-system speaker-66bth -c frr -- vtysh -c "show bgp summary"
113+ $ oc exec -n metallb-system frr-k8s-thsmw -c frr -- vtysh -c "show bgp summary"
115114----
116115+
117116.Example output
@@ -144,11 +143,11 @@ Total number of neighbors 2
144143<2> Output that shows `0` messages received and messages sent indicates a BGP peer that does not have a BGP session.
145144Check network connectivity and the BGP configuration of the BGP peer.
146145
147- . Display the BGP peers that received an address pool:
146+ . Display the BGP peers that received an address pool by running the following command :
148147+
149148[source,terminal]
150149----
151- $ oc exec -n metallb-system speaker-66bth -c frr -- vtysh -c "show bgp ipv4 unicast 203.0.113.200/30"
150+ $ oc exec -n metallb-system frr-k8s-thsmw -c frr -- vtysh -c "show bgp ipv4 unicast 203.0.113.200/30"
152151----
153152+
154153Replace `ipv4` with `ipv6` to display the BGP peers that received an IPv6 address pool.
0 commit comments