Znyx Networks bh5700 manual Layer 3 Switch

Models: bh5700

1 359
Download 359 pages 3.51 Kb
Page 99
Image 99

Linux IP

zhp0 - zhp23

VLAN 2

zre1

VLAN 4

VLAN 6

VLAN 8

VLAN 10

 

VLAN 12

 

VLAN 14

 

VLAN16

 

VLAN18

 

VLAN20

 

VLAN22

 

VLAN24

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

zre3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

zre5

 

 

 

zre7

 

 

 

 

zre9

 

 

 

zre11

 

 

 

 

zre13

 

 

zre15

 

 

 

zre17

 

 

 

zre19

 

 

zre21

 

 

zre23

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

VLAN 1 VLAN 3 VLAN 5 VLAN 7 VLAN 9 VLAN 11 VLAN 13 VLAN 15 VLAN17 VLAN19 VLAN21 VLAN23

zre0 zre2 zre4 zre6

zre8 zre10 zre12

zre14 zre16 zre18 zre20 zre22

Each vlan interface (zhp) has only one switch port (zre)

Figure 7.3: Layer 3 Switch

The S50layer3 script executes the following commands:

Runs zconfig command to create 24 untagged VLANs (one for each switch port).

/usr/sbin/zconfig zhp0..23: vlan1..24=zre0+ /usr/sbin/zconfig zre0..23=untag1+

NOTE: Double periods (..) after vlan1 and untag1 are used to indicate a range of values. The plus (+) sign after zre1 is a wildcard character that means auto-incremented and causes each zhp interface to hold only one zre (that is, zhp0 has zre1 on vlan1, zhp1 has zre1 on vlan2).

Runs the Linux ifconfig(1M) command for each interface to assign default IP addresses (10.0.0.42-10.0.23.42), sets the netmask and brings up the interfaces.

ifconfig zhp0 10.0.00.42 netmask 255.255.255.0 up ifconfig zhp1 10.0.01.42 netmask 255.255.255.0 up ifconfig zhp2 10.0.02.42 netmask 255.255.255.0 up

.

.

.

ifconfig zhp21 10.0.21.42 netmask 255.255.255.0 up ifconfig zhp22 10.0.22.42 netmask 255.255.255.0 up ifconfig zhp23 10.0.23.42 netmask 255.255.255.0 up

Ethernet Switch Blade User's Guide

release 3.2.2j

page 99

Page 99
Image 99
Znyx Networks bh5700 manual Layer 3 Switch