7 show ip route database – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 218

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 218 of 855

ip route
show ip route database

12.7 show ip route database

To display the Routing Information Base (RIB), use the show ip route database command in user
EXEC or privileged EXEC mode.


Command Syntax

show ip route database [vrf name] [protocl]

vrf name

VRF instance name.

protocol

(Optional) The name of a routing protocol, or the keyword connected, or
static. If you specify a routing protocol, use one of the following keywords:
bgp, ospf, and rip.


Command Mode

User EXEC
Privileged EXEC


Usage

You can display all active dynamic static routes with both the show ip route database and show ip
route database static
commands after these active routes are added in the Routing Information Base
(RIB).


Examples

The following is sample output from the show ip route database command:
Switch# show ip route database
Codes: K - kernel, 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
[*] - [AD/Metric]
> - selected route, * - FIB route, p - stale info

O *> 1.1.1.0/24 [110/2] via 10.10.1.1, eth-0-23, 00:48:58
O *> 2.2.2.0/24 [110/3] via 10.10.1.1, eth-0-23, 00:32:07
C *> 3.3.3.0/24 is directly connected, eth-0-1
C *> 10.10.1.0/24 is directly connected, eth-0-23
O *> 10.10.2.0/24 [110/2] via 10.10.1.1, eth-0-23, 00:32:07
O *> 10.10.3.0/24 [110/3] via 10.10.1.1, eth-0-23, 00:32:07
C *> 10.10.4.0/24 is directly connected, eth-0-20
K *> 192.168.0.0/24 is kernel directly connected, management interface

Advertising