D-Link DGS-6608 [191/1106] External border gateway protocol ebgp

Превью страниц Страница 191 / 1106
D-Link DGS-6608 [191/1106] External border gateway protocol ebgp
DGS-6600 Series Switch mm distance
CLI Reference Guide
181
distance
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.
distance DISTANCE [NETWORK-PREFIX/PREFIX-LENGTH]
no distance DISTANCE [NETWORK-PREFIX/PREFIX-LENGTH]
Default No static routes are established.
The table below shows the default distance of protocols:
Command Mode Router configuration.
Usage Guideline This command is only used for routing protocols (RIP, OSPF). The distance
command of a static route uses the ip route command on page 350 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.
Syntax Description
DISTANCE 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.
NETWORK-PREFIX/
PREFIX-LENGTH
(Optional) The network prefix and the prefix length specify the destination
network. The Network-Prefix/Prefix-Length parameter is not supported for OSPF.
Connected interface 0 The administrative distance of a
Connected interface.
Static route 1 The administrative distance of a
Static route.
External Border Gateway
Protocol (eBGP)
20 The administrative distance of
External BGP.
Open Shortest Path First
(OSPF)/OSPFv3
110 The administrative distance of an
OSPF route.
Routing Information Protocol
(RIP)/RIPng
120 The administrative distance of a RIP
route.
Internal BGP
200 The administrative distance of
Internal BGP.
Unknown 255 The administrative distance of an
unknown protocol route.

Содержание

4839