Configuration syntax – Znyx Networks bh5700 User Manual

Page 200

Advertising
background image

input. If the -f flag is not used, a single line of

configuration data can be entered as parameters to zconfig.

CONFIGURATION SYNTAX

zconfig takes configuration data from standard input or from a file with the -f option. In
either case, the configuration syntax is the same. The zconfig configuration data consists of a
list of semicolon-delimited statements. Each statement specifies an action to take globally or on
an interface. An interface is one of three types: a network interface called ZNYX host port
(zhp); a switch port interface called ZNYX Raw Ethernet (

zre

); or a trunk interface called

ZNYX RainLink (zrl).

Comments, spaces and new lines are ignored. Comments begin with the # character and include
characters through the next new line.

Global Statements

Global statements can be used to set modes of operation on a switch-wide basis. The only
supported global statement is to set and teardown Double VLAN tag mode.

Global Statement Syntax:

Double VLAN tag mode is set and removed on a global basis with the following syntax.

dvlan 0x8100 | 0x9100; (or other unused ethertype)

dvlan teardown;

The first option sets double VLAN tag mode on all ports and establishes the outer tag id. The
second tears down double VLAN tag mode.

Trunk Interface Statements

A trunk interface statement begins with the trunk name followed by an equals sign and an action.
Trunk interface statements are used to create or tear down trunks or define the rules to determine
which member of the trunk should be used to transmit a packet

Trunk interface syntax:

zrl0 = <Trunk Interface Action>;

Trunk interface actions:

List of ports

Creates a trunk interface with the specified

port members. All of the ports specified must not be a part

of any other trunk, or be individually included in any network
interface. Up to eight ports can be included in a trunk.

A port member is identified with the zre<X> format, where x

represents a port number between 0 and 23 for the in-band
ports. The Out of Band ports cannot be included in the List of

Ethernet Switch Blade User's Guide

release 3.2.2j

page 200

Advertising