Chapter 6 Configuring the System
Changing IP Information
6-2
Catalyst 2900 Series XL and Catalyst 3500 Series XL Software Configuration Guide
78-6511-05
Changing IP Information
You can assign and change the IP information of your switch in the following
ways:
•
Using the setup program, as described in the release notes
•
Manually assigning an IP address, as described in this section
•
Using Dynamic Host Configuration Protocol (DHCP)-based
autoconfiguration, as described in this section
Caution
Changing the switch IP address ends any CMS, Telnet, or Simple Network
Management Protocol (SNMP) session. To restart your CMS session, enter the
new IP address in the browser Location field (Netscape Communicator) or
Address field (Internet Explorer). To restart your CLI session through Telnet,
follow the steps described in the
“Accessing the CLI” section on page 3-8
.
Note
If you enabled the DHCP feature, the switch assumes you are using an external
server for IP address allocation. While this feature is enabled, any values you
manually enter (from the CMS or from the ip address command) are ignored.
Manually Assigning and Removing Switch IP Information
You can manually assign an IP address, mask, and default gateway to the switch.
The mask identifies the bits that denote the network number in the IP address.
When you use the mask to subnet a network, the mask is then referred to as a
subnet mask. The broadcast address is reserved for sending messages to all hosts.
The CPU sends traffic to an unknown IP address through the default gateway.