Ip Address Dhcp - Cisco Small Business 300 1.1 Series Administration Manual

Managed switch
Table of Contents

Advertisement

IP Addressing Commands
78-20269-01 Command Line Interface Reference Guide
User Guidelines
Defining a static IP address on an interface implicitly removes the DHCP client
configuration on the interface.
If the product supports multiple IP addresses:
The product supports up to x IP addresses. The IP addresses should be
from different IP subnets. When adding an IP address from a subnet that
already exists in the list, the new IP address replaces the existing IP
address from that subnet.
If the product is switch only and supports a single IP address.
If the Paddlers configured in global context then it would be bound to the
currently defined management interface. If the management interface is
Default VLAN and the VID of the default VLAN is changed then when new
setting is applied, the IP address will be automatically redefined on the new
Default VLAN.
If the IP address is configured in Interface context then the IP address is bound to
the interface in context.
If a static IP address is already defined, the user must do no IP address in the
relevant interface context before changing the IP address.
If a dynamic IP address is already defined, the user must do no ip address in the
relevant interface context before configuring another dynamic IP address.
The Interface context could be a port, LAG or VLAN, depending on support that is
defined for the product.
Example
The following example configures VLAN 1 with IP address 131.108.1.27 and
subnet mask 255.255.255.0.
Console(config)#
interface vlan
Console(config-if)#
35.2

ip address dhcp

Use the ip address dhcp Interface Configuration (Ethernet, VLAN, Port-channel)
mode command to acquire an IP address for an Ethernet interface from the
Dynamic Host Configuration Protocol (DHCP) server. Use the no form of this
command to release an acquired IP address.
1
ip address
131.108.1.27 255.255.255.0
35
479

Advertisement

Table of Contents
loading

Table of Contents