16- and 36-Port Ethernet Switch Module for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series
Configuration Tasks
111
Cisco IOS Release 12.2(2)XT, 12.2(8)T, and 12.2(15)ZJ
You can change the information in these fields. 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.
To enter the IP information, use the following commands beginning in privileged EXEC mode:
Use the following procedure to remove the IP information from a switch.
Note
Using the no ip address command in configuration mode disables the IP protocol stack and
removes the IP information. Cluster members without IP addresses rely on the IP protocol
stack being enabled.
To remove an IP address, use the following commands beginning in global configuration mode:
Caution
If you are removing the IP address through a telnet session, your connection to the switch
will be lost.
Specifying a Domain Name and Configuring the DNS
Each unique IP address can have a host name associated with it. The Cisco IOS software maintains a EC
mode, and related Telnet support operations. This cache speeds the process of converting names to
addresses.
Command
Purpose
Step 1
Router#
configure terminal
Enters global configuration mode.
Step 2
Router(config)#
interface vlan 1
Enters interface configuration mode, and enter the VLAN to
which the IP information is assigned.
VLAN 1 is the management VLAN, but you can configure any
VLAN from IDs 1 to 1001.
Step 3
Router(config)#
ip address
ip-address
subnet-mask
Enters the IP address and subnet mask.
Step 4
Router(config)#
exit
Returns to global configuration mode.
Step 5
Router#
ip default-gateway
ip-address
Enters the IP address of the default router.
Step 6
Router#
end
Returns to privileged EXEC mode.
Command
Purpose
Step 1
Router(config)#
interface vlan 1
Enters interface configuration mode, and enters the VLAN to
which the IP information is assigned.
VLAN 1 is the management VLAN, but you can configure any
VLAN from IDs 1 to 1001.
Step 2
Router(config-subif)#
no ip address
Removes the IP address and subnet mask.
Step 3
Router(config-subif)#
end
Returns to privileged EXEC mode.