Siemens V4.0 Commands used for configuring network interfaces, Options, Syntax getconfig

Models: V4.0

1 365
Download 365 pages 46.33 Kb
Page 105
Image 105

Configuring Advanced Server for UNIX

Configuring NetBIOS

5.1.2.2Commands used for configuring network interfaces

When configuring network interfaces, the following NetBIOS commands from

/var/opt/nbrfc/bin are used:

The cr_interfaces command creates the /var/opt/nbrfc/conf/interfaces.cfg configuration file based on the information found in the UNIX system at runtime. The program runs at instal- lation time but it can also be executed manually by the administrator e.g. to add a new interface.

Syntax:

cr_interfaces [-F]

Options:

-F Force the creation of a new file. (Normally, an existing file is not overwritten.)

The get_config command reads the interfaces.cfg file; it does validity checks and displays er- ror and/or warning messages as appropriate.

Syntax: get_config

Use get_config before restarting NetBIOS whenever the interfaces.cfg file has changed in order to detect inconsistent or faulty configurations.

Example output of get_config:

Following interfaces found

 

 

 

 

 

No. Name

IP Address

Broadcast

Netmask

Subnet

Active

WINS

0

pnet0

144.145.111.71

144.145.111.255

0xffffff00

own

yes

conf

1

madge0

144.145.123.71

144.145.123.255

0xffffff00

own

no

no

In order to check a new interfaces.cfg file you should compare the output of get_config with the output of corresponding ifconfig(1M) commands.

The nbconfig command is used to view or to administer the state of the NetBIOS interfaces.

Product Manual

U7613-J-Z815-6-76

Page 105
Image 105
Siemens V4.0 Commands used for configuring network interfaces, Options, Syntax getconfig, Example output of getconfig