Reference Guide

Table Of Contents
(Router) (Interface 0/27)#routing
(Router) (Interface 0/27)#ip vrf forwarding Red
(Router) (Interface 0/27)#ip address 8.0.0.1 /24
(Router) (Interface 0/27)#interface 0/26
(Router) (Interface 0/26)#routing
(Router) (Interface 0/26)#ip address 9.0.0.1 /24
(Router) (Interface 0/26)#exit
(Router) (Config)#ip route 56.6.6.0 /24 9.0.0.2
Routes leaked from global routing table to VRF’s route table are :
(Router) (Config)#ip route vrf Red 9.0.0.2 255.255.255.255 9.0.0.2 0/26
(Router) (Config)#ip route vrf Red 56.6.6.0 255.255.255.0 9.0.0.2 0/26
Route leaked from VRF’s route table to global routing table is :
(Router) (Config)#ip route 8.0.0.2 255.255.255.255 0/27
Route (non-leaked) internal to VRF’s route table is :
(Router) (Config)#ip route vrf Red 66.6.6.0 255.255.255.0 8.0.0.2
no ip route
This command deletes a single next hop to a destination static route. If you use the nexthopip
parameter, the next hop is deleted. If you use the preference value, the preference value of the static
route is reset to its default.
Format no ip route ipaddr subnetmask [{nexthopip [preference] |
Null0}]
Mode Global Config
ip route default
This command configures the default route. The value for nexthopip is a valid IP address of the next hop
router. The preference is an integer value from 1 to 255. A route with a preference of 255 cannot be used
to forward trac.
Default
preference—1
Format ip route default nexthopip [preference]
Mode Global Config
no ip route default
This command deletes all configured default routes. If the optional nexthopip parameter is designated,
the specific next hop is deleted from the configured default route and if the optional preference value is
designated, the preference of the configured default route is reset to its default.
Format
no ip route default [{nexthopip | preference}]
Mode Global Config
ip route distance
This command sets the default distance (preference) for static routes. Lower route distance values are
preferred when determining the best route. The ip route and ip route default commands allow you to
Routing Commands
ExtremeSwitching 200 Series: Command Reference Guide for version 01 .02.04.0007 510