CLI Reference Guide-R07

Table Of Contents
Chapter 28
| IP Routing Commands
Routing Information Protocol (RIP)
– 688 –
The RIB contains all available routes learned through directly attached networks,
and any additionally configured routes such as static routes. The RIB contains the
set of all available routes from which optimal entries are selected for use by the
Forwarding Information Base (see Command Usage under the show ip route
command).
Console#show ip route database
Codes: C - connected, S - static, R - RIP, B - BGP
O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
> - selected route, * - FIB route, p - stale info
C *> 192.168.1.0/24 is directly connected, VLAN1
Console#
In the following example, the numeric identifier following the routing table name
(0) indicates the Forwarding Information Base identifier.
Console#show ip route summary
IP routing table name is Default-IP-Routing-Table(0)
IP routing table maximum-paths is 1
Connected 2
Total 2
Console#
Routing Information Protocol (RIP)
.
Table 162: Routing Information Protocol Commands
Command Function Mode
router rip Enables the RIP routing protocol GC
default-information
originate
Generates a default external route into an autonomous
system
RC
default-metric Sets the default metric assigned to external routes
imported from other protocols
RC
distance Defines an administrative distance for external routes
learned from other routing protocols
RC
maximum-prefix Sets the maximum number of RIP routes allowed RC
neighbor Defines a neighboring router with which to exchange
information
RC
network Specifies the network interfaces that are to use RIP routing RC
passive-interface Stops RIP from sending routing updates on the specified
interface
RC
redistribute Redistribute routes from one routing domain to another RC