[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
AIX Version 4.3 Commands Reference, Volume 4
ntx_ifcfg Command
Purpose
Displays or assigns the Network Terminal Accelerator (NTX) network interface address.
ntx_ifcfg [ -d Device ] [ -i Address [ -m Netmask ] [ -e [ 802 | enet ] ] [ -b Broadcast ] [ -p on | off ]
Description
The ntx_ifcfg command displays or assigns network interface addresses. If you do not specify any flags with this command, it displays the network address of the adapter identified by the /dev/rhp0 file.
The ntx_ifcfg command is used to configure the adapter's Internet address immediately after the adapter is downloaded. No Internet network activity takes place until the Internet address is assigned. You can use this command after the adapter is loaded to redefine the board's Internet address.
Flags
-b Broadcast |
Specifies the address that represents broadcasts to the network. By default, the Broadcast parameter is the address in which the host part appears as all ones. |
-d Device |
Sets the adapter raw device file name. The default is the /dev/rhp0 file. |
-e [ 802 | enet ]
|
|
Configures the adapter board for either IEEE 802.3 or an Ethernet operation. To place the board in 802 mode, specify the 802 keyword. To place the board in Ethernet mode, specify the enet keyword. The default mode is Ethernet. |
-i Address |
Specifies the Internet address of the adapter board. You can specify the network interface addresses by name or using Internet dot notation. |
-m Netmask |
Reserves a portion of the address for subdividing the network into subnetworks. The mask includes the network part of the local address and the subnet part. The subnet is taken from the host field of the address.
You can specify the mask as a single hexadecimal number, with either a leading 0x (with a dot-notation Internet address) or with a network name. The mask contains ones for the bit positions in the 32-bit address used for the network and subnet parts. The mask contains zeros for the host part. The mask should contain at least the standard portion, and the subnet field should be contiguous with the network portion. |
-p on | off
|
|
Turns promiscuous mode on or off. When promiscuous mode is on, the adapter acts as a network monitor and receives all well-formed frames, regardless of their destination address. The default is off. |
Exit Status
This command returns the following exit values:
0 |
Successful completion. |
>0 |
An error occurred. |
Security
Access Control: You must have root authority to run this command.
Auditing Events: N/A
Examples
To set the Internet address for the default host adapter, enter:
ntx_ifcfg -i 192.6.153.99
Files
/usr/bin/ntx_ifcfg |
Contains the ntx_ifcfg command. |
/dev/rhp0 |
Default NTX raw device file name. |
Related Information
The /dev/rhp file.
Network Terminal Accelerator Overview
in AIX Versions 3.2 and 4 Asynchronous Communications Guide.
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]