5
5
[id="nw-metallb-troubleshoot-bgp_{context}"]
6
6
= Troubleshooting BGP issues
7
7
8
- The BGP implementation that Red Hat supports uses FRRouting (FRR) in a container in the `speaker` pods.
9
8
As a cluster administrator, if you need to troubleshoot BGP configuration issues, you need to run commands in the FRR container.
10
9
11
10
.Prerequisites
@@ -16,27 +15,25 @@ As a cluster administrator, if you need to troubleshoot BGP configuration issues
16
15
17
16
.Procedure
18
17
19
- . Display the names of the `speaker ` pods:
18
+ . Display the names of the `frr-k8s ` pods by running the following command :
20
19
+
21
20
[source,terminal]
22
21
----
23
- $ oc get -n metallb-system pods -l component=speaker
22
+ $ oc -n metallb-system get pods -l component=frr-k8s
24
23
----
25
24
+
26
25
.Example output
27
26
[source,text]
28
27
----
29
28
NAME 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
33
30
----
34
31
35
- . Display the running configuration for FRR:
32
+ . Display the running configuration for FRR by running the following command :
36
33
+
37
34
[source,terminal]
38
35
----
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"
40
37
----
41
38
+
42
39
.Example output
@@ -45,11 +42,13 @@ Building configuration...
45
42
46
43
Current configuration:
47
44
!
48
- frr version 7 .5.1_git
45
+ frr version 8 .5.3
49
46
frr defaults traditional
50
47
hostname some-hostname
51
48
log file /etc/frr/frr.log informational
52
49
log timestamp precision 3
50
+ no ip forwarding
51
+ no ipv6 forwarding
53
52
service integrated-vtysh-config
54
53
!
55
54
router bgp 64500 <1>
@@ -107,11 +106,11 @@ end
107
106
<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.
108
107
<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.
109
108
110
- . Display the BGP summary:
109
+ . Display the BGP summary by running the following command :
111
110
+
112
111
[source,terminal]
113
112
----
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"
115
114
----
116
115
+
117
116
.Example output
@@ -144,11 +143,11 @@ Total number of neighbors 2
144
143
<2> Output that shows `0` messages received and messages sent indicates a BGP peer that does not have a BGP session.
145
144
Check network connectivity and the BGP configuration of the BGP peer.
146
145
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 :
148
147
+
149
148
[source,terminal]
150
149
----
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"
152
151
----
153
152
+
154
153
Replace `ipv4` with `ipv6` to display the BGP peers that received an IPv6 address pool.
0 commit comments