The next statement creates a VLAN group with the VID number 100 and the network interface named zhp1. This VLAN includes four switch ports, zre1, zre10, zre11, zre13.

zhp0: vlan100 = zre1,zre10,zre11,zre13;

The next statement adds two switch ports, zre1, zre2 and zre3, to an existing network interface and VLAN.

zhp0: vlan100 = zre1..3;

The next statement deletes two switch ports, zre1 and zre2, to an existing network interface and VLAN.

zhp0: zre1..2 teardown;

The final example is a teardown action that deletes the VLAN group defined in the previous example, including the network interface.

zhp1: teardown;

Port Interface Statements

Port interface statements specify a port or trunk name or a list of such names; followed by an equal sign (=) and then the action. Port interface actions may include:

SYNTAX

zconfig <zre_list>=untag<n>

untag<N> Packets sent from this port or trunk for VLAN <N> are transmitted without a VLAN tag. The port or trunk specified must have previously been included in the VLAN group with VID<N>.

zconfig <zre_list> multicast=<forward_type>

<forward_type> Set the ports specified to act as defined by the forward_type for multicast traffic. Possible <forward_types> are:

forward_unregistered (default) forward_all filter_unregistered

Examples of Port Interface Statements:

Assuming that zre1 has been assigned to VLAN 1, to specify that packets sent from port 1 for VLAN 1 are transmitted without a VLAN tag, and packets arriving on this port without a VLAN

Ethernet Switch Blade User's Guide

release 3.2.2j

page 278

Page 278
Image 278
Znyx Networks bh5700 manual Zhp0 vlan100 = zre1,zre10,zre11,zre13