Znyx Networks bh5700 User Manual

Page 277

Advertising
background image

Network Interface Statements

The syntax for a network interface statement is the interface name followed by a colon and an
action. Network interface statements are used to create or tear down a VLAN group and can
consist of one or a list of network interface names; followed by a colon and then an action. For
example:

zhp0: <Network Interface Action>;

Network interface actions may include:

vlan<N> = list of ports or trunks

Creates a network interface and a VLAN group with a VLAN
identification number (VID) consisting of specified port members.

<N> is an integer between 1-4095.

list of ports or trunks

A port member is identified with the zre<X> format, where x
represents a port number between 0-23 for the in-band ports. A

trunk is identified with the zrl<Y> format, where Y is a number
between 0-31.

If the network interface and VLAN group already exist, the

specified ports or trunks are added to the network interface and
VLAN group.

teardown

Deletes the network interface and the associated VLAN

group.

zre_list = multicast <mac_address>
Register the multicast <mac_address> on the zre_list ports

associated with the given VLAN

multicast_clear Clear all registered multicast address on all the
ports in the VLAN

<list of ports or trunks> teardown

Deletes the specified ports or trunks from the network interface
and the VLAN group associated with it. If there are no remaining

port or trunk members, then also deletes the network interface
and VLAN group.

Examples of Network Interface Statements:

The statement below creates a VLAN group with the VID number 1 and the network interface

named

zhp5

. This VLAN includes a single switch port,

zre1.

zhp5: vlan1=zre1;

Ethernet Switch Blade User's Guide

release 3.2.2j

page 277

Advertising