Specifications

Chapter 3 Configuring Ethernet Switching
Managing the Catalyst 4224 Access Gateway Switch
3-12
Catalyst 4224 Access Gateway Switch Software Configuration Guide
OL-2031-02
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 create a
subnet on 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.
Assigning IP Information to the Switch—Procedure
Beginning in privileged EXEC mode, follow these steps to enter the IP
information:
Task Command
Step 1
Enter global configuration mode.
configure terminal
Step 2
Enter 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.
interface vlan 1
Step 3
Enter the IP address and subnet mask.
ip address ip_address
subnet_mask
Step 4
Return to global configuration mode.
exit
Step 5
Enter the IP address of the default router.
ip default-gateway ip_address
Step 6
Return to privileged EXEC mode.
end
Step 7
Verify that the information was entered
correctly by displaying the running
configuration. If the information is
incorrect, repeat the procedure.
show running-config