Chapter 6 Configuring The System; Changing Ip Information; Manually Assigning And Removing Switch Ip Information - Cisco WS-C2955T-12 Software Manual

Software guide
Table of Contents

Advertisement

Changing IP Information

Changing IP Information
You can assign and change the IP information of your switch in these ways:
Changing the switch IP address ends any CMS, Telnet, or Simple Network Management Protocol
Caution
(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
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.
These sections cover these topics:

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.
Beginning in privileged EXEC mode, follow these steps to enter the IP information:
Command
Step 1
configure terminal
Step 2
interface vlan 1
Step 3
ip address ip_address subnet_mask
Step 4
exit
Step 5
ip default-gateway ip_address
Step 6
end
Step 7
show running-config
Catalyst 2900 Series XL and Catalyst 3500 Series XL Software Configuration Guide
6-2
Using the setup program, as described in the release notes
(http://www.cisco.com/univercd/cc/td/doc/product/lan/c2900xl/index.htm)
Manually assigning an IP address, as described in this section
Using Dynamic Host Configuration Protocol (DHCP)-based autoconfiguration, as described in this
section
"Manually Assigning and Removing Switch IP Information" section on page 6-2
"Using DHCP-Based Autoconfiguration" section on page 6-3
Purpose
Enter global configuration mode.
Enter interface configuration mode, and enter the VLAN to which the IP
information is assigned. VLAN 1 is the default management VLAN, but you
can configure any VLAN from IDs 1 to 1001.
Enter the IP address and subnet mask.
Return to global configuration mode.
Enter the IP address of the default router.
Return to privileged EXEC mode.
Verify that the information was entered correctly by displaying the running
configuration. If the information is incorrect, repeat the procedure.
"Accessing the CLI" section on page
Chapter 6
Configuring the System
3-7.
78-6511-08

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents