UMN:CLI User Manual
V5808
616
GATEWAY: IP gateway address
INTERFACE: IP gateway interface name
1-255: distance value for this route
A.B.C.D: source IP address
ip route vrf WORD A.B.C.D/M
null [<1-255>]
ip route vrf WORD A.B.C.D/M
{ GATEWAY | null } src A.B.C.D
ipv6 route vrf WORD X:X::X:X/M
{X:X::X:X | INTERFACE} [<1-255>]
Adds a new static entry to the VRF routing table.
WORD: VPN Routing/Forwarding instance name
X:X::X:X/M: IPv6 destination prefix with mask
X:X::X:X: IPv6 gateway address
INTERFACE: IPv6 gateway interface name
ipv6 route vrf WORD X:X::X:X/M
X:X::X:X INTERFACE [<1-255>]
ipv6 route vrf NAME X:X::X:X/M
tunnel <0-1023> [<1-255>]
ipv6 route X:X::X:X/M tunnel <0-
1023> [<1-255>]
To remove the static route entry from VRF, use the following command.
no ip route vrf WORD A.B.C.D/M
Deletes the static route entry.
no ip route vrf WORD A.B.C.D/M GATEWAY
INTERFACE [<1-255>]
no ip route vrf WORD A.B.C.D/M INTERFACE
no ip route vrf WORD A.B.C.D/M null [<1-255>]
no ipv6 route vrf WORD X:X::X:X/M [X:X::X:X |
INTERFACE]
no ipv6 route vrf WORD X:X::X:X/M X:X::X:X
[INTERFACE]
no ipv6 route vrf NAME X:X::X:X/M tunnel <0-
1023>
no ipv6 route X:X::X:X/M tunnel <0-1023>
To display the routing information of the VRF, use the following command.
show {ip | ipv6} route vrf WORD [database]
Shows all IPv4/IPv6 routes of the virtual
routing table.
database: display IPv4/IPv6 routes
learned by NSM
show {ip | ipv6} route vrf WORD summary
Shows summary counters for all routes in
the IP routing table associated with a
VRF.
show ip route vrf WORD [database] {bgp |
connected | kernel | ospf | static}
Shows all IPv4/IPv6 routes of the virtual
routing table for a protocol from a
particular table.
bgp: display selected BGP routes
connected: display selected directly
show ipv6 route vrf WORD [database
e] { bgp | connected | kernel | ospf | static}