Installation guide

Cisco HWIC-4ESW and HWIC-D-9ESW EtherSwitch Interface Cards
How to Configure EtherSwitch HWICs
63
Cisco IOS Release 12.3(8)T4
OL-6454-01
Assigning IP Information to the Switch
You can use a BOOTP server to automatically assign IP information to the switch; however, the BOOTP
server must be set up in advance with a database of physical MAC addresses and corresponding IP
addresses, subnet masks, and default gateway addresses. In addition, the switch must be able to access
the BOOTP server through one of its ports. At startup, a switch without an IP address requests the
information from the BOOTP server; the requested information is saved in the switch running the
configuration file. To ensure that the IP information is saved when the switch is restarted, save the
configuration by entering the write memory command in privileged EXEC mode.
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.
Beginning in privileged EXEC mode, follow these steps to enter the IP information.
SUMMARY STEPS
1. configure terminal
2. interface vlan 1
3. ip address
ip-address subnet-mask
4. exit
5. ip default-gateway
ip-address
6. end
DETAILED STEPS
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.
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.