8 show ip protocols – CANOGA PERKINS 9175 Command Reference User Manual

Page 188

Advertising
background image

CanogaOS Command Reference

12-6

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


Related Commands

ip route
show ip route

12.8 show ip protocols

To display the parameters and current state of the active routing protocol process, use the show ip

protocols command in privileged EXEC mode.


Command Syntax

show ip protocols [vrf name | protocl]

Advertising