distance

This command sets the default RIP distance to a specified value.

Syntax

distance <1-255> [a.b.c.d/m]
no distance <1-255> [a.b.c.d/m] 

Command

Description

a.b.c.d/m 

Defines the IP prefix network/length.

Default

120

Command Mode

Privileged User

Example

This example sets the default RIP distance to 150.

(conf-router)# distance 150