can someone verify this config before I apply it to my edge router
I am trying to set admin at 40% vlan 20 and 50 resident at 40% vlan 30 and 40 and guest at 10% vlan 60
Incoming policy:
- set traffic-policy shaper lan bandwidth 50mbit
- set traffic-policy shaper lan class 2 bandwidth 40%
- set traffic-policy shaper lan class 2 ceiling 90%
- set traffic-policy shaper lan class 2 priority 1
- set traffic-policy shaper lan class 2 match Admin ip destination address 191.168.20.0/24
- set traffic-policy shaper lan class 2 match Admin ip destination address 191.168.50.0/24
- set traffic-policy shaper lan class 3 bandwidth 40%
- set traffic-policy shaper lan class 3 ceiling 90%
- set traffic-policy shaper lan class 3 priority 2
- set traffic-policy shaper lan class 3 match Residents ip destination address 192.168.30.0/24
- set traffic-policy shaper lan class 3 match Residents ip destination address 191.168.40.0/24
- set traffic-policy shaper lan class 4 bandwidth 20%
- set traffic-policy shaper lan class 4 ceiling 90%
- set traffic-policy shaper lan class 4 priority 3
- set traffic-policy shaper lan class 4 match Guests ip destination address 192.168.60.0/24
- set traffic-policy shaper lan default bandwidth 100%
- set interfaces ethernet eth1 vif 20 traffic-policy out lan
- set interfaces ethernet eth1 vif 30 traffic-policy out lan
- set interfaces ethernet eth1 vif 40 traffic-policy out lan
- set interfaces ethernet eth1 vif 50 traffic-policy out lan
- set interfaces ethernet eth1 vif 60 traffic-policy out lan
Outgoing policy:
- set traffic-policy shaper wan bandwidth 50mbit
- set traffic-policy shaper lan class 2 bandwidth 40%
- set traffic-policy shaper lan class 2 ceiling 90%
- set traffic-policy shaper lan class 2 priority 1
- set traffic-policy shaper lan class 2 match Admin ip destination address 191.168.20.0/24
- set traffic-policy shaper lan class 2 match Admin ip destination address 191.168.50.0/24
- set traffic-policy shaper lan class 3 bandwidth 40%
- set traffic-policy shaper lan class 3 ceiling 90%
- set traffic-policy shaper lan class 3 priority 2
- set traffic-policy shaper lan class 3 match Residents ip destination address 192.168.30.0/24
- set traffic-policy shaper lan class 3 match Residents ip destination address 191.168.40.0/24
- set traffic-policy shaper lan class 4 bandwidth 20%
- set traffic-policy shaper lan class 4 ceiling 90%
- set traffic-policy shaper lan class 4 priority 3
- set traffic-policy shaper lan class 4 match Guests ip destination address 192.168.60.0/24
- set traffic-policy shaper lan default bandwidth 100%
- set interfaces ethernet eth0 traffic-policy out wan