距离

Syntax

距离没有距离

描述

Configures administrative distance for RIP. Administrative distance is used as criteria to select the best route when multiple protocols have the same route.

The没有form of this command sets the RIP administrative distance to the default. Default: 120.

Command context

config

Parameters

Specifies RIP administrative distance. Range: 1 to 255.

权威

Administrators or local user group members with execution rights for this command.

Examples

配置第十一条nistrative distance for RIP:

switch(config)#router rip 1switch(config-rip-1)#距离100

Setting administrative distance for RIP to default values:

switch(config)#router rip 1switch(config-rip-1)#没有距离