IP routing table - static route
Static routes that are added to the IP routing table of a Cisco IOS router appear with the "S" indicator at the beginning of the line. For example, the following routing table shows a static route to the 192.168.1.0/24 network with a next hop of 192.168.12.2:
CE1#show ip route Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, 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 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP a - application route + - replicated route, % - next hop override, p - overrides from PfR Gateway of last resort is not set 1.0.0.0/32 is subnetted, 1 subnets C 1.1.1.1 is directly connected, Loopback0 2.0.0.0/32 is subnetted, 1 subnets S 192.168.1.0/24 [1/0] via 192.168.12.2 192.168.12.0/24 is variably subnetted, 2 subnets, 2 masks C 192.168.12.0/24 is directly connected, GigabitEthernet0/0 L 192.168.12.1/32 is directly connected, GigabitEthernet0/0
Links to this page:
- ASBR Behavior with External Type 2 OSPF Routes
- EIGRP - redistribute connected and static routes
- IP routing table - candidate default route
- Multicast Manual RP Configuration in Small PIM Networks
- OSPF - Autonomous System Boundary Router (ASBR)
- OSPF - non-zero Forwarding Address example
- OSPF E1 E2 N1 N2 routes
- Routing - Administrative Distance
- Routing - Cisco Performance Routing (PfR)
- Routing - How the routing table is populated
- Routing - Injecting a Static Route
- Routing - The Null0 Interface
- Routing - default routing using DHCP
- Routing - ip default-network command
- Routing - link-local IPv6 next hop address needs exit interface
- Routing - what is redistribution
- VPN - default gateway for site to site VPN
- VRF lite route leaking