Assigning the Switch IP Address and Default
Gateway
This chapter describes how to create the initial switch configuration (for example, assigning the IP
address and default gateway information) by using a variety of automatic and manual methods. It also
describes how to modify the switch startup configuration. Unless otherwise noted, the term switch refers
to a Catalyst 3750-E or 3560-E standalone switch and to a Catalyst 3750-E switch stack.
Note
For complete syntax and usage information for the commands used in this chapter, see the command
reference for this release and the Cisco IOS IP Command Reference, Volume 1 of 3: Addressing and
Services, Release 12.2.
This chapter consists of these sections:
•
•
•
•
•
Note
Information in this chapter about configuring IP addresses and DHCP is specific to IP Version 4 (IPv4).
If you plan to enable IP Version 6 (IPv6) forwarding on your switch, see
Unicast Routing"
stack or switch must be running the IP services feature set.
Understanding the Boot Process
To start your switch, you need to follow the procedures in the hardware installation guide for installing
and powering on the switch and setting up the initial switch configuration (IP address, subnet mask,
default gateway, secret and Telnet passwords, and so forth).
OL-21521-01
Understanding the Boot Process, page 3-1
Assigning Switch Information, page 3-2
Checking and Saving the Running Configuration, page 3-16
Modifying the Startup Configuration, page 3-18
Scheduling a Reload of the Software Image, page 3-24
for information specific to IPv6 address format and configuration. To enable IPv6, the
C H A P T E R
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
3
Chapter 41, "Configuring IPv6
3-1