Znyx Networks bh5700 用户手册
zlc
NAME
zlc
−
link and LED control
SYNOPSIS
zlc [-h <hostname>][-d <level>][-x] <port_list> <action> [on |
off ]
zlc [-h <hostname>][-d <level>][-x] <action> [on | off |clear]
zlc [-h <hostname>][-d <level>][-x] [state|query]
DESCRIPTION
The zlc application sets the link speed and state of individual ports of the switch, or displays the
current state. It can also turn on or off the extract LED or the internal fault LED.
current state. It can also turn on or off the extract LED or the internal fault LED.
OPTIONS
-h <hostname>
Connect to remote host <hostname>.
-d <level> Set debug level to <level>
-x
Expected query value. Creates no output, exit code only. If
the port_list contains more than one port, returns the number of
ports that match the option.
ports that match the option.
<port_list>
Port or list of ports on which to take action.
Port lists are supplied in zconfig syntax (e.g. zre1, zre2..4,
etc.)
etc.)
<action>
Set link speed or state to up, down, auto, 1000fd,
1000hd, 100fd, 100hd, 10fd or 10hd. The interface must be down to
change the port speed. Set intfault or extfault. Must supply
change the port speed. Set intfault or extfault. Must supply
<option>.
Use query to return present settings.
Use query to return present settings.
on | off
Turn on or off the specified LED. Only valid for
actions intfault, extfault or extract.
clear No longer globally control the specified LED
state Return the list of LEDs currently illuminated.
query Return the list of LEDs currently controlled globally.
EXAMPLES
In the following example, zlc forces the line speed of port 1 to 100 Full duplex. The interface
Ethernet Switch Blade User's Guide
release 3.2.2j
page 306