Purpose
Command or Action
Returns to global configuration mode.
exit
Example:
Step 4
Device(config-vlan)#
exit
Enters the IP address of the next-hop router interface that
is directly connected to the device where a default gateway
ip default-gateway ip-address
Example:
Step 5
is being configured. The default gateway receives IP packets
with unresolved destination IP addresses from the device.
Device(config)#
ip default-gateway 10.10.10.1
Once the default gateway is configured, the device has
connectivity to the remote networks with which a host needs
to communicate.
When your device is configured to route with
IP, it does not need to have a default gateway
set.
Note
The device capwap relays on default-gateway
configuration to support routed access point join
the device.
Note
Returns to privileged EXEC mode.
end
Example:
Step 6
Device(config)#
end
Verifies the configured IP address.
show interfaces vlan vlan-id
Example:
Step 7
Device#
show interfaces vlan 99
Verifies the configured default gateway.
show ip redirects
Example:
Step 8
Device#
show ip redirects
Modifying the Device Startup Configuration
Specifying the Filename to Read and Write the System Configuration
By default, the Cisco IOS software uses the config.text file to read and write a nonvolatile copy of the system
configuration. However, you can specify a different filename, which will be loaded during the next boot cycle.
System Management Configuration Guide, Cisco IOS XE Gibraltar 16.10.x (Catalyst 9200 Switches)
70
Performing Device Setup Configuration
Modifying the Device Startup Configuration