Adds the direct routes of a VLAN or set of VLANs to be leaked to the leak-to-VR.
| direct-inter-vr | Specifies to leak direct routes of specified VLAN(s) to a different VR. Adjacent (directly connected) hosts are also reachable in the specified VR. | 
| ipv4 | Specifies the IPv4 address family. Only IPv4 is supported. | 
| vlan | Specifies the VLAN name or list of VLAN IDs whose direct routes are leaked to a different VR. | 
| from_vlan_name | Specifies to replicate the direct routes of the hardware and software forwarding tables and the adjacent hosts of the specified VLAN name to the specified leak-to-VR. | 
| from_vlan_list | Specifies to replicate the direct routes of the hardware and software forwarding tables and the adjacent hosts of the specified VLAN list to the specified leak-to-VR. Range is 1-4094. | 
| vr | Specifies the virtual router to which direct routes are leaked. | 
| to_vr_name | Specifies the virtual router to which direct routes are leaked. If not specified, the context of the current VR is used. | 
This command is used to support leaking of direct routes from one VR to another by allowing a configuration to leak one or more L3 interface routes to another VR.
The following example adds the direct routes of VLAN 'yellow' to be leaked to the leak-to-VR 'VR2'.
# configure iproute add direct-inter-vr yellow vr VR2
This command was first available in ExtremeXOS 32.4.
This command is available on all ExtremeSwitching Universal switches.