Previous: Static Route Commands, Up: Zebra



4.4 zebra Terminal Mode Commands

— Command: show ip route

Display current routes which zebra holds in its database.

          Router# show ip route
          Codes: K - kernel route, C - connected, S - static, R - RIP,
                 B - BGP * - FIB route.
          
          K* 0.0.0.0/0              203.181.89.241
          S  0.0.0.0/0              203.181.89.1
          C* 127.0.0.0/8            lo
          C* 203.181.89.240/28      eth0
     
— Command: show ipv6 route
— Command: show interface
— Command: show ipforward

Display whether the host's IP forwarding function is enabled or not. Almost any UNIX kernel can be configured with IP forwarding disabled. If so, the box can't work as a router.

— Command: show ipv6forward

Display whether the host's IP v6 forwarding is enabled or not.