BGP
This guide explains how to troubleshoot BGP related aspects of the Anapaya appliances.
Current configuration and state
Retrieve the current BGP configuration from the appliance:
appliance-cli get configs/latest -f body.config.bgp
Connect to the BGP daemon's interactive console and use the FRR CLI to show the BGP state:
docker exec -it frr vtysh
# Show BGP summary
show bgp summary
# Show FRR configuration
show running-config
# Show BGP neighbors
show bgp neighbors
Known issues
BGP route is not present on Linux
In some cases, routes learned via BGP are not present in the Linux routing table. If you think this is the case, you can check the BGP state and the Linux routing table to verify this.
First, check the BGP state:
docker exec -it frr vtysh
# Prefix should be listed with:
show bgp ipv4
Then, check whether the prefix is present in the Linux routing table:
# Check the Linux routing table
ip route | grep <prefix>
If the prefix is not present in the Linux routing table, Restart the BGP daemon and check the BGP and Linux state again.
appliance-cli post debug/services/frr/restart