Installation guide

A Sample VLAN Topology
A Sample VLAN Topology
Chapter 7
78
set -u
case "$1" in
start)
# Build vlan2 that contains zre12 as the only
# configured port.
#
zconfig zhp1: vlan2=zre12 # zre12 egress is front-panel
zconfig zre12=untag2
# Assign an IP address to zhp1/vlan2:
#
ifconfig zhp1 10.35.50.41 netmask 255.0.0.0 up
;;
stop)
# Tear down vlan2 that contains zre12.
#
ifconfig zhp1 down
zconfig zhp1:teardown
;;
*)
echo "Usage: $0 { start | stop }"
exit 1
esac
exit 0
Step 2. Enter the zsync command to make the rc script persistent:
zsync
Step 3. Enter the following commands in order to start up zhp1/vlan2:
chmod 755 /etc/rcZ.d/S22mgmt
/etc/rcZ.d/S22mgmt start
Step 4. Use the following commands to verify that zhp1/vlan2 is properly configured:
zconfig -a
zhp0: vlan1 = zre13
zhp1: vlan2 = zre12
zre13 = untag1
zre12 = untag2
ifconfig zhp1
zhp1 Link encap:Ethernet HWaddr 00:11:65:09:EC:19