Routing Information Protocol (RIP) | 495
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.
Syntax
distance weight [ip-address mask [prefix-name]]
To return to the default values, use the
no distance weight [ip-address mask] command.
Parameters
Defaults
weight = 120
Command Modes
ROUTER RIP
Command History
Related
Commands
distribute-list in
Configure a filter for incoming routing updates.
Syntax
distribute-list prefix-list-name in [interface]
To delete the filter, use the no distribute-list prefix-list-name in command.
Parameters
Defaults
Not configured.
Command Modes
ROUTER RIP
Command
History
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.
Version 8.3.16.1 Introduced on MXL 10/40GbE Switch IO Module
default-metric Assigns one distance metric to all routes learned using the redistribute command.
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 Port Channel interface, enter the keyword
port-channel followed by a
number:
Range: 1-128
• For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet
followed by the slot/port information.
• For a 40-Gigabit Ethernet interface, enter the keyword
fortyGigE followed by
the slot/port information.
• For a VLAN, enter the keyword
vlan followed by a number from 1 to 4094.
Version 8.3.16.1 Introduced on MXL 10/40GbE Switch IO Module