A SERVICE OF

logo

6-15
Cisco Content Services Switch Routing and Bridging Configuration Guide
OL-4580-01
Chapter 6 Configuring the Internet Protocol
Showing IP Configuration Information
Showing IP Routing Information
Use the show ip routes command to display IP routing information. The syntax
and options for this command are as follows:
show ip routes - Displays the entire routing table, including host IP address,
next hop, interface, route type, protocol, age (in seconds), and metric.
show ip routes firewall - Displays all firewall routes.
show ip routes local - Displays all local routes.
show ip routes ospf - Displays all OSPF routes.
show ip routes rip - Displays all RIP routes.
show ip routes static - Displays all static routes.
show ip routes summary - Displays the total number of OSPF routes
(including a breakdown of Intra, Inter, and Ext routes), RIP routes, local
routes, static routes, and firewall routes.
show ip routes ip_or_host {to ip_or_host | mask_or_prefix} - Displays
information about a route to a destination, a specific route, or routes in a
range.
The variables are as follows:
ip_or_host - The IP address of the host or network prefix. Enter an IP address
in dotted-decimal notation (for example, 192.168.11.1). The IP address after
the to keyword is the final IP address in a range.
mask_or_prefix - Subnet address of the specific network. Enter the subnet
address in mask or prefix notation (for example, /24).
To show all IP routes in the CSS, enter:
# show ip routes
Table 6-4 describes the fields in the show ip routes command output.
Table 6-4 Field Descriptions for the show ip routes Command
Field Description
Prefix/length The IP address and prefix length for the route.
Next hop The IP address for the next hop.