Created
February 28, 2026 13:41
-
-
Save fnzv/a618c26ae2bad68d40136a7d58da5cc4 to your computer and use it in GitHub Desktop.
Birdc6 cheatsheet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Display exported routes | |
| ~# birdc6 show route export xxx_zurich_upstream | |
| BIRD 1.6.8 ready. | |
| 2a0e:xxx:xxx::/64 dev ens18 [Direct 13:46:27] * (240) | |
| 2a0e:xxx:xxx::/48 blackhole [Static 14:17:32] * (200) | |
| # Check BGP session | |
| ~# birdc6 show protocols all xxx_zurich_upstream | |
| BIRD 1.6.8 ready. | |
| name proto table state since info | |
| xxx_zurich_upstream BGP master6 up 13:39:04 Established | |
| Description: Border Gateway Protocol | |
| Preference: 100 | |
| Input filter: (unnamed) | |
| Output filter: bgp_out_xxx | |
| Routes: 0 imported, 2 exported, 0 preferred | |
| Route change stats: received rejected filtered ignored accepted | |
| Import updates: 529267 0 278781 3231 247255 | |
| Import withdraws: 13547 0 --- 50634 241694 | |
| Export updates: 485877 485869 4 --- 4 | |
| Export withdraws: 241697 --- --- --- 238554 | |
| BGP state: Established | |
| Neighbor address: xxx:xxx:xxx::1 | |
| Neighbor AS: xxxx | |
| Neighbor ID: xx.xx.xxx.2 | |
| Neighbor caps: refresh enhanced-refresh restart-able AS4 | |
| Session: external multihop AS4 | |
| Source address: xxx:xxx:xxx::xxx | |
| Hold timer: 198/240 | |
| Keepalive timer: 7/80 | |
| # Show all routes | |
| birdc6 show route | |
| # Show routes for a specific prefix | |
| birdc6 show route for 2a0e:xxxx::/48 | |
| # Show routes exported to a peer | |
| birdc6 show route export <peer_name> | |
| # Show routes imported from a peer | |
| birdc6 show route import <peer_name> | |
| # Show routes filtered by table | |
| birdc6 show route table master6 | |
| # Show all routes with details | |
| birdc6 show route all | |
| # Show route count summary | |
| birdc6 show route count | |
| # Show all routes | |
| birdc6 show route | |
| # Show routes for a specific prefix | |
| birdc6 show route for 2a0e:xxxx::/48 | |
| # Show routes exported to a peer | |
| birdc6 show route export <peer_name> | |
| # Show routes imported from a peer | |
| birdc6 show route import <peer_name> | |
| # Show routes filtered by table | |
| birdc6 show route table master6 | |
| # Show all routes with details | |
| birdc6 show route all | |
| # Show route count summary | |
| birdc6 show route count | |
| # List all protocols (short) | |
| birdc6 show protocols | |
| # Show all protocols with full detail | |
| birdc6 show protocols all | |
| # Show a specific BGP session | |
| birdc6 show protocols all <peer_name> | |
| # Bring a session up/down | |
| birdc6 enable <peer_name> | |
| birdc6 disable <peer_name> | |
| # Restart a BGP session | |
| birdc6 restart <peer_name> | |
| # Show interfaces | |
| birdc6 show interfaces | |
| # Show interface details | |
| birdc6 show interfaces all | |
| # Show memory usage | |
| birdc6 show memory | |
| # Show BIRD status / uptime | |
| birdc6 show status | |
| # Reload config without restart | |
| birdc6 configure | |
| # Check config syntax | |
| bird6 -p | |
| # Soft reconfigure a single protocol | |
| birdc6 reload <peer_name> | |
| birdc6 reload in <peer_name> | |
| birdc6 reload out <peer_name> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment