OS10 Enterprise Edition User Guide Release 10.4.1.0

PDF

show ip route

Displays IP route information.

Syntax
show ip route [vrf vrf-name] [all | bgp | connected | ospf process-id  | static | ip-prefix/mask | summary]
Parameters
  • vrf vrf-name — (Optional) Enter the keyword vrf and then the VRF name to list the routes in the route table of a specific VRF.
  • all — (Optional) Displays both active and non-active IP routes.
  • bgp — (Optional) Displays BGP route information.
  • connected — (Optional) Displays only the directly connected routes.
  • ospf process-id — (Optional) Displays route information for the OSPF process (1 to 65535).
  • static — (Optional) Displays static route information.
  • ip-prefix/mask — (Optional) Displays routes for the destination prefix-list.
  • summary — (Optional) Displays an IP route summary.
Defaults
Not configured
Command Mode
EXEC
Usage Information
None
Example
OS10# show ip route 
                                       Codes: C - connected
                                       S - static
                                       B - BGP, IN - internal BGP, EX - external 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, > - non-active route
                                       Gateway of last resort is not set
                                       Destination         Gateway             Dist/Metric  Last Change
                                       ------------------------------------------------------------------
                                       C     10.1.1.0/24   via 10.1.1.1 vlan100   0/0        01:16:56
                                       B EX  10.1.2.0/24   via 10.1.2.1 vlan101   20/0       01:16:56
                                       O     10.1.3.0/24   via 10.1.3.1 vlan102   110/2      01:16:56
                                       B IN  10.1.4.0/24   via 10.1.4.1 vlan103   200/0      01:16:56
                                    
Supported Releases
10.2.0E or later

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\