summaryrefslogtreecommitdiff
path: root/zebra/zebra_router.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-01-04 09:41:09 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-01-04 09:48:40 -0500
commitac5aa23f9362f8fd77a3c8ef66de92c125c7051a (patch)
tree48f8c9291ae87e31d0396ba937a4663e92f60ece /zebra/zebra_router.h
parentc45fb58dd310ba05ca9e1f2da05b37f79b7aa16c (diff)
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>
Diffstat (limited to 'zebra/zebra_router.h')
-rw-r--r--zebra/zebra_router.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/zebra_router.h b/zebra/zebra_router.h
index d6b8b66087..1e0788d1ba 100644
--- a/zebra/zebra_router.h
+++ b/zebra/zebra_router.h
@@ -81,4 +81,6 @@ extern int zebra_router_config_write(struct vty *vty);
extern unsigned long zebra_router_score_proto(uint8_t proto,
unsigned short instance);
extern void zebra_router_sweep_route(void);
+
+extern void zebra_router_show_table_summary(struct vty *vty);
#endif