Ip Route - D-Link DGS-6600-48T Cli Reference Manual

Modular layer 3 chassis ethernet managed switch
Hide thumbs Also See for DGS-6600-48T:
Table of Contents

Advertisement

DGS-6604

ip route

ip route {NETWORK-PREFIX NETWORK-MASK | NETWORK-PREFIX/PREFIX-LENGTH} IP-
ADDRESS [distance DISTANCE]
no ip route {NETWORK-PREFIX NETWORK-MASK | NETWORK-PREFIX/PREFIX-LENGTH} [IP-
ADDRESS]
Syntax Description
NETWORK-PREFIX
NETWORK-MASK
NETWORK-PREFIX/
PREFIX-LENGTH
IP-ADDRESS
distance DISTANCE
Default
Command Mode
Usage Guideline
Examples
Switch(config)# ip route 0.0.0.0/0 10.1.1.254
CLI Reference Guide
Use ip route to add a static route entry. Use the no form of the command to
remove a static route entry.
The network prefix and the network mask specify the destination network.
The network prefix and the prefix length specify the destination network.
IP address of the next hop that can be used to reach destination network.
(Optional) An administrative distance. The default administrative distance for a
static route is 1. The range of distance is 1 to 255. The lower value represents a
better route.
No static routes are configured.
Global configuration
When an administrative distance is specified, it flags a static route that can be
overridden by dynamic information.
When the NETWORK -PREFIX is 0.0.0.0 and the NETWORK -MASK is 0, then
the command will create a static default route.
The distances of routes are used in the following ways:
In single path mode, the route with the best distance will be the active route if
multiple routes can reach the same destination. If multiple routes are equidistant,
then one of them must be chosen as the active route.
For the single path mode, the route with the best distance and route type is
selected as the primary, (active path) the other distances are available as backup
paths. The active path is always considered the path with the best route type
selected from the reachable paths with the best distance.
This example shows how to add static default route entry with next-hop
10.1.1.254:
Verify the settings by entering the show ip route command.
ip route
309

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dgs-6604Dgs-6600 series

Table of Contents