Specifications
Setting Basic Device Properties set ip address
2-32 Startup and General Configuration
set ip address
UsethiscommandtosetthesystemIPaddress,subnetmaskanddefaultgateway.
Syntax
set ip address ip-address [mask ip-mask] [gateway ip-gateway]
Parameters
Defaults
Ifnotspecified,ip‐maskwillbesettothenaturalmaskoftheip‐addressandip‐gatewaywillbesetto
theip‐address.
Mode
Switchcommand,Read‐Write.
Example
ThisexampleshowshowtosetthesystemIPaddressto10.1.10.1withamaskof255.255.128.0and
adefaultgatewayof10.1.0.1:
Matrix(rw)->set ip address 10.1.10.1 mask 255.255.128.0 gateway 10.1.10.1
clear ip address
UsethiscommandtoclearthesystemIPaddress.
Syntax
clear ip address
Parameters
None.
Defaults
None.
Mode
Switchcommand,Read‐Write.
Example
ThisexampleshowshowtoclearthesystemIPaddress:
Matrix(rw)->clear ip address
ip‐address SetstheIPaddressforthesystem.
maskip‐mask (Optional)Setsthesystem’ssubnetmask.
gatewayip‐gateway (Optional)Setsthesystem’sdefaultgateway(next‐hopdevice).