D-Link DGS-6600-48TS Manual page 170

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

Advertisement

DGS-6604
mm
distance
distance DISTANCE [NETWORK-PREFIX/PREFIX-LENGTH]
no distance DISTANCE [NETWORK-PREFIX/PREFIX-LENGTH]
Syntax Description
DISTANCE
NETWORK-PREFIX/
PREFIX-LENGTH
Default
Command Mode
Usage Guideline
CLI Reference Guide
Use the command distance to define an administrative distance for a protocol
(RIP, OSPF, etc) or the routes that fall in the range of the specified networks-
prefix. Use the no form of the command to remove the distance configuration and
then the distance will go back to the default.
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.
(Optional) The network prefix and the prefix length specify the destination
network. The Network-Prefix/Prefix-Length parameter is not supported for OSPF.
No static routes are established.
The table below shows the default distance of protocols:
Connected interface
Static route
Open Shortest Path First
(OSPF)/OSPF6
Routing Information Protocol
(RIP)/RIPng
Unknown
Router configuration
This command is only used for routing protocols (RIP, OSPF). The distance
command of a static route uses the ip route command on page 319 with the
distance option. The distance of local interface can not be configured.
Numerically, an administrative distance is an integer from 1 to 255. In general,
the higher the value is, the lower the trust rating is. An administrative distance of
255 means that the routing information source cannot be trusted at all and should
be ignored.
Use the distance command to set the administrative distance for all the routes
that fall in the range of the specified networks-prefix. That is, if the route is in the
range of the networks-prefix, the distance specified for the network prefix will be
applied to this route.
0
The administrative distance of a
Connected interface.
1
The administrative distance of a
Static route.
110
The administrative distance of an
OSPF route.
120
The administrative distance of a RIP
route.
255
The administrative distance of an
unknown protocol route.
distance
160

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dgs-6600 series

Table of Contents