show ip address
2-10 Basic Configuration
show ip address
UsethiscommandtodisplaythesystemIPaddressandsubnetmask.
Syntax
show ip address
Parameters
None.
Defaults
None.
Mode
Switchcommand,read‐only.
Example
ThisexampleshowshowtodisplaythesystemIPaddressandsubnetmask:
D2(su)->show ip address
Name Address Mask
---------------- ---------------- ----------------
host 10.42.13.20 255.255.0.0
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.
show console 2-27
set console baud 2-28
For information about... Refer to page...
Note: The D2 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.
ip‐address SetstheIPaddressforthesystem..
maskip‐mask (Optional)Setsthesystem’ssubnetmask.
gatewayip‐gateway (Optional)Setsthesystem’sdefaultgateway(next‐hopdevice).