set ip address
Use this command to set the system IP address, subnet mask and default gateway.
Syntax
set ip address ip-address [mask ip-mask] [gateway ip-gateway]
Parameters
ip‐address
mask ip‐mask
gateway ip‐gateway
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
C2(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.
Note: The C2 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.
Sets the IP address for the system. For SecureStack C2 systems, this is the
IP address of the management switch as described in "About SecureStack
C2 Switch Operation in a Stack" on page 2‐1.
(Optional) Sets the system's subnet mask.
(Optional) Sets the system's default gateway (next‐hop device).
10.1.10.1 with a mask of 255.255.128.0:
SecureStack C2 Configuration Guide 3-11
set ip address
Need help?
Do you have a question about the SecureStack C2 C2G170-24 and is the answer not in the manual?