118
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
distance (RIP)
distance (RIP)
To define the administrative distance assigned to routes discovered by the Routing Information Protocol
(RIP), use the distance command. To remove the distance and restore the system to its default condition,
use the no form of this command.
distance admin-distance
no distance admin-distance
Syntax Description
Command Default admin-distance: 120
Command Modes Router address-family configuration mode
Command History
Usage Guidelines Use this command to change the preference of RIP routes over other protocol routes. Numerically, an
administrative distance is an integer from 1 to 255. In general, a higher value indicates a lower trust
rating. An administrative distance of 255 means that the routing information source cannot be trusted at
all and should be ignored.
This command does not require a license.
Examples This example shows how to set the administrative distance for RIP:
switch# configure terminal
switch(config)# router rip Enterprise
switch(config-router)# address-family ipv4 unicast
switch(config-router-af)# distance 85
switch(config-router-af)#
Related Commands
admin-distance Administrative distance to be assigned to RIP routes. The range is from 1 to
255.
Release Modification
5.0(3)A1(1) This command was introduced.
Command Description
address-family Enters address-family configuration mode.
redistribute Redistributes routes from one routing domain into RIP.
show ip rip Displays a summary of RIP information for all RIP instances.