Purpose
Command or Action
(Optional) Saves your entries in the configuration
file.
copy running-config startup-config
Example:
Switch#
copy running-config startup-config
Step 9
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
Purpose
Command or Action
Enables privileged EXEC mode. Enter your password
if prompted.
enable
Example:
Switch>
enable
Step 1
Enters the global configuration mode.
configure terminal
Example:
Switch#
configure terminal
Step 2
Establish a static route.
ip route prefix mask
{
address
|
interface
} [
distance
]
Example:
Switch(config)# ip route prefix mask
gigabitethernet 1/0/4
Step 3
Returns to privileged EXEC mode.
end
Example:
Switch(config)#
end
Step 4
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
675
Configuring Static Unicast Routes
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......