User Manual
UMN:CLI
V8102
731
mode to exchange VPN routing information
among ISP PE-routers.
exit-address-family
Address-Family
Exits to
AF Configuration
mode.
12.7.5
Establishing IP Static Routes for a VRF
To add a new static route entry for the specified interface, use the following command.
Command
Mode
Description
ip route vrf WORD A.B.C.D/M
GATEWAY
INTERFACE
[<1-255>]
Global
Adds a new static entry to the VRF routing table.
WORD: VPN Routing/Forwarding instance name
A.B.C.D/M: IP destination prefix with mask
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
INTERFACE
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>]
To remove the static route entry from VRF, use the following command.
Command
Mode
Description
no ip route vrf WORD A.B.C.D/M
Global
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
]
To display the routing information of the VRF, use the following command.
Command
Mode
Description
show
{
ip
|
ipv6
}
route vrf WORD
[
database
]
Enable
Global
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