This command gives you the ability to manage transport interfaces. You can list, read attribute values of, create, modify, and delete transport interfaces. Transports contain sets of network interfaces over which they operate.
TNHOME/usr/sbin
tniface [-L [-n transport]] tniface [-R [-n transport [-i interface [{-a attribute}]]] tniface [(-A|-M) -n transport -i interface {-a attribute=value}] tniface [-D -n transport -i interface]
-n transport |
Specify the transport. |
-i interface |
Specify the interface. |
General attributes:
Attributes specific to the tnipx transport interface:
Attributes specific to the tnatk transport interface:
Attribute specific to the tnnbu transport interface:
"device""device
This attribute specifies the IP address, in dot notation, to associate with the transport interface. Separate multiple addresses with spaces.
tniface -M -n transport -i interface -a address=IP-address
This attribute designates the IP broadcast address, in dot notation, to associate with the transport interface.
tniface -M -n transport -i interface -a broadcast=IP-address
This attribute designates the subnet mask, in dot notation, to associate with the transport interface.
tniface -M -n transport -i interface -a netmask=IP-address
This attribute designates the device name for the transport interface. For example, the following serves as the device name for the Solaris system: /dev/le:0.
tniface -M -n transport -i interface -a device=devicename
This attribute designates the NetWare frame type.
tniface -M -n transport -i interface -a frame-type=frametype
This attribute designates the maximum transfer unit size. Do not change this attribute from the default.
tniface -M -n transport -i interface -a mtusize=size
This attribute designates the IPX network number. To find the network number for the NetWare realm, refer to the instructions below for your NetWare server's version.
At the server console, enter the following at the colon (:) prompt:
load install |
On the menu that appears, select Maintenance/Selective Install.
Press m.
Press Enter.
Select NCF Files Options.
Press n.
Press Enter.
Use a text editor to open AUTOEXEC.NCF.
Go to the section called bind IPX. If you find more than one bind IPX section, find the one that refers to the Ethernet frame type on that system.
On that line, note the value used for net=nnn, where nnn represents the hexadecimal network number up to eight digits long.
Write down the number.
Exit the program by pressing the Esc button three times and then Enter.
At the server console, enter the following at the colon (:) prompt:
load install |
On the menu that appears, select System Options.
Press s.
Press Enter.
Select AUTOEXEC.NCF.
Press e.
Press Enter.
Go to the section called bind IPX. If you find more than one bind IPX section, find the one that refers to the Ethernet frame type on that system.
On that line, note the value used for net=nnn, where nnn represents the hexadecimal network number up to eight digits long.
Write down the number.
Exit the program by pressing the Esc button three times and then Enter.
At a NetWare client PC, log in to the PLS as any user:
login servername/username |
Start the system configuration program:
syscon |
On the menu that appears, select File Server Information.
Press F.
Press Enter.
Select the PLS from the list of Known NetWare Servers.
Press the down arrow until you highlight the server name
Press Enter. The file server information appears, including the hexadecimal network number up to eight digits long.
Write down the number.
Exit the program by pressing the Esc button three times and then Enter.
tniface -M -n transport -i interface -a net-number=network-number
This attribute designates the DDP checksum control. You can set DDP checksums on or off. This release of TAS does not implement this attribute.
tniface -M -n transport -i interface -a checksum={on|off}
This attribute designates the default AppleTalk zone in the zone list.
tniface -M -n transport -i interface -a default-zone=zonename
This attribute designates the device name for the transport interface.
tniface -M -n transport -i interface -a device=devicename
This attribute designates the range of network numbers.
tniface -M -n transport -i interface -a net-range=network-range
This attribute designates the list of AppleTalk zones available for the system.
tniface -M -n transport -i interface -a zonelist=list
This attribute designates the device name for the specified transport interface.
tniface -M -n transport -i interface -a device=devicename
Use one of the following commands to list all available transport interfaces:
tniface tniface -L |
Sample Output:
tcpip |
|
|
204.242.9.83 |
tnipx |
|
|
internal |
|
le0:ethernet_ii |
|
le0:ethernet_802.3 |
|
le0:ethernet_802.2 |
|
le0:ethernet_snap |
tnnbu |
|
|
le0 |
tnatk |
|
|
le0 |
Use the following command to list all transport interface information, including the values of all defined attributes:
tniface -R |
Use the following command to list the value of the attribute device for the interface iee0:ethernet_802.3 in a tnipx section:
tniface -R -n tnipx -i iee0:ethernet_802.3 -a device |
Use the following command to change the value of the attribute address for the interface 202.224.6.124 in a tcpip section to 204.242.8.167:
tniface -M -n tcpip -i 202.224.6.124 -a address=204.242.8.167 |
Use the following command to delete the interface le:1 from a tnipx section:
tniface -D -n tnipx -i le:1 |