Ip Address - Cisco Catalyst 2950 Command Reference Manual

Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

ip address

ip address
Use the ip address interface configuration command to set an IP address for a switch. Use the no form
of this command to remove an IP address or to disable IP processing.
Syntax Description
ip-address
subnet-mask
Defaults
No IP address is defined for the switch.
Command Modes
Interface configuration
Command History
Release
12.0(5.2)WC(1)
Usage Guidelines
A switch can have one IP address.
The IP address of the switch can be accessed only by nodes connected to ports that belong to the
management VLAN. The default for the management VLAN is VLAN 1, but you can configure a
different VLAN as the management VLAN.
If you remove the IP address through a Telnet or Secure Shell (SSH) session, your connection to the
switch is lost.
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 DHCP server cannot reassign the address.
Examples
This example shows how to configure the IP address for the switch on a subnetted network:
Switch(config)# interface vlan 1
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
Catalyst 2950 and Catalyst 2955 Switch Command Reference
2-132
ip address ip-address subnet-mask
no ip address ip-address subnet-mask
IP address.
Mask for the associated IP subnet.
Modification
This command was introduced.
Description
Displays the configuration information running on the switch. For syntax
information, select Cisco IOS Configuration Fundamentals Command
Reference for Release 12.1 > Cisco IOS File Management Commands >
Configuration File Commands.
Chapter 2
Catalyst 2950 and 2955 Cisco IOS Commands
OL-10102-01

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2955

Table of Contents