Znyx Networks bh5700 Manuale Utente

Pagina di 359
zconfig 
NAME
zconfig - Configures the OpenArchitect switch.
SYNOPSIS
zconfig [-h <host_name>] [-d <level>] [-a] [-t] [{-f <file>} | 
<configuration>] 
DESCRIPTION
zconfig creates Virtual Local Area Network (VLAN) groups of switch ports or trunks.  Each 
VLAN group forms a Layer 2 switching domain. Each VLAN group has a VLAN Identification 
number (VID) that can be carried in a tag field, located in the header of packets traveling on that 
VLAN. The configuration of a port determines whether a packet transmitted from that port 
includes the VLAN tag. A set of up to eight ports may be configured as a trunk, with all links 
from these ports connect to the same link partner.  For each VLAN group created by zconfig, a 
network interface is also created. After the network interface is started by ifconfig(1M), the 
VLAN group performs Layer 2 switching. The network interface can be used for Layer 3 routing 
between VLAN groups.
A network interface uses the following format:
zhpN (e.g., zhp0)
N-is an integer between 0 and 9999. The value of N is not required to be the same as any of the 
port(s) that are its members. The range 0-4999 is reserved for network interfaces created by users. 
The range 5000-9999 is reserved for network interfaces created by switch applications.
A trunk uses the format zrlK, where K is an integer between 0 and 31.
OPTIONS
-h <hostname>
Specifies the hostname to configure.  By 
default, zconfig configures the local OpenArchitect switch.
-d <level> Sets the level of debugging output produced by 
zconfig. The default level is 1.  Setting the debug level 
higher produces more output. The maximum output level is 
currently four (4).
-a
Displays the current configuration of the switch.
-t
Tears down the entire switch configuration. 
{-f <file>} | <configuration>
Gets configuration information from the specified file.  A 
<file> name of ‘+’ reads configuration data from standard 
Ethernet Switch Blade User's Guide
release  3.2.2j
page  199