D-Link 5000 Series Cli Reference Manual page 651

Layer 2/3 managed 10g/25g/40g/100g data center switches
Hide thumbs Also See for 5000 Series:
Table of Contents

Advertisement

5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
(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
7-24
ip route default
Configure the default route. Use the vrf parameter to configure the default route in a specified virtual
router instance. The nexthopip value 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 traffic.
No 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.
ip route default [vrf vrf-name] nexthopip [preference]
no ip route default [{nexthopip | preference}]
Parameters
vrf vrf-name
nexthopip
preference
Default
The default is None.
Command Mode
Global Config
7-25
ip route distance
Set the default distance (preference) for static routes. Lower values are preferred when determining the
best route. The ip route and ip route default commands allow you to optionally set the distance of an
individual static route. The default distance is used when nothing is specified in these commands.
Changing the default distance does not update the distance of existing static routes, even if they were
Indicates the destination VRF address.
Enter the IP address of the next router.
Set the route preference (1 – 255).
645

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents