tag are given the VLAN tag with the VID number 1, enter:

zre1=untag1;

If port 0 is also a member of VLAN 100, packets for VLAN 100 are sent from this port with a VLAN tag as part of their header.

In the next example, the switch ports 10, 11, and trunk 2 are configured as untagged members of VLAN 100.

zre10,zre11,zrl2=untag100;

This statement is equivalent to the following three lines:

zre10=untag100;

zre11=untag100;

zrl2=untag100;

In the examples above, since port interfaces can only be untagged for one VLAN group, zre1 cannot also be untagged for VLAN 100. A port or trunk can be a member of multiple VLANs but can only be designated untagged on one VLAN.

WILDCARDS

Wild card characters can be included to simplify the process of creating larger, more complex configurations. Wild card characters for zconfig include:

,

(comma)

Use for creating lists

 

..

(dot-dot)

Specifies an inclusive

range

+(plus) Specifies auto-incrementing

Below are some examples for the correct usage of the comma (,) and dot-dot (..). Each line below produces the same results:

zhp0: vlan1 = zre1, zre2, zre3, zre4;

zhp0: vlan1 = zre1..4;

zhp0: vlan1 = zre1, zre2..4;

zhp0: vlan1 = zre1..2, zre3..4;

The following examples create multiple VLAN groups using a single statement. A list of network interface names are followed by a colon (:) and a list of VLAN actions which are followed by an equal sign (=) and a port list. Each VLAN group is created in turn, along with the corresponding

Ethernet Switch Blade User's Guide

release 3.2.2j

page 279

Page 279
Image 279
Znyx Networks bh5700 manual Tag are given the Vlan tag with the VID number 1, enter