A SERVICE OF

logo

3-14
Cisco Catalyst Switch Module 3110 and 3012 for IBM BladeCenter Software Configuration Guide
OL-12189-01
Chapter 3 Assigning the Switch IP Address and Default Gateway
Assigning Switch Information
Switch(config-vlan)# interface vlan 99
Switch(config-if)# no shutdown
Switch(config-if)# end
Switch# show boot
BOOT path-list:
Config file: flash:/config.text
Private Config file: flash:/private-config.text
Enable Break: no
Manual Boot: no
HELPER path-list:
NVRAM/Config file
buffer size: 32768
Timeout for Config
Download: 300 seconds
Config Download
via DHCP: enabled (next boot: enabled)
Switch#
Note You should only configure and enable the Layer 3 interface. Do not assign an IP address or DHCP-based
autoconfiguration with a saved configuration.
Manually Assigning IP Information
Before manually assigning the IP address, you need to remember that the AMM acts as the IP proxy for
the switch if the switch IP address and the internal Ethernet management port are in the same subnet as
the AMM. The AMM handles the management traffic.
Beginning in privileged EXEC mode, follow these steps to manually assign IP information to multiple
switched virtual interfaces (SVIs):
Note If the switch is running the IP services feature set, you can also manually assign IP information to a port
if you first put the port into Layer 3 mode by using the no switchport interface configuration command.
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
interface vlan vlan-id Enter interface configuration mode, and enter the VLAN to which the IP
information is assigned. The range is 1 to 4094.
Step 3
ip address dhcp [client-id
interface-name] [hostname host-name]
Get an IP address for the VLAN interface from the DHCP server.
Step 4
ip address ip-address subnet-mask Enter the IP address and subnet mask.
Step 5
exit Return to global configuration mode.
Step 6
ip default-gateway ip-address 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.
Note When your switch is configured to route with IP, it does not need
to have a default gateway set.