So I recently moved my WAN to a VLAN under eth0 (eth0.100). If I modify my traffic-policy (i.e. change the default bandwidth) I get the following error.
admin@wd-ubnt-em5p# commit
[ traffic-policy shaper UpStream ]
Use of uninitialized value in concatenation (.) or string at /opt/vyatta/sbin/vyatta-qos.pl line 247.
Looking at that line, it's:
my $level = $intf->path() . ' traffic-policy';
Seems to still work since the commit actually commits, but I'm not 100% sure my QOS is even working now. I tried calling my phone system earlier and there was a lot of upstream loss. It cleared up on it's own, but I found it strange.
Here's my traffic-policy config
shaper UpStream { bandwidth 20mbit class 10 { bandwidth 30% burst 15k ceiling 100% description Elastix match addr { ip { source { address 192.168.192.5/32 } } } priority 7 queue-type fair-queue } default { bandwidth 60% burst 15k ceiling 100% priority 2 queue-type fair-queue } description "UpStream QoS policy" }
Here's where I apply it to the VLAN
ethernet eth0 { description "Trunk" duplex auto poe { output off } speed auto vif 100 { address dhcp description "TWC WAN VLAN" dhcpv6-pd { pd 0 { interface switch0 { } prefix-length 64 } rapid-commit enable } firewall { in { ipv6-name WANv6_IN name WAN_IN } local { ipv6-name WANv6_LOCAL name WAN_LOCAL } } traffic-policy { out UpStream } } vif 101 { address 192.168.194.1/24 description "LAN VLAN" mtu 1500 } }
Any ideas would be great.