Reference v4.1.0 Instruction Manual
398 Network OS Command Reference
53-1003115-01
ip route next-hop-vrf
2
ip route next-hop-vrf
Enables the leaking of static routes from one VRF instance to another.
Synopsis ip route ip_addr/mask next-hop-vrf vrf VRF_name next_hop_ip_addr
no route ip_addr/mask next-hop-vrf vrf VRF_name next_hop_ip_addr
Operands ip_addr/mask IPv4 address in dotted-decimal notation with a CIDR notation mask.
vrf VRF_name Specifies the name of the target VRF instance to which route leaking is
enabled.
ip_addr Next-hop IP address in the target VRF instance.
Defaults Disabled
Command Modes RBridge ID configuration mode
Description Use this command to enable the leaking of static routes from one VRF instance to another.
Usage Guidelines Enter no ip route ip_addr mask next-hop-vrf to disable the leaking of static routes.
Examples To enable static route leaking from the default VRF to VRF “brown”:
switch# config
switch (config)# rbridge-id 2
switch (config-rbridge-id-2)# ip route 1.1.1.0/24 next-hop-vrf brown 10.1.1.10
This example shows the static route leaking enabled from the default VRF to VRF “brown”:
switch# show running rbridge
rbridge-id 2
ip route 0.0.0.0/0 10.24.64.1
ip route 1.1.1.0/24 next-hop-vrf brown 10.1.1.10
See Also ip route next-hop ospf, ip route next-hop-enable-default, ip route next-hop-recursion, show ip route