GNU Zebra Free software that runs routing protocols Supports RIP v1/v2, OSPF, BGP Configuration syntax is like cisco Linux or *BSD
Zebra by daemons Zebra – the main program, interface config, static routing, communication with kernel routing tables Ospfd – ospf specific Bgpd – bgp specific Config is specific to demon
“Console” communication with each zebra process is via telnet localhost, with a separate port # for each process. There’s a default port, but you can set the port on command line. Commands are cisco-style, but only the commands pertinent to that process work. ie "show ip route" will work when telnetted to zebra, but not work when telnetted to bgpd. Likewise, "show ip bgp" will not work for the zebra process, but will for bgpd.
running Installed in ITL lab. binaries in /usr/local/sbin. The configs are in /usr/local/etc Example started with "zebra -P 5554" and "bgpd -P 5555"
telnet localhost 5554 (to connect to zebra) telnet localhost 5555 (to connect to bgpd) Vty password must be set and enable password may be set
hostname Router password zebra enable password zebra interface lo interface eth0 interface eth1 ip route /24 Null0 line vty end
hostname zebrabgpd password zebra log stdout router bgp network /24 neighbor remote-as 500 line vty end
zebrabgpd# sh ip bgp summary BGP router identifier , local AS number BGP AS-PATH entries 0 BGP community entries Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd :26:45 10 Total number of neighbors 1
zebrabgpd# sh ip bgp BGP table version is 0, local router ID is Status codes: s suppressed, d damped, h history, * valid, > best, i - internal Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> / i *> ? *> ? *> ?
(continued) *> / i *> / i *> ? *> ? *> i *> i *> i
WARNING A zebra is not = to a horse!!! Zebras have never been domesticated, anywhere in the world I(zebra) > I(tiger) Zookeeper injuries from zebras exceed zookeeper injuries from tigers. (from Guns, Germs, and Steel by Diamond)