Previous: , Up: Zebra   [Contents][Index]


4.7 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 ip prefix-list [name]
Command: show route-map [name]
Command: show ip protocol
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.

Command: show zebra fpm stats

Display statistics related to the zebra code that interacts with the optional Forwarding Plane Manager (FPM) component.

Command: clear zebra fpm stats

Reset statistics related to the zebra code that interacts with the optional Forwarding Plane Manager (FPM) component.