Gang,

With AstLinux moving to non-editable system files, I want to  
readdress the issue of 802.1p priorities.

We had talked about adding rc.conf variables for defining these, but  
there might be a "right way" that automatically sets the vlan  
priorities.

I have an astlinux box that uses a tagged only VLAN interface, but my  
switches don't separate statistics by 802.1p priorities, so I don't  
know for sure if the below "vconfig set_egress_map" settings are  
correct, but it might be a good start.

Lonnie

My "vlan" section of /etc/init.d/network:

#VLANS
if [ "$VLANS" ]
then
for i in $VLANS
do
IF=`echo $i | cut -d. -f1`
VID=`echo $i | cut -d. -f2`
modprobe 8021q
ifconfig $IF up
vconfig add $IF $VID > /dev/null
vconfig set_egress_map "$IF.$VID" 0 3 > /dev/null
vconfig set_egress_map "$IF.$VID" 1 3 > /dev/null
vconfig set_egress_map "$IF.$VID" 2 1 > /dev/null
vconfig set_egress_map "$IF.$VID" 3 1 > /dev/null
vconfig set_egress_map "$IF.$VID" 4 4 > /dev/null
vconfig set_egress_map "$IF.$VID" 5 5 > /dev/null
vconfig set_egress_map "$IF.$VID" 6 6 > /dev/null
vconfig set_egress_map "$IF.$VID" 7 7 > /dev/null
done
fi


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to