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, you must 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
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.
distribute-list in
Configure a filter for incoming routing updates.
C-Series, E-Series, S-Series, Z-Series, S4810
Syntax
distribute-list prefix-list-name in [interface]
To delete the filter, use the no distribute-list prefix-list-name in
command.
Parameters
prefix-list-name
Enter the name of a configured prefix list.
interface
(OPTIONAL) Identifies the interface type slot/port as one of the
following:
• For a 1-Gigabit Ethernet interface, enter the keyword
GigabitEthernet followed by the slot/port information.
• For a Port Channel interface, enter the keywords port-
channel
followed by a number. For the C-Series and S-
Series, the range is 1 to 128. For the E-Series, the range is 1 to
255 for TeraScale and 1 to 512 for ExaScale.
1240