The net set command

Sets the configuration for the network interfaces of the Integration Appliance, DNS server, host name, and default gateway. Choose the net set autohost command to automatically add the hostname/IP address to the Integration Appliance. You can also set the amount of time before reporting a lost carrier.

To improve startup time in networks that do not have a DHCP server, configure all items to either static values or none so the Integration Appliance does not search for a DHCP server.

If you configure any value to be obtained through DHCP, startup time could be delayed as the Integration Appliance tries to locate an available DHCP server.

The network interfaces of the Integration Appliance use these names:
  • edata - for the interface that handles all integration data
  • emgmt - for the interface that handles management traffic, including both the CLI and the Web Management Console (WMC)
Table 1.
Options Description
autohost Allows the Integration Appliance to find its IP address from its own hostname. When you enabled this option and the Integration Appliance cannot find an IP address corresponding to its hostname, either through DNS or an entry you entered manually into the /etc/hosts directory, the Integration Appliance automatically adds an entry into the /etc/hosts directory to allow the CIOS to operate normally. Enable or disable this option through the net set autohost command.
carrier Specifies the time, in seconds, until a missing ethernet link carrier is reported as an error. Setting the value to zero disables the carrier checking and no errors are reported.
domain Sets the domain name for this Integration Appliance. The effect is that most queries for names within this domain can use short names relative to the local domain.
gateway Specifies the gateway and the interface to use for that gateway. The Integration Appliance supports only one default gateway for both management and data traffic (as opposed to one gateway per interface), but additional routes can be added separately.
hostname Sets the name of the Integration Appliance. This should be the short hostname, without the domain name.
interface Sets the IP address, Netmask and Broadcast address for the specified interface.
link Sets the ethernet link to autonegotiate (the default) or to specific values. In most cases autonegotiate is preferable, but setting specific values can sometimes help improve throughput when network conditions are not optimal.
mtu Sets the Maximum Transmission Unit (MTU) size between a range of (68-9000). The default MTU is 1500.
nameserver Sets DNS server list (maximum 2).
ntp Sets the time server.
search Specifies the search list. If you do not set this option, the search list is the same as the value of the domain setting.

Syntax 1

net set autohost [enable|disable ]

Syntax 2

net set carrier timeout <timeout>

Syntax 3

net set {domain|search|nameserver|ntp} {dhcp[emgmt|edata]|static <value>|none}
Example 1: Set a specific domain name.
net set domain static mydomain.com
Example 2: Ask a DHCP server on the management NIC for an NTP server.
net set ntp dhcp emgmt
Example 3: Search for host names in specified domains.
net set search static a.mydomain.com b.mydomain.com

Example 4: Do not search for host names in other domains.

net set search none

Syntax 4

net set gateway {dhcp {emgmt|edata}|static <ipaddress> {emgmt|edata}|none}

Syntax 5

net set hostname {dhcp[emgmt|edata]|static <value>}

Syntax 6

net set interface {emgmt|edata} {dhcp|address <ipaddress> mask <mask> [bcast <bcast>]}

Syntax 7

net set link {emgmt|edata} {autonegotiate|speed <speed> duplex {half|full}}

Syntax 8

net set mtu {emgmt|edata} <MTU>



Feedback | Notices


Timestamp icon Last updated: Wednesday, February 17, 2016


http://pic.dhe.ibm.com/infocenter/wci/v7r0m0/topic/com.ibm.wci.cli.doc/CLI_network_netset.html