Reference Guide
distance
Assign a weight (for prioritization) to all routes in the RIP routing table or to a specific route. Lower weights 
(“administrative distance”) are preferred.
S4820T
Syntax
distance weight [ip-address mask [prefix-name]]
To return to the default values, use the no distance weight [ip-address mask] 
command.
Parameters
weight
Enter a number from 1 to 255 for the weight (for prioritization). The 
default is 120.
ip-address
(OPTIONAL) Enter the IP address, in dotted decimal format (A.B.C.D), 
of the host or network to receive the new distance metric.
mask
If you enter an IP address, also enter a mask for that IP address, in 
either dotted decimal format or /prefix format (/x).
prefix-name
(OPTIONAL) Enter a configured prefix list name.
Defaults weight = 120
Command Modes ROUTER RIP
Command History
This guide is platform-specific. For command information about other platforms, refer to the 
relevant 
FTOS Command Line Reference Guide
.
The following is a list of the FTOS version history for this command.
Version 8.3.19.0 Introduced on the S4820T
Version 8.3.11.1 Introduced on the Z9000.
Version 8.3.7.0 Introduced on the S4810.
Version 7.8.1.0 Introduced on the S-Series.
Version 7.6.1.0 Introduced on the C-Series.
pre-Version 
6.2.1.1
Introduced on the E-Series.
Related 
Commands
default-metric — assigns one distance metric to all routes learned using the redistribute 
command.
1142










