]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: show routes in a specified VRF or all VRFs
authorFeng Lu <lu.feng@6wind.com>
Fri, 22 May 2015 09:40:03 +0000 (11:40 +0200)
committerVipin Kumar <vipin@cumulusnetworks.com>
Fri, 30 Oct 2015 06:46:03 +0000 (23:46 -0700)
commitaf41b63a5e3ab98812edae2b7c1a2d9a3091e5e7
treeda1ee13f1c8fe412ff1cfa67ac99bebf5f58d125
parent78104b9bad14a3185178cedc0dd41d1b1c5db493
zebra: show routes in a specified VRF or all VRFs

The present "show ip[v6] [m]route [xxx]" and "show ip rpf [xxx]"
commands now show routes only in the default VRF.

A new option is introduced to show routes in a specified VRF:
    show ip[v6] [m]route [xxx] vrf N
    show ip rpf [xxx] vrf N

and a new option is used to show routes through all VRFs:
    show ip[v6] [m]route [xxx] vrf all
    show ip rpf [xxx] vrf all

Signed-off-by: Feng Lu <lu.feng@6wind.com>
Reviewed-by: Alain Ritoux <alain.ritoux@6wind.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Acked-by: Vincent JARDIN <vincent.jardin@6wind.com>
[DL: conflicts resolved]
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Conflicts:
zebra/zebra_vty.c

Conflicts:
nhrpd/nhrp_interface.c
zebra/zebra_rib.c
zebra/zebra_rnh_null.c
zebra/zebra_vty.c
zebra/zebra_rnh_null.c
zebra/zebra_vty.c