Reference Guide
Supported Releases 10.2.0E or later
show ip route
Displays IP route information.
Syntax
show ip route [all | bgp | connected | ospf process-id | static | ip-prefix/
mask | summary]
Parameters
• 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 prex-list.
• summary — (Optional) Displays an IP route summary.
Defaults Not congured
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
IPv6 routing
IPv4 networks can move to IPv6 and receive services such as end-to-end security, quality of service (QoS), and globally unique addresses.
The IPv6 address space reduces the need for private addresses and network address translation (NAT) processing by border routers at
network edges.
Stateless autoconguration
When a booting device comes up in IPv6 and requests its network prex, the device gets the prex (or prexes) from an IPv6 router on its
link. It autocongures one or more global IPv6 addresses by using either the MAC address or a private random number to build its unique
IPv6 address.
NOTE
: Only the Management port supports stateless autoconguration as a host.
Layer 3 253