protocols rip network-distance <ipv4net>
Establishes the administrative distance for or applies an access list to a RIP network.
- ipv4net
- Mandatory. The IP address of a network.
- access-list
- A defined access list for the specified network.
- distance
- An administrative distance for the network. The distance ranges from 1 through 255. The default distance is 120.
Configuration mode
protocols {
rip {
network-distance ipv4net {
access-list list-name
distance distance
}
}
}
Use the set form of this command to establish the administrative distance for or apply an access list to a RIP network.
The administrative distance indicates the trustworthiness of a router or group of routers as a source of routing information. In general, the higher the value, the less trusted the entity. An administrative distance of 1 usually represents a directly connected network, and an administrative distance of 255 means the routing source is unreliable or unknown. The administrative distance conventionally applied to RIP is 120.
Use the delete form of this command to restore the default administrative distance, which is 120, to a RIP network or remove an access list.
Use the show form of this command to display the administrative distance of a RIP network or the application of an access list.