ECS4660-28F_Management Guide-R03

Table Of Contents
C
HAPTER
51
| IP Routing Commands
Routing Information Protocol (RIP)
– 1736
distance This command defines an administrative distance for external routes
learned from other routing protocols. Use the no form to restore the
default setting.
SYNTAX
[no] distance distance network-address netmask
distance - Administrative distance for external routes. External
routes are routes for which the best path is learned from a neighbor
external to the local RIP autonomous system. Routes with a
distance of 255 are not installed in the routing table.
(Range: 1-255)
network-address - IP address of a route entry.
netmask - Network mask for the route. This mask identifies the
network address bits used for the associated routing entries.
DEFAULT SETTING
None
COMMAND MODE
Router Configuration
COMMAND USAGE
Administrative distance is used by the routers to select the preferred
path when there are two or more different routes to the same
destination from two different routing protocols. A smaller
administrative distance indicates a more reliable protocol.
The administrative distance is applied to all routes learned for the
specified network.
EXAMPLE
Console(config-router)#distance 2 192.168.3.0 255.255.255.0
Console(config-router)#
maximum-prefix This command sets the maximum number of RIP routes allowed by the
system. Use the no form to restore the default setting.
SYNTAX
maximum-prefix maximum-routes
no maximum-prefix
maximum-routes - The maximum number of RIP routes which can
be installed in the routing table. (Range: 1-7168)
DEFAULT SETTING
1024