mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 19:39:28 +00:00
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
This commit is contained in:
parent
78104b9bad
commit
af41b63a5e
@ -6,11 +6,11 @@
|
||||
int zebra_rnh_ip_default_route = 0;
|
||||
int zebra_rnh_ipv6_default_route = 0;
|
||||
|
||||
int zebra_evaluate_rnh (int vrfid, int family, int force, rnh_type_t type,
|
||||
int zebra_evaluate_rnh (vrf_id_t vrfid, int family, int force, rnh_type_t type,
|
||||
struct prefix *p)
|
||||
{ return 0; }
|
||||
|
||||
void zebra_print_rnh_table (int vrfid, int family, struct vty *vty,
|
||||
void zebra_print_rnh_table (vrf_id_t vrfid, int family, struct vty *vty,
|
||||
rnh_type_t type)
|
||||
{}
|
||||
|
||||
|
1025
zebra/zebra_vty.c
1025
zebra/zebra_vty.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user