Distance (Rip) - Allied Telesis AR2050V Command Reference Manual

Secure, for alliedware plus version 5.4.7-1.x
Table of Contents

Advertisement

RIP C
OMMANDS
(RIP)
DISTANCE

distance (RIP)

Overview
This command sets the administrative distance for RIP routes. Your device uses this
value to select between two or more routes to the same destination obtained from
two different routing protocols. The route with the smallest administrative
distance value is added to the Forwarding Information Base (FIB). For more
information, see the
The no variant of this command sets the administrative distance for the RIP route
to the default of 120.
distance <1-255> [<ip-addr/prefix-length>]
Syntax
no distance [<1-255>] [<ip-addr/prefix-length>]
Mode
RIP Router Configuration or RIP Router Address Family Configuration for a VRF
instance.
Examples
To set the administrative distance to 8 for the RIP routes within the 10.0.0.0/8
network, use the commands:
awplus#
awplus(config)#
awplus(config-router)#
To set the administrative distance to the default of 120 for the RIP routes within the
10.0.0.0/8 network, use the commands:
awplus#
awplus(config)#
awplus(config-router)#
Example
This example assigns a cost of 10 to the routes for the VRF instance blue, when
(VRF-lite)
redistributed into RIP.
awplus#
awplus(config)#
awplus(config-router)#
awplus(config-router-af)#
Command
Version 5.4.6-2.1: VRF-lite support added.
changes
C613-50186-01 Rev B
Route Selection Feature Overview and Configuration
Parameter
Description
<1-255>
The administrative distance value you are setting for this RIP
route.
<ip-addr/
The network IP address and prefix-length that you are changing
prefix-length>
the administrative distance for.
configure terminal
router rip
configure terminal
router rip
configure terminal
router rip
Command Reference for AR2050V
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
distance 8 10.0.0.0/8
no distance 8 10.0.0.0/8
address family ipv4 blue
distance 10
Guide.
825

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents