
General Configuration Command Set
Setting Basic Device Properties
Matrix NSA Series Configuration Guide
2-45
2.2.3.2
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
will be set to the natural mask of the
ip-address
and
ip-gateway
will be set to the
ip-address
.
Command Type
Switch command.
Command Mode
Read-Write.
Example
This example shows how to set the system 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
Sets the IP address for the system.
mask ip-mask
(Optional) Sets the system’s subnet mask.
gateway
ip-gateway
(Optional) Sets the system’s default gateway (next-hop
device).
Matrix(rw)->
set ip address 10.1.10.1 mask 255.255.128.0 gateway 10.1.10.1