Distance (Rip) - Allied Telesis x510-28GTX Command Reference Manual

Stackable gigabit edge switches x510 series
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> [<access-list>]]
Syntax
no distance [<1-255>] [<ip-addr/prefix-length> [<access-list>]]
Mode
RIP Router Configuration
Examples
To set the administrative distance to 8 for the RIP routes within the 10.0.0.0/8
network that match the access-list "mylist", 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 that match the access-list "mylist", use the commands:
awplus#
awplus(config)#
awplus(config-router)#
C613-50170-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.
<access-list>
Specifies the access-list name. This access list specifies which
routes within the specified network this command applies to.
configure terminal
router rip
configure terminal
router rip
Command Reference for x510 Series
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
distance 8 10.0.0.0/8 mylist
no distance 8 10.0.0.0/8 mylist
Guide.
901

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents