Ip Addressing Commands; Ip Address - Cisco 300 Series Cli Manual

Small business 300 series managed switches command line interface guide release 1.3
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

IP Addressing Commands

78-21075-01 Command Line Interface Reference Guide
43.1

ip address

Use the ip address Interface Configuration (Ethernet, VLAN, Port-channel) mode
command to define an IP address for an interface. Use the no form of this
command to remove an IP address definition.
Syntax
If the product is in Layer 3 (Router mode).
ip-address
ip address
no ip address [
ip-address
If the product is in Layer 2 (Switch mode).
ip address
ip-address
ip-address
no ip address [
Parameters
ip-address—Specifies the IP address.
mask—Specifies the network mask of the IP address.
prefix-length—Specifies the number of bits that comprise the IP address
prefix. The prefix length must be preceded by a forward slash (/). (Range:
8–30)
Default Configuration
No IP address is defined for interfaces.
Command Mode
Interface Configuration (Ethernet, VLAN, Port-channel) mode. It cannot be
configured for a range of interfaces (range context).
User Guidelines
Defining a static IP address on an interface implicitly removes the DHCP client
configuration on the interface.
mask
prefix-length
{
| /
]
{
mask
| /
prefix-length
]
43
}
}
708

Advertisement

Table of Contents
loading

Table of Contents