Ip Address Dhcp - Alcatel OmniStack LS 6248 User Manual

Os-ls-6200 series
Hide thumbs Also See for OmniStack LS 6248:
Table of Contents

Advertisement

Syntax
ip-address {mask | prefix-length}
ip address
no ip address
Parameters
• ip-address —Valid IP address
• mask — Valid 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 Setting
No IP address is defined for interfaces.
Command Mode
Interface Configuration (Ethernet, VLAN, port-channel) mode
Command Usage
An IP address cannot be configured for a range of interfaces (range context).
Example
The following example configures VLAN 1 with IP address 131.108.1.27 and subnet
mask 255.255.255.0.
Console(config)#
Console(config-if)#
Related Commands
ip default-gateway

ip address dhcp

ip address dhcp
The
ip address dhcp
command acquires an IP address for an Ethernet interface from the Dynamic Host
Configuration Protocol (DHCP) server. To deconfigure an acquired IP address, use
the
form of this command.
no
Syntax
ip address dhcp
no ip address dhcp
Parameters
• host-name — Specifies the name of the host to be placed in the DHCP
option 12 field. This name does not have to be the same as the host name
specified in the
(Range: 1-20 characters)
[ip-address]
interface vlan
ip address
131.108.1.27 255.255.255.0
Interface Configuration (Ethernet, VLAN, port-channel) mode
[
host-name]
hostname
Global Configuration mode command.
hostname
IP Addressing Commands
1
4
419

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents