Manually Assigning Ip Information - Cisco 3032 Software Configuration Manual

Hide thumbs Also See for 3032:
Table of Contents

Advertisement

Chapter 3
Assigning the Switch IP Address and Default Gateway

Manually Assigning IP Information

Beginning in privileged EXEC mode, follow these steps to manually assign IP information to multiple
switched virtual interfaces (SVIs):
If the switch is running the IP services feature set, you can also manually assign IP information to a port
Note
if you first put the port into Layer 3 mode by using the no switchport interface configuration command.
Command
Step 1
configure terminal
Step 2
interface vlan vlan-id
Step 3
ip address dhcp [client-id
interface-name] [hostname host-name]
Step 4
ip address ip-address subnet-mask
Step 5
exit
Step 6
ip default-gateway ip-address
Step 7
end
Step 8
show interfaces vlan vlan-id
Step 9
show ip redirects
Step 10
copy running-config startup-config
To remove the switch IP address, use the no ip address interface configuration command. If you are
removing the address through a Telnet session, your connection to the switch will be lost. To remove the
default gateway address, use the no ip default-gateway global configuration command.
All VLAN interfaces have assigned MAC addresses that are derived from the base MAC address. The
base MAC address is the hardware address that is on the switch label. It also appears when you enter the
show version privileged EXEC command.
On the first VLAN interface (VLAN 1), the MAC address is the base MAC address + 0 x 40. On the next
VLAN interface that you configure, the MAC address is the base MAC address + 0 x 40 +1, and so on
for other VLAN interfaces.
You can enter the show interfaces vlan vlan-id privileged EXEC command to show the MAC and
IP addresses. The MAC addresses that appear in the show interfaces vlan vlan-id command output are
not the same as the MAC address that is printed on the switch label (the base MAC address).
OL-12247-04
Purpose
Enter global configuration mode.
Enter interface configuration mode, and enter the VLAN to which the IP
information is assigned. The range is 1 to 4094.
Get an IP address for the VLAN interface from the DHCP server.
Enter the IP address and subnet mask.
Return to global configuration mode.
Enter the IP address of the next-hop router interface that is directly
connected to the switch where a default gateway is being configured. The
default gateway receives IP packets with unresolved destination IP
addresses from the switch.
Once the default gateway is configured, the switch has connectivity to the
remote networks with which a host needs to communicate.
When your switch is configured to route with IP, it does not need
Note
to have a default gateway set.
Return to privileged EXEC mode.
Verify the configured IP address.
Verify the configured default gateway.
(Optional) Save your entries in the configuration file.
Cisco Catalyst Blade Switch 3130 and 3032 for Dell Software Configuration Guide
Assigning Switch Information
3-15

Advertisement

Table of Contents
loading

This manual is also suitable for:

3130

Table of Contents