show iproute direct-inter-vr

show iproute direct-inter-vr {ipv4} {from-vr from_vr_name} {{vr} to_vr_name}

Description

Displays the configuration of Inter-VR direct routes.

Syntax Description

direct-inter-vr Specifies to show the configuration of direct routes leaked to a different VR. Adjacent hosts are also reachable in the specified VR.
ipv4 Specifies the IPv4 address family. Only IPv4 is supported.
from-vr Specifies to show only inter-VR direct route configuration for the specified leak-from-VR. If not specified, all leak-from-VRs are shown.
from_vr_name Specifies the name of the leak-from-VR.
vr Specifies to show only inter-VR direct route configuration for the specified leak-to-VR. If not specified, all leak-to-VRs are shown.
to_vr_name Specifies the name of the leak-to-VR.

Usage Guidelines

If you do not specify a VR, the command applies to all leak-from-VRs and all leak-to-VRs.

Example

The following example shows VLANs leaked from all VRs to all VRs:

# show iproute direct-inter-vr
Inter-VR Direct IPv4 Routes Leaked To Virtual Router: VR2

Leak From VLAN Name              VID  Primary IP Addr.   Leak From Virtual Router
-------------------------------- ---- ------------------ ------------------------------
yellow                           10   10.1.1.1       /24 VR1    
 
Inter-VR Direct IPv4 Routes Leaked To Virtual Router: VR3

Leak From VLAN Name              VID  Primary IP Addr.   Leak From Virtual Router
-------------------------------- ---- ------------------ ------------------------------
yellow                           10   10.1.1.1       /24 VR1
orange                           11   11.1.1.1       /24 VR1
red2                             20   20.1.1.1       /24 VR2

The following example displays only VLANs leaked to VR3:

# show iproute direct-inter-vr vr VR3
Inter-VR Direct IPv4 Routes Leaked To Virtual Router: VR3

Leak From VLAN Name              VID  Primary IP Addr.   Leak From Virtual Router
-------------------------------- ---- ------------------ ------------------------------
yellow                           10   10.1.1.1       /24 VR1
orange                           11   11.1.1.1       /24 VR1
red2                             20   20.1.1.1       /24 VR2

The following example displays only VLANs leaked to all VRs from VR1:

# show iproute direct-inter-vr from-vr VR1
Inter-VR Direct IPv4 Routes Leaked To Virtual Router: VR2

Leak From VLAN Name              VID  Primary IP Addr.   Leak From Virtual Router
-------------------------------- ---- ------------------ ------------------------------
yellow                           10   10.1.1.1       /24 VR1    
 
Inter-VR Direct IPv4 Routes Leaked To Virtual Router: VR3

Leak From VLAN Name              VID  Primary IP Addr.   Leak From Virtual Router
-------------------------------- ---- ------------------ ------------------------------
yellow                           10   10.1.1.1       /24 VR1
orange                           11   11.1.1.1       /24 VR1

History

This command was first available in ExtremeXOS 32.4.

Platform Availability

This command is available on all ExtremeSwitching Universal switches.