DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide
287
IP Address Commands
27-1 ip address
This command is used to set the primary or secondary IP address for an interface. Use no command to remove the IP
address.
ip address
ip-address net-mask
[secondary]
no ip address
ip-address net-mask
[secondary]
Parameters
27-2 ip address dhcp
This command is used to make the interface obtain the IP address information by the DHCP in the interface
configuration mode. The no form of this command can be used to cancel this configuration.
ip address dhcp
no ip address dhcp
ip-address
Specifies the 32-bit IP address, with 8 bits in one group in decimal format.
net-mask
Specifies the 32-bit network mask, with same format to
ip-address
.
secondary
(Optional) Specifies the secondary IP address to be configured.
Default
No IP address is configured for the interface.
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 8
Usage Guideline
This command set a primary or secondary IP address for an interface. An interface
can have one primary IP address and multiple secondary IP addresses. The primary
IP address must set first, if there is no primary IP address, the secondary IP address
can’t set successful for an interface. Also, to remove the primary IP address needs
remove all the secondary IP address first.
Currently, this command is valid for the VLAN interface and the out-band interface.
But, only the VLAN interface supports secondary IP address.
The no form of this command remove an IP address or disable IP processing for an
interface.
Users can verify the settings by entering the
show ip interface
command.
Example
This example shows how to set the primary IP address 10.1.1.1/8 for interface VLAN
100.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#interface vlan 100
DXS-3600-32S(config-if)#ip address 10.1.1.1 255.0.0.0
DXS-3600-32S(config-if)#
Parameters
None.
Default
The interface doesn’t obtain the IP address by the DHCP by default.
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 8
Usage Guideline
Configure the interface to obtain IP address from DHCP instead of manual setting.
Содержание DXS-3600-16S
Страница 1: ...CLI Reference Guide Product Model DXS 3600 Series Layer 2 3 Managed 10GbE Switch Release 1 10 ...
Страница 232: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 224 ...
Страница 301: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 293 ...
Страница 349: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 341 ...
Страница 494: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 486 ...
Страница 564: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 556 ...
Страница 649: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 641 ...