Installation guide
A Sample VLAN Topology
A Sample VLAN Topology
Chapter 7
80
case "$1" in
start)
# Build vlan3 that contains zre0..11,zrezre14..21.
#
zconfig zhp2: vlan3=zre0..11,zre14..21
zconfig zre0..11,zre14..21=untag3
# Do not assign an IP address to this zhp2/vlan3.
# Just set the state of zhp2/vlan3 to up.
#
ifconfig zhp2 up
;;
stop)
# Tear down vlan3 that contains zre0..11,zre14..21.
#
ifconfig zhp2 down
zconfig zhp2:teardown
;;
*)
echo "Usage: $0 { start | stop }"
exit 1
esac
exit 0
Step 2. Enter the following command line to move the default script out of the way. This will ensure that
the default script does not execute on the Switch Blade that configures the base interfaces:
mv /etc/rcZ.d/S50layer2 /etc/rcZ.d/off.S50layer2
Step 3. Enter the zsync command to make the rc script persistent:
zsync
Step 4. Enter the following commands to start up zhp2/vlan3:
chmod 755 /etc/rcZ.d/S23base
/etc/rcZ.d/S23base start
Step 5. Use the following commands to ensure that zhp2/vlan3 is properly configured:
zconfig -a
zhp0: vlan1 = zre13
zhp1: vlan2 = zre12
zhp2: vlan3 = zre0..11, zre14..21