Znyx Networks bh5700 manual Examples of Port Interface Statements

Models: bh5700

1 359
Download 359 pages 3.51 Kb
Page 203
Image 203

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 tag are given the VLAN tag with the VID number 1, enter:

Ethernet Switch Blade User's Guide

release 3.2.2j

page 203

Page 203
Image 203
Znyx Networks bh5700 manual Examples of Port Interface Statements