[Typical configuration] AR18 Broadband Router NAT + QoS typical application and configuration

Source: Internet
Author: User

Application description
Purpose: Enable NAT and QOS at the same time on AR1830. The data stream sent from PC1 is defined as 5 with a Gold priority. at least 50% of the ADSL bandwidth must be guaranteed; data Streams sent from PC2 are defined as multimedia (priority 3). At least 20% of the ADSL bandwidth must be guaranteed; Network Management (Priority 7) must ensure 10% of the bandwidth, but when the network is not busy,
Each data stream can exceed the bandwidth defined by itself.

Implementation: The first step is to identify Gold and Multimedia on the Ethernet portal and set IP-precedence. for network management traffic, configure classifier to match data packets whose source address is Lo0 port, configure the car in the upstream port (adsl port) to set IP-precedence, and configure the EF queue to ensure priority forwarding. For the Multimedia and gold streams with IP-precedence typed at the Ethernet entry, make an AF queue on the uplink port to ensure bandwidth. Note that only the percentage bandwidth can be configured on the outbound interface, or only the specified digital bandwidth can be configured, you cannot configure the bandwidth as a percentage or 25%/25%/16 K as required by the customer. Therefore, you need to know the uplink bandwidth in advance and then calculate it by yourself, check whether the bandwidth is configured as a percentage or a digital bandwidth.

In addition, the QoS bandwidth of the ADSL interface is 640bps according to international standards.

Networking Diagram

Notes
1. QoS CBQ can only be applied to the PVC of the ATM interface and cannot be used directly on the ATM interface or Dialer port;
Detailed Configuration
AR18-30PPPoE Client) Configuration:
discur
# 
sysnameRouter
# 
dialer-rule1ippermit
# 
trafficclassifiergoldoperatorand
if-matchip-precedence5 
trafficclassifiersnmpoperatorand
if-matchacl3003 
trafficclassifiermultimediaoperatorand 
if-matchip-precedence3 
# 
trafficbehaviorgold 
 queueafbandwidthpct50
trafficbehaviorsnmp 
 queueafbandwidthpct10
trafficbehaviormultimedia
 queueafbandwidthpct20
# 
qospolicypolicy1 
classifiermultimediabehaviormultimedia 
classifiergoldbehaviorgold 
classifiersnmpbehaviorsnmp 
# 
interfaceDialer1 
link-protocolppp 
mtu1450 
ipaddressppp-negotiate 
dialerusertest 
dialer-group1
dialerbundle1
natoutbound3000 
# 
interfaceEthernet1/0 
ipaddress202.150.1.31255.255.255.0 
qoscarinboundacl3001cir100000000cbs100000000ebs0greenremark-prec-pa
ss5redremark-prec-pass5
qoscarinboundacl3002cir100000000cbs100000000ebs0greenremark-prec-pa
ss3redremark-prec-pass3
# 
interfaceAtm2/0
pvc4/33 
 mapbridgeVirtual-Ethernet1 
 qosreserved-bandwidthpct100
 qosapplypolicypolicy1outbound
qoscaroutboundacl3003cir16000cbs15000ebs0greenremark-prec-pass7re
dremark-prec-pass7
# 
interfaceVirtual-Ethernet1
pppoe-clientdial-bundle-number1 
# 
interfaceNULL0
# 
interfaceLoopBack0
ipaddress202.150.10.1255.255.255.255
# 
aclnumber3000
rule0permitipsource202.150.1.00.0.0.255 
rule1denyip
aclnumber3001
rule0permitipsource202.150.1.10 
aclnumber3002
rule0permitipsource202.150.1.20 
aclnumber3003
rule0permitipsource202.150.10.10
# 
iproute-static0.0.0.00.0.0.0Dialer1preference60
# 
user-interfacecon0
idle-timeout00 
user-interfacevty04 
authentication-modenone 
userprivilegelevel3
# 
return 
AR4640PPPoEServer) Configuration:
discur
# 
sysnameAR46-40
# 
local-usertestpasswordsimpletest 
# 
ippool143202.143.1.100202.143.1.200
# 
interfaceVirtual-Template33
pppauthentication-modepapschemedefault
pppaccountingschemedefault
ipaddress202.143.1.46255.255.255.0 
remoteaddresspool143 
# 
interfaceAux0 
asyncmodeflow          

Related Articles]

  • [Typical configuration] IPOEOA of AR18 Broadband Router ADSL Application
  • [Typical configuration] Application of DVPN in AR18 Broadband Router
  • [Typical configuration] AR18 Broadband Router VRRP Application

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.