Generic Routing Commands
show ip routes
This command displays IP routing information for Ethernet ports.
Parameter | Description |
network | Network IP address |
| Enter an IP address. |
mask | Network mask |
| Enter a netmask address |
protocol |
|
all | All protocols |
bgp | Border Gateway protocol (BGP) |
connected | Connected routes |
ospf | Open Shortest Path First protocol (OSPF) |
rip | Routing Information Protocol (RIP) |
static | Static routes |
database |
|
rib | RIB routes |
fib | FIB routes |
|
|
syntax:
show ip routes [ network < IP address > ] [ mask < netmask > ] [ protocol < all bgp connected ospf rip static > ] [ database < rib fib > ]
The following table provides parameter definitions for the following screen display examples.
| Table 6.1: Parameter Definitions |
|
|
term | definition |
|
|
Network | Indicates the address of the remote network. |
|
|
Next Hop | Specifies the address of the next router to the remote network |
|
|
Interface | Specifies the interface through which the specified network can be |
| reached. |
|
|
PVC > | Virtual (logical) circuit identification number. |
|
|
Distance | The administrative distance for the route. |
|
|
Metric | The metric for the route. |
|
|
By default, information is displayed for all routes in the routing table. To display only specific route information, specify the appropriate protocol or the network mask.
June 2004 | © 2004 Foundry Networks, Inc. | 6 - 3 |