Qtech QSW-8200-28T-AC-DC [30/74] Distribute list

Qtech QSW-8200-28T-AC-DC [30/74] Distribute list
User Manual
Chapter 3. Commands for RIP 30
www.qtech.ru
routing protocols into the RIP routes.
Switch(config-router)#default-metric 3
Relevant Commands: redistribute
3.9 distance
Command: distance <number> [<A.B.C.D/M>] [<access-list-name | access-list-
number >]
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 from 1 to 255. <A.B.C.D/M>
specifies the network prefix and its length. <access-list-name | access-list-number >
specifies the access-list number or name applied.
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
3.10 distribute-list
Command: distribute-list {<access-list-number | access-list-name> |prefix<prefix-list-
name>} {in|out} [<ifname>]
no distribute-list {<access-list-number| access-list-name> |prefix<prefix-list-name>}
{in|out} [<ifname>]
Function: This command uses access-list or prefix-list to filter the route update packets
sent and received. The no distribute-list {<access-list-number| access-list-name>
|prefix<prefix-list-name>} {in|out} [<ifname>] command cancels this route filter
function.
Parameter: <access-list-number |access-list-name> is the name or access-list number
to be applied. <prefix-list-name> is the name of the prefix-list to be applied. <ifname>

Содержание

Похожие устройства

Скачать