beautypg.com

Branch office 2 – Allied Telesis AlliedWare AR440S User Manual

Page 51

background image

Page 51 | AlliedWare™ OS How To Note: VPNs for Corporate Networks

branch office 2

#

If you use telnet instead (not recommended), create a rule for it.

#

add firewall policy=branch2 ru=7 ac=allo int=ppp0 prot=tcp po=23

#

ip=192.168.142.254 gblip=0.0.0.0 gblp=23

#

INT configuration - if prioritising VoIP

set int=ppp0 mtu=256

set int=ppp0 frag=yes

#

CLASSIFIER configuration - if prioritising VoIP

#

Create a classifier to identify voice traffic (DSCP value 48 in

#

this example).

create class=48 ipds=48

#

Software QoS configuration - if prioritising VoIP

ena sqos

#

Create a traffic class. This traffic class tags the classified

#

traffic as high priority on the interface queue. Also,make the

#

queue small - this is optimal for VoIP traffic.

cre sqos tr=1 prio=15 maxq=10

#

Create a policy with a virtual bandwidth and assign the traffic

#

class to this policy.

cre sqos poli=1 virt=120kbps

add sqos poli=1 tr=1

add sqos tr=1 class=48

set sqos interface=ipsec-hq tunnelpolicy=1