2-122
Cisco ME 3400 Ethernet Access Switch Command Reference
OL-9640-07
Chapter 2      Cisco ME 3400 Ethernet Access Switch Cisco IOS Commands
ip address
When you are routing Open Shortest Path First (OSPF), ensure that all secondary addresses of an 
interface fall into the same OSPF area as the primary addresses. 
If your switch receives its IP address from a Bootstrap Protocol (BOOTP) or a DHCP server and you 
remove the switch IP address by using the no ip address command, IP processing is disabled, and the 
BOOTP or the DHCP server cannot reassign the address.
A Layer 3 switch can have an IP address assigned to each routed port and SVI. The number of routed 
ports and SVIs that you can configure is not limited by software; however, the interrelationship between 
this number and the number of other features being configured might have an impact on CPU utilization 
due to hardware limitations. You can use the sdm prefer global configuration command to reallocate 
system hardware resources based on templates and feature tables. For more information, see the 
sdm 
prefer command.
Examples This example shows how to configure the IP address for the Layer 2 switch on a subnetted network:
Switch(config)# interface vlan 1
Switch(config-if)# ip address 172.20.128.2 255.255.255.0
This example shows how to configure the IP address for a Layer 3 port on the switch:
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# no switchport
Switch(config-if)# ip address 172.20.128.2 255.255.255.0
You can verify your settings by entering the show running-config privileged EXEC command.
Related Commands Command Description
show running-config Displays the operating configuration. For syntax information, use this 
link to the Cisco IOS Release 12.2 Command Reference listing page: 
http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_comma
nd_reference_list.html  
Select the Cisco IOS Commands Master List, Release 12.2 to navigate 
to the command.