Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

niffd(8)

EVM(5)

nifftmt(7)

niffconfig(8)  —  Maintenance

NAME

niffconfig − Configuration program for the Network Interface Failure Finder (NIFF)

SYNOPSIS

/usr/sbin/niffconfig [−a] [−m] [−r] [−s] [−u] [−v] [−d num] [−o num] [−t num] [interface1 interface2...]

OPTIONS

−aAdds an interface or interfaces, specified by the interface parameter. You cannot specify the −a option with the −m, −s, −r, or −u options. 

−d num
Specifies the time period, in seconds, that the traffic monitor thread uses between reads of the interface counters when it suspects there is a connectivity problem. This number must be smaller than the number given for the −t option. The default time period is 5 seconds. If num is not specified, niffconfig uses the default. 

−o num
Specifies the total number of traffic-free seconds that must elapse before the traffic monitor thread determines that a network interface has failed.  This number must be at least the sum of the −d option and two times the −t option.  That is, given the default time period for −d and −t, the −o option must be at least 20 seconds.  The default time period for this option is 60 seconds. If num is not specified, niffconfig uses the default. 

−mModifies the timing parameters of an interface that is already being monitored. Typically, this option is specified along with one or more of −t num, −d num, or −o num options.  If none of these parameters are specified, the default value is used. You cannot specify the −m option with the −a, −s, −r, or −u options. 

−rStops monitoring the specified interface. 

−sObtains the status of the specified interface. 

−t num
Specifies the time period, in seconds, that the traffic monitor thread delays between reads of the interface counters when the network is running normally.  The default time period is 20 seconds. If num is not specified, niffconfig uses the default. 

−uDisplays the status of all interfaces currently being monitored to standard out (stdout). 

−vDisplays the status, timer values, and description (verbose mode) of all interfaces currently being monitored to standard out (stdout). 

DESCRIPTION

The niffconfig command arranges for one or more network interfaces to be monitored for possible loss of connectivity.  Timing parameters that govern how quickly an interface can be declared suspect or dead may be manipulated with this command. You can specify multiple interfaces, separated by a space, on the command line. Note, you must be superuser to use the niffconfig command. 

Except for the −u and −u options, all niffconfig options require one or more network interfaces to be specified. 

EXAMPLES

     1.To add the tu0 and tu1 interfaces to the list of monitored interfaces, enter:

# niffconfig -a tu0 tu1

     2.To change the time it takes to declare failure on the tu1 interface to 90 seconds, enter:

# niffconfig -o 90 tu1

     3.To display the status of all interfaces that are being monitored:

# niffconfig -u

     4.To stop monitoring the tu0 interface:

# niffconfig -r tu0

SEE ALSO

Daemons: niffd(8)

Information: EVM(5), nifftmt(7)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026