Cisco WS-C3560E-48PD-SF Command Reference - Page 158
Release 12.2 > File Management Commands > Configuration File
View all Cisco WS-C3560E-48PD-SF manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 158 highlights
ip address Chapter 2 Catalyst 3560 Switch Cisco IOS Commands 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 port on the Layer 3 switch: Switch(config)# ip multicast-routing 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 show running-config Description Displays the running configuration on the switch. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference, Release 12.2 > File Management Commands > Configuration File Management Commands. 2-126 Catalyst 3560 Switch Command Reference 78-16405-05