Chapter 4 Initial Configuration

Performing the Initial Configuration on the Router

If the router has no interface on the default network, but does have a route to it, it considers this network as a candidate default path. The route candidates are examined and the best one is chosen, based on administrative distance and metric. The gateway to the best default path becomes the gateway of last resort.

SUMMARY STEPS

1.enable

2.configure terminal

3.ip routing

4.ip route dest-prefix mask next-hop-ip-address [admin-distance] [permanent]

5.ip default-network network-numberor

ip route dest-prefix mask next-hop-ip-address

6.end

7.show ip route

DETAILED STEPS

 

Command or Action

Purpose

Step 1

 

 

 

enable

 

Enables privileged EXEC mode.

 

 

 

Enter your password if prompted.

 

Example:

 

 

 

Router> enable

 

 

Step 2

 

 

configure terminal

Enters global configuration mode.

 

Example:

 

 

 

Router# configure terminal

 

Step 3

 

 

 

ip routing

 

Enables IP routing.

 

Example:

 

 

 

Router(config)# ip routing

 

Step 4

 

 

ip route dest-prefix mask next-hop-ip-address

Establishes a static route.

 

[admin-distance] [permanent]

 

 

Example:

 

 

 

Router(config)# ip route 192.168.24.0

 

 

255.255.255.0

172.28.99.2

 

 

 

 

 

 

 

Hardware Installation Guide for the Cisco 4451-X Integrated Services Router

 

 

 

 

 

 

OL-27644-01

 

 

4-14

 

 

 

 

 

Page 97
Image 97
Cisco Systems ISR4451XK9 manual Enables IP routing, Establishes a static route