Cisco HWIC-4ESW and HWIC-D-9ESW EtherSwitch Interface Cards
How to Configure EtherSwitch HWICs
94
Book Title
6.
ip default-gateway
ip-address
7.
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
enable
Example:
Router> enable
Enables privileged EXEC mode.
•
Enter your password if prompted.
Step 2
configure
terminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
interface
vlan_id
Example:
Router(config)#
interface vlan 1
Enters interface configuration mode and specifies 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 4
ip address
ip-address subnet-mask
Example:
Router(config)# ip address 192.0.2.10
255.255.255.255
Enters the IP address and subnet mask.
Step 5
exit
Example:
Router(config)#
exit
Returns to global configuration mode.
Step 6
ip default-gateway
ip-address
Example:
Router# ip default-gateway
192.0.2.20
Enters the IP address of the default router.
Step 7
end
Example:
Router# end
Returns to privileged EXEC mode.