ip|ipv6 vrf
Syntax
[ip|ipv6] route < SRC-VRF-LOCAL-IFACE>< SRC-VRF-NEXTHOP-IP >vrf no [ip|ipv6] route < SRC-VRF-LOCAL-IFACE>< SRC-VRF-NEXTHOP-IP >vrf
描述
The IP/IPv6 route command sets the subnet mask, the reachable network interface, the next-hop IP for the reachable network, and the VRF route leak destination.Command context
config
Parameters
-
- The subnet mask (prefix of the network).
-
< SRC-VRF-LOCAL-IFACE>
-
The interface which is reachable by the network.
-
< SRC-VRF-NEXTHOP-IP >
-
The next-hop IP for the reachable network.
-
-
The VRF route leak destination.
权威
Administrators or local user group members with execution rights for this command.
Examples
Using the command, leak the named route"Blue"VRF, using prefix 100.0.0.0/24 which is reachable by the next-hop IP 20.0.0.1 on the interface 1/1/1 from VRF"Red":
switch(config)#ip route 100.0.0.0/24 1/1/1 20.0.0.1 vrf blue