9 distance, 10 distribute-list, Distance – PLANET XGS3-24040 User Manual
Page 412: Distribute, List
31-125
Switch(config-router)#default-metric 3
Relevant Commands:
Redistribute
31.9 distance
Command:
distance <number> [<A.B.C.D/M>] [
no distance [<A.B.C.D/M> ]
Function:
Set the managing distance with this command. The “no distance [<A.B.C.D/M>]” command
restores the default value to 120.
Parameter:
<number> specifies the distance value, ranging between 1 to 255.
<A.B.C.D/M> specifies the network prefix and its length.
Default:
The default managing distance of RIP is 120.
Command Mode:
Router mode and address-family mode
Usage Guide:
In case there are routes from two different routing protocols to the same destination, the managing
distance is then used for selecting routes. The less the managing distance of the route protocol is,
the more reliable will be the route acquired from the protocol.
Example:
Switch# config terminal
Switch(config)# router rip
Switch(config-router)# distance 8 10.0.0.0/8 mylist
31.10 distribute-list
Command:
distribute-list {
[
no distribute-list {
[
Function:
This command uses access-list or prefix-list to filter the route update packets sent and received.
The “no distribute-list {
{in|out} [