Date created: Wednesday, May 25, 2022 3:40:48 PM. Last modified: Monday, June 10, 2024 12:39:46 PM

BIRD Commands

General BIRD commands:

bird> show status
BIRD 2.0.9
Router ID is 93.93.135.198
Hostname is dnas
Current server time is 2022-05-25 14:36:34.621
Last reboot on 2022-05-25 06:58:28.249
Last reconfiguration on 2022-05-25 14:35:01.841
Daemon is up and running

# With 1x full IPv4 feed and 1x full IPv6 feed, on 2022-05-24:
bird> show memory
BIRD memory usage
                  Effective    Overhead
Routing tables:    101.6 MB   1628.3 kB
Route attributes:   47.4 MB   8749.8 kB
Protocols:          19.4 kB   2952.0  B
Standby memory:      0.0  B      0.0  B
Total:             149.1 MB     10.1 MB


bird> show protocols
Name       Proto      Table      State  Since         Info
device1    Device     ---        up     06:58:28.248
bgp1       BGP        ---        up     06:58:32.326  Established
bgp2       BGP        ---        up     06:58:32.952  Established

 

IPv4/IPv6 unicast commands

bird> show route

bird> show route table master6 count 148137 of 148137 routes for 148137 networks in table master6 bird> show route table master4 count 879936 of 879936 routes for 879936 networks in table master4 bird> show protocols all Name Proto Table State Since Info device1 Device --- up 06:58:28.248 bgp1 BGP --- up 06:58:32.326 Established BGP state: Established Neighbor address: 85.232.240.179 Neighbor AS: 57355 Local AS: 65001 Neighbor ID: 85.232.240.179 Local capabilities Multiprotocol AF announced: ipv4 Route refresh Extended message Graceful restart 4-octet AS numbers Enhanced refresh Long-lived graceful restart Neighbor capabilities Multiprotocol AF announced: ipv4 Route refresh 4-octet AS numbers Enhanced refresh Session: external multihop AS4 Source address: 93.93.135.198 Hold timer: 193.753/240 Keepalive timer: 33.668/80 Channel ipv4 State: UP Table: master4 Preference: 100 Input filter: ACCEPT Output filter: REJECT Routes: 879940 imported, 0 exported, 879940 preferred Route change stats: received rejected filtered ignored accepted Import updates: 1879270 0 0 885396 993874 Import withdraws: 13606 0 --- 16 13590 Export updates: 1873917 1873917 0 --- 0 Export withdraws: 13590 --- --- --- 0 BGP Next hop: 93.93.135.198 IGP IPv4 table: master4 bgp2 BGP --- up 06:58:32.952 Established BGP state: Established Neighbor address: 2001:1a68:2c:2::179 Neighbor AS: 57355 Local AS: 65001 Neighbor ID: 85.232.240.179 Local capabilities Multiprotocol AF announced: ipv6 Route refresh Extended message Graceful restart 4-octet AS numbers Enhanced refresh Long-lived graceful restart Neighbor capabilities Multiprotocol AF announced: ipv6 Route refresh 4-octet AS numbers Enhanced refresh Session: external multihop AS4 Source address: 2a00:1098:80:db::1 Hold timer: 214.806/240 Keepalive timer: 25.264/80 Channel ipv6 State: UP Table: master6 Preference: 100 Input filter: ACCEPT Output filter: REJECT Routes: 148132 imported, 0 exported, 148132 preferred Route change stats: received rejected filtered ignored accepted Import updates: 363579 0 0 160884 202695 Import withdraws: 14618 0 --- 4 14614 Export updates: 350890 350890 0 --- 0 Export withdraws: 14614 --- --- --- 0 BGP Next hop: 2a00:1098:80:db::1 IGP IPv6 table: master6 bird> show route for 2a02:c78::/29 Table master6: 2a02:c78::/29 unreachable [bgp2 06:58:35.505 from 2001:1a68:2c:2::179] * (100) [AS5607i] bird> show route protocol bgp1 Table master4: 223.94.242.0/23 unreachable [bgp1 06:59:55.025 from 85.232.240.179] * (100) [AS56041?] 181.123.200.0/22 unreachable [bgp1 06:59:59.009 from 85.232.240.179] * (100) [AS23201i] 88.218.186.0/24 unreachable [bgp1 07:00:06.699 from 85.232.240.179] * (100) [AS62240i] 74.247.144.0/20 unreachable [bgp1 07:00:01.839 from 85.232.240.179] * (100) [AS7018i] 39.135.99.0/24 unreachable [bgp1 06:59:55.023 from 85.232.240.179] * (100) [AS56041i] 171.244.192.0/22 unreachable [bgp1 06:59:07.689 from 85.232.240.179] * (100) [AS38731i] .... show route filtered show route export bgp1

 


Previous page: tcpdump
Next page: Dockerfile