Commit 4777ecc2 authored by Adam Wujek's avatar Adam Wujek 💬

rootfs: update example configuration in vlan_config.sh (wriX)

Due to interfaces names' and wrs_vlans parameters changes.
Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent e2a24edb
......@@ -5,17 +5,17 @@ set -e
## fill this file with vlans configuration
## Please note:
## wr1 is marked as port 2 on the front panel of the switch
## wri2 is marked as port 2 on the front panel of the switch
## in other words:
## --ep1 == wr1
## but:
## wr1 == port2
## --port 2 == wri2
## and:
## wri2 == port2
## example configuration:
# configure ports 1-4,6,8-18 as evid 1
# /wr/bin/wrs_vlans --ep 0-3,5,7-17 --emode 0 --evid 1
# configure ports 5,7 as evid 2
# /wr/bin/wrs_vlans --ep 4,6 --emode 0 --evid 2
# configure ports 1-4,6,8-18 as pvid 1
# /wr/bin/wrs_vlans --port 1-4,6,8-18 --pmode 0 --pvid 1
# configure ports 5,7 as pvid 2
# /wr/bin/wrs_vlans --port 5,7 --pmode 0 --pvid 2
## set VID=1 on all ports except 4 and 6
## - binary: 11 1111 1111 1010 1111
......@@ -28,6 +28,6 @@ set -e
# /wr/bin/wrs_vlans --rvid 2 --rfid 2 --rmask 0x00050
## when VLANs are defined, comment out the line below
echo -n "no configuration "
echo -n "no vlan configuration "
exit 0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment