Znyx Networks bh5700 manual Multiple Vlan Configuration

Models: bh5700

1 359
Download 359 pages 3.51 Kb
Page 101
Image 101

VLAN 4, zhp3: for last set of six ports, zre18-zre23

Each VLAN interface is labeled zhp N in the file, where N is a value from 0-3. Each interface is untagged and assigned its own IP address (see Figure 7.4).

Linux IP

zhp0

VLAN1

zre1 zre3 zre5 zre0 zre2 zre4

zhp1

zhp2

zhp3

 

 

 

VLAN3

zre13 zre15 zre17 zre12 zre14 zre16

VLAN2VLAN4

zre7 zre9 zre11 zre6 zre8 zre10

zre19 zre21 zre23 zre18 zre20 zre22

Each VLAN (zhp) contains 6 ports (zre's)

Figure 7.4: Multiple VLAN Configuration

The S50multivlan script executes the following commands:

Runs zconfig to create and start four VLANs. Switch ports 0-9 are placed in the first VLAN, ports 10-19 in the second VLAN, ports 20-21 are placed in the third VLAN, and ports 22-23 are placed in the fourth VLAN.

/usr/sbin/zconfig zhp0: vlan1=zre0..5 /usr/sbin/zconfig zre0..5=untag1 /usr/sbin/zconfig zhp1: vlan2=zre6..11 /usr/sbin/zconfig zre6..11=untag2 /usr/sbin/zconfig zhp2: vlan3=zre12..17 /usr/sbin/zconfig zre12..17=untag3 /usr/sbin/zconfig zhp3: vlan4=zre18..23 /usr/sbin/zconfig zre18..23=untag4

NOTE: Double periods (..) after vlan1 and untag1 are used to indicate a range of values.

Runs the Linux ifconfig command for each interface to assign default IP addresses

Ethernet Switch Blade User's Guide

release 3.2.2j

page 101

Page 101
Image 101
Znyx Networks bh5700 manual Multiple Vlan Configuration