]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_router.c
zebra: Add a dump table information command to zebra
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 4 Jan 2019 14:41:09 +0000 (09:41 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 4 Jan 2019 14:48:40 +0000 (09:48 -0500)
commitac5aa23f9362f8fd77a3c8ef66de92c125c7051a
tree48f8c9291ae87e31d0396ba937a4663e92f60ece
parentc45fb58dd310ba05ca9e1f2da05b37f79b7aa16c
zebra: Add a dump table information command to zebra

Allow zebra to dump the table information it has from a router perspective.

This table looks like this:
donna.cumulusnetworks.com# show zebra router table summary
VRF             NS ID    VRF ID     AFI            SAFI    Table      Count
---------------------------------------------------------------------------
default             0         0    IPv4         unicast       49          1
default             0         0    IPv4         unicast      254          7
default             0         0    IPv4       multicast      254          9
default             0         0    IPv6         unicast      254          1
default             0         0    IPv6       multicast      254          1
BLUE                0        31    IPv4         unicast     1005          0
BLUE                0        31    IPv4       multicast     1005          0
BLUE                0        31    IPv6         unicast     1005          0
BLUE                0        31    IPv6       multicast     1005          0

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/zebra_router.c
zebra/zebra_router.h
zebra/zebra_vty.c