Performing Switch Setup Configuration
How to Perform Switch Setup Configuration
Command
5.
ip default-gateway ip-address
6.
end
7.
show interfaces vlan vlan-id
8.
show ip redirects
9.
copy running-config startup-config
Modifying the 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-up cycle.
Command
1.
configure terminal
2.
boot config-file flash:/file-url
3.
end
4.
show boot
5.
copy running-config startup-config
Manually Booting the Switch
By default, the switch automatically boots up; however, you can configure it to manually boot up.
Before You Begin
Use a standalone switch for this task.
Purpose
Enters the IP address of the next-hop router interface that is directly
connected to the switch where a default gateway is being configured.
The default gateway receives IP packets with unresolved destination IP
addresses from the switch.
Once the default gateway is configured, the switch has connectivity to
the remote networks with which a host needs to communicate.
Note:
When your switch is configured to route with IP, it does not need to
have a default gateway set.
Returns to privileged EXEC mode.
Verifies the configured IP address.
Verifies the configured default gateway.
(Optional) Saves your entries in the configuration file.
Purpose
Enters global configuration mode.
Specifies the configuration file to load during the next boot-up
cycle.
For file-url, specify the path (directory) and the configuration
filename.
Filenames and directory names are case sensitive.
Returns to privileged EXEC mode.
Verifies your entries.
The boot config-file global configuration command changes the
setting of the CONFIG_FILE environment variable.
(Optional) Saves your entries in the configuration file.
72