Configuring IP Unicast Routing
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
What to Do Next
Use the no ip route prefix mask {address| interface} global configuration command to remove a static route.
The device retains static routes until you remove them.
Command or Action
enable
Example:
Device> enable
configure terminal
Example:
Device# configure terminal
ip route prefix mask {address | interface}
[distance]
Example:
Device(config)# ip route prefix mask
gigabitethernet 1/0/4
end
Example:
Device(config)# end
show ip route
Example:
Device# show ip route
copy running-config startup-config
Example:
Device# copy running-config
startup-config
Routing Configuration Guide, Cisco IOS XE Everest 16.6.x (Catalyst 9500 Switches)
Static Unicast Routes
Purpose
Enables privileged EXEC mode. Enter your
password if prompted.
Enters the global configuration mode.
Establish a static route.
Returns to privileged EXEC mode.
Displays the current state of the routing table
to verify the configuration.
(Optional) Saves your entries in the
configuration file.
185
Need help?
Do you have a question about the Catalyst 9500 series and is the answer not in the manual?
Questions and answers