Znyx Networks bh5700 Switch User Manual


 
VLAN 4, zhp3: for last set of six ports, zre18-zre23
Each VLAN interface is labeled
z h p 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).
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
zre7
zre10
zre9
zre8
zre11
zre6
zre19
zre22
zre21
zre20
zre23
zre18
zre13
zre16
zre15
zre14
zre17
zre12
zre1
zre4
zre3
zre2
zre5
zre0
VLAN1
VLAN2
VLAN3
VLAN4
Linux IP
Each VLAN (zhp) contains 6 ports (zre's)
zhp0 zhp1 zhp2 zhp3