set ip address

set ip address

Use this command to set the system IP address, subnet mask and default gateway.

Note: The C3 does not support the ability for a user to configure the host's gateway to be a local routed interface IP. The host's gateway must exist on a different device in the network if one is configured.

Syntax

set ip address ip-address[mask ip-mask] [gateway ip-gateway]

Parameters

ip‐address

Sets the IP address for the system. For SecureStack C3 systems, this is the

 

IP address of the management switch as described in About SecureStack

 

C3 Switch Operation in a Stack” on page 2‐1.

 

 

mask ip‐mask

(Optional) Sets the system’s subnet mask.

 

 

gateway ip‐gateway

(Optional) Sets the system’s default gateway (next‐hop device).

 

 

Defaults

If not specified, ip‐mask will be set to the natural mask of the ip‐address and ip‐gateway will be set to the ip‐address.

Mode

Switch command, read‐write.

Usage

Parameters must be entered in the order shown (host IP, then mask, then gateway) for the command to be accepted.

Example

This example shows how to set the system IP address to 10.1.10.1 with a mask of 255.255.128.0:

C3(su)->set ip address 10.1.10.1 mask 255.255.128.0

clear ip address

Use this command to clear the system IP address.

Syntax

clear ip address

Parameters

None.

Defaults

None.

SecureStack C3 Configuration Guide 3-11

Page 73
Image 73
Enterasys Networks 9034313-07 manual Set ip address, Clear ip address, Use this command to clear the system IP address