Command netif, Table 61, Parameters for command netif – Vaisala Hydromet Data Collection Platform User Manual
Page 296

User's Guide ______________________________________________________________________
294 _________________________________________________________________ M210933EN-C
/ > paramset GSM_Siemens_1
S:00000011: GSM_Siemens_1:pin2 =
S:00000011: GSM_Siemens_1:pin = 1234
/ > paramset VCOM0 host1 "10.0.0.1"
/ > paramset pppclients:myuser password wontpass
/> paramsetclear GSM_Siemens pin2
Command netif
The netif command is used to control and check the status of network
interfaces. The command syntax is:
netif [open
Parameters for the netif command are described in
Table 61
Parameters for Command netif
Parameter
Use
No parameters
Lists current status of all configured network
interfaces
open
Opens the given interface
close
Closes the given interface
ifname
Name of interface to be opened or closed, for
example, netif0
NOTE
In spite of an issued close command, the interface may still remain
open if a service is using it. Closing will always be delayed by the
specified idle time (set in configuration).
Depending on the connection used, changing the state of a network
interface may take a while. For example, with the PSTN modem, the
netif open command will take time for establishing the telephone
connection plus the time for network connection negotiation. This can
easily total over one minute.