Configuring Static Unicast Routes - Cisco Catalyst 2960 series Configuration Manual

Consolidated platform configuration guide, ios release 15.2(4)e
Hide thumbs Also See for Catalyst 2960 series:
Table of Contents

Advertisement

Command or Action
Step 9
copy running-config startup-config
Example:
Switch# copy running-config startup-config

Configuring Static Unicast Routes

Static unicast routes are user-defined routes that cause packets moving between a source and a destination to
take a specified path. Static routes can be important if the router cannot build a route to a particular destination
and are useful for specifying a gateway of last resort to which all unroutable packets are sent.
Follow these steps to configure a static route:
DETAILED STEPS
Command or Action
Step 1
enable
Example:
Switch> enable
Step 2
configure terminal
Example:
Switch# configure terminal
Step 3
ip route prefix mask {address | interface} [distance]
Example:
Switch(config)# ip route prefix mask
gigabitethernet 1/0/4
Step 4
end
Example:
Switch(config)# end
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
Configuring Static Unicast Routes
Purpose
(Optional) Saves your entries in the configuration
file.
Purpose
Enables privileged EXEC mode. Enter your password
if prompted.
Enters the global configuration mode.
Establish a static route.
Returns to privileged EXEC mode.
675

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents