Chapter 5 Basic Router Configuration

Configuring Static Routes

Output queue 0/0, 0 drops; input queue 0/75, 0 drops 5 minute input rate 0 bits/sec, 0 packets/sec

5 minute output rate 0 bits/sec, 0 packets/sec

0 packets input, 0 bytes, 0 no buffer

Received 0 broadcasts, 0 runts, 0 giants, 0 throttles

0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 0 packets output, 0 bytes, 0 underruns

0 output errors, 0 collisions, 0 interface resets

0 output buffer failures, 0 output buffers swapped out

Another way to verify the loopback interface is to ping it:

Router# ping 200.200.100.1 Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 200.200.100.1, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms

Configuring Static Routes

Static routes provide fixed routing paths through the network. They are manually configured on the router. If the network topology changes, the static route must be updated with a new route. Static routes are private routes unless they are redistributed by a routing protocol.

Follow these steps to configure static routes, beginning in global configuration mode.

SUMMARY STEPS

1.ip route prefix mask {ip-address interface-type interface-number [ip-address]}

2.end

DETAILED STEPS

 

Command

 

Purpose

Step 1

 

 

ip route prefix mask {ip-address

Specifies the static route for the IP packets.

 

interface-type interface-number

For details about this command and about

 

[ip-address]}

 

 

 

additional parameters that can be set, see Cisco

 

Example:

 

IOS IP Routing: Protocol-Independent Command

 

Router(config)# ip route 192.168.1.0

Reference.

 

 

 

255.255.0.0

10.10.10.2

 

 

Router(config)#

 

Step 2

 

 

 

end

 

Exits router configuration mode and enters

 

Example:

 

privileged EXEC mode.

 

 

 

 

Router(config)# end

 

 

Router#

 

 

 

 

 

 

For general information on static routing, see the “Floating Static Routes” section on page B-5.

 

 

Cisco 819 Series Integrated Services Router Software Configuration Guide

 

 

 

 

 

 

OL-23590-02

 

 

5-27

 

 

 

 

 

Page 51
Image 51
Cisco Systems C819HG4GVK9, C819GUK9 Configuring Static Routes, Another way to verify the loopback interface is to ping it