Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell EMC SmartFabric OS10 User Guide Release 10.5.2

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] load-balancing {ingress-port enable | [tcp-udp-selection l4–destination-port | l4–source-port] | [ip-selection destination-ip | source-ip | protocol | vlan-id | l4–destination-port | l4–source-port] | [ipv6–selection destination-ip | source-ip | protocol | vlan-id | l4–destination-port | l4–source-port] | [mac-selection destination-mac | source-mac | ethertype | vlan-id]}
Parameters
  • vrf vrf-name—(Optional) Enter 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, from 1 to 65535.
  • static—(Optional) Displays static route information.
  • ip-prefix[/mask]—(Optional) Displays details of a particular IPv4 destination prefix from the IPv4 routing table matching the IPv4 destination address and mask. When the prefix alone is given, this command displays the IPv4 Longest Prefix Match (LPM) route, if it exists in the routing table.
  • summary—(Optional) Displays an IP route summary.
Default
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

OS10(config)# do show ip route vrf VRF1
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, * - candidate default,
+ - summary route, > - non-active route
Gateway of last resort is not set
Destination Gateway Dist/Metric Last Change
----------------------------------------------------------------
C 120.0.0.0/24 via 120.0.0.1 ethernet1/1/1 0/0 00:00:57
S 160.0.0.0/24 via 120.0.0.2 ethernet1/1/1 1/0 00:00:04
OS10(config)# do show ip route vrf VRF2
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, * - candidate default,
+ - summary route, > - non-active route
Gateway of last resort is not set
Destination Gateway Dist/Metric Last Change
---------------------------------------------------------------
C 140.0.0.0/24 via 140.0.0.1 ethernet1/1/2 0/0 00:01:54
B  IN 160.0.0.0/24   via 120.0.0.2   200/0             00:00:02
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: <>()\