Znyx Networks bh5700 Manuale Utente

Pagina di 359
zlmd 
NAME
zlmd 
 − 
 monitor link changes or hot swap events.
SYNOPSIS
zlmd [-h <hostname>] [-b] [-d <level>] {-f <file>} | 
<configuration>
DESCRIPTION
The zlmd application is intended to run as a daemon, waiting for a configured event to occur and 
then running the program configured for that event.  The events monitored are changes in the link 
status of any of the 24 inband ports of the switch, the start of removal of the switch from the back 
plane, or the cancellation of the removal before it actually takes place.  The program can be a 
shell script that initiates appropriate actions to respond to the event.
OPTIONS
-h <host_name>
Connect to remote host <host_name>
-b Do not background the zlmd process.
-d <level> Set debug level to <level>.
{-f <configuration_file>} | <configuration>
Read configuration from <file>.  If file is a ‘+’, 
configuration is read from stdin.  Without the -f option, a 
single line of input can precede the last flag.  (i.e. 
<Configuration>)
CONFIGURATION SYNTAX
zlmd takes configuration data from standard input or from a file with the -f option.  In either 
case, the configuration syntax is the same. The zlmd configuration data consists of a list of 
semicolon-delimited statements. Each statement specifies an event to monitor followed by a 
response action.
Configuration commands:
<port-list> = <program>  
Run <program> when a fault occurs or clears on a port.
hotswap = <program>     
Run <program> when a hot-swap extraction or insertion event 
occurs.
Ethernet Switch Blade User's Guide
release  3.2.2j
page  308