
net modify config
NOTE: This command applies to single-node products only.
Description of Command Function
Modifies the parameters in an existing network configuration.
Command Syntax
net modify config <netlabel> [description <string>] [WriteProtect
{Yes|No}] [DNS {IPaddr|DHCP} [subnet <label>] [default {yes|no}] [domain
{<string> | DHCP}] IPAddr {DHCP|IP address} [netmask <mask>] [gateway
<gateway>] port <list>
Command Authority
Administrator
Command Object Requirements
netlabel – This value is the label which identifies the network configuration that will be modified.
This label is case insensitive.
• current – The execution of the command on the “current” configuration involves more activity
than simply modifying parameters as when executed on other configurations. The following
is a list of activity which occurs when the “current” config is modified:
1. The current configuration is copied to a temporary data structure.
2. The modifications defined in the command sequences are made to this temporary structure.
3. The temporary structure is activated.
◦ If the activation is successful, the changes made to the temporary structure are made
to the current network configuration and the temporary structure discarded.
◦ The description is updated with the following string Configuration modified
on DATE by USER, where date is the system date and time when modification
was made and user is the account user from which the modification was made.
◦ If the activation fails, the command sequence fails. The temporary structure is
discarded and the original current configuration is activated.
• Factory_Default_Configuration – This configuration cannot be modified.
Command Parameter Requirements
• description – This optional parameter describes the network configuration and is contained
in quotes (“). There is no limit to the number of characters.
• WriteProtect – This optional parameter determines if the network configuration can be modified.
The values for this parameter can be Yes or No. Yes means the network configuration cannot
be modified (with one exception – the WriteProtect parameter can be modified). If this
parameter is not defined in the command sequence, the default value is No. (The DEFAULT
configuration cannot be modified. The WriteProtect parameter of the DEFAULT configuration
is always Yes. The WriteProtect parameter of the DEFAULT configuration cannot be modified.)
• DNS – This optional parameter defines the DNS servers used in the network configuration.
The value can be an up to three IP address or the text DHCP. The value DHCP indicates the
DNS servers will be defined by the DHCP server. If more than one value is defined, the values
are separated by commas.
• default – This optional parameter must follow a subnet object within the command sequence.
This parameter defines if the preceding subnet configuration is the default subnet. The values
for this parameter can be either Yes or No. If a subnet label is defined and this parameter is
not defined following the subnet label, the default value for the subnet is No.
net modify config 63
Comentarios a estos manuales