Skip to content

Latest commit

 

History

History
58 lines (46 loc) · 1.89 KB

File metadata and controls

58 lines (46 loc) · 1.89 KB
birdc show route all for 192.168.154.0/24
birdc show route all export uplink1
birdc show protocols all
  • debug
debug protocols all;
debug channels all;
debug tables all;

https://www.netdevconf.info/0.1/docs/ondrej-zajicek-slides-netdev01.pdf

show route 192.168.1.0/24
show route for 192.168.1.10
show route protocol ospf1
show route where gw ∼ 192.168.0.0/16
show route where net.len ∼ [16..24, 32]
show route where bgp path.len > 4
show route where proto ∼ ”bpg*”
show route where ifname = ”eth0”
show route filter myfilter
show protocols
enable | disable | restart ospf1
configure [timeout | undo | confirm]

https://www.netnod.se/sites/default/files/2017-01/BIRD%20Internet%20routing%20daemon-ofilip.pdf

bird> show route for 127.0.0.1
127.0.0.0/8 dev lo [direct1 13:09] (240)

bird> show route filter bgp_out
192.175.48.0/24 dev dummy0 [direct1 Apr1] (240)

bird> show route count
1469 of 1469 routes for 849 networks

bird> show route export NIX_1
192.175.48.0/24 dev dummy0 [direct1 Apr1] (240)

bird> show route where 127.0.0.5 ~ net
0.0.0.0/0 via 195.47.235.1 on eth0 [static1 Apr1](200)
127.0.0.0/8 dev lo [direct1 Apr1] (240)

bird> show route filter {if 127.0.0.5 ~ net then accept;}
0.0.0.0/0 via 195.47.235.1 on eth0 [static1 Apr1](200)
127.0.0.0/8 dev lo [direct1 Apr1] (240)

Learning