Справочник Пользователя для Enterasys Networks 1G58x-09

Скачать
Страница из 808
General Configuration Command Set
Setting Basic Device Properties
3-49
3.2.2.23 set ip address
Use this command to set the system IP address, subnet mask and default gateway.
set ip address ip_address [mask ip_mask] [gateway ip_gateway]
Syntax Description
Command Defaults
If not specified, ip_mask and ip_gateway will not be changed.
Command Type
Switch command.
Command Mode
Read-Write.
Example
This example shows how to set the host port IP address to
 
10.1.10.1 with a mask of 255.255.128.0 
and a default gateway of 10.1.0.1:
 ip_address
Specifies the IP address to set for the device.
mask ip_mask
(Optional) Specifies the IP mask of the local host.
gateway 
ip_gateway
(Optional) Specifies the default gateway of the local host.
Matrix>set ip address 10.1.10.1 mask 255.255.128.0 gateway 10.1.10.1