Network commands
Use the network commands in the following table to administer network parameters
and authorizations.
Table 30. Network commands
getNetwork
Read a network setting.
Syntax
getNetwork [option1] [option2]
Options
DHCP | IPAddress | IPMask | IPGateway | HostName | DomainName | IPv6Enable | IPv6AutoConf |
IPv6Address1 | PrefixLength | IPv6DefaultGateway | IPv6LocalAddress | IPv6Address2 | PrimaryDNS
| SecondaryDNS | FirmwareUpgrade
Example
#> getNetwork IPAddress
setNetwork
Modify a network setting.
Syntax
setNetwork [option1=xxxx] [option2=yyyy]
Options
DHCP = 0 | 1
IPAddress = "xxx.xxx.xxx.xxx"
IPMask = "xxx.xxx.xxx.xxx"
IPGateway = "xxx.xxx.xxx.xxx"
HostName = "xx..xx"
DomainName = "xx..xx"
IPv6Enable = 0 | 1
IPv6AutoConf = 0 | 1
IPv6Address1 = ""
PrefixLength = xx
IPv6DefaultGateway [= ]
PrimaryDNS = "xx..xx"
SecondaryDNS = "xx..xx"
FirmwareUpgrade = 0 | 1
Example
#> setNetwork IPAddress="166.99.18.129" IPMask="255.255.248.0"
Comments
Note 1: Setting is write-enabled depending on "DHCP" status.
Note 2: Setting is write-enabled depending on "IPv6Enable" status.
Note 3: Setting is write-enabled depending on "IPv6AutoConf" status.
getSMTP
Read an SMTP setting.
Syntax
getSMTP [option1] [option2]
Options
HostName | Authentication | Login | Password
Example
#> getSMTP HostName
Comments
For Password, each character is replaced with an asterisk (*).
setSMTP
Modify an SMTP setting.
Syntax
setSMTP [option1=xxxx] [option2=yyyy]
54
Network Management Card : User's Guide
(0=No, 1=Yes)
(See Note 1)
(See Note 1)
(See Note 1)
(0=No, 1=Yes)
(0=No, 1=Yes)
(See Note 2)
(See Note 3)
(See Note 3)
(See Note 3)
(0=No, 1=Yes)
Need help?
Do you have a question about the Network Management Card and is the answer not in the manual?