Cisco Router Traffic Control instance

Source: Internet
Author: User


There are too many Qos information on the Cisco Router Traffic Control instance, but many of them are not practical. I have talked about a lot of theories. The following are the configurations on the routers of a subsidiary for your reference. In fact, as long as you understand the meaning of NBAR, CBWFQ, and WRED, traffic control can be configured as needed. Www.2cto.com Description: A subsidiary uses a 2 m leased line to access the Internet. The intranet segment is 192.168.23.0/24 (for common employees) and 192.168.24.0/24 (for the general manager's VLAN). the IP address of the router is 192.168.23.1, the IP address of the internal cisco3560 switch is 192.168.23.254. Currently, traffic control is required to give priority to the general manager's traffic and to transmit voice and video and network management traffic. Other services such as smtp, pop3, and ftp are of low priority, and bt download is prohibited. The configuration is as follows: Current configuration: 3590 bytes !! Version 12.3 service timestamps debug datetimeservice timestamps log datetimeservice password-encryption! Hostname xxxxxx! Www.2cto.com enable secret 5 $ 44adf # dfdfj090 $ on! Clock timezone China 8ip subnet-zerono ip source-routeip cef !! Ip name-server 192.168.23.2ip name-server x. x! No ip bootp server! Ip nbar pdlm flash: bittorrent. pdlm class-map match-any premium_classdescription For premiummatch protocol httpmatch protocol icmpmatch protocol netshowmatch protocol pcanywherematch protocol realaudiomatch protocol secure-httpmatch access-group 111 Note: The above content is omitted, hey! Class-map match-any normal_calssdescription For normalmatch protocol ftpmatch protocol imapmatch protocol pop3match protocol smtpmatch access-group 110 class-map match-any bt_downloaddescription For dropmatch protocol bittorrent !! Policy-map execution class execution percent execution exponential-weighting-constant 4 police cir 2000000 bc 10000 be executed conform-action execution-action transmit class execution percent execution exponential-weighting-constant 4 police cir 2000000 bc 2000 be 2000conform-action transmitexceed-action drop www.2cto.com class bt _ Download drop !!!! Interface FastEthernet0/0ip address 192.168.23.1 255.255.255.0ip verify unicast reverse-pathip nat insideip route-cache same-interfaceip route-cache policyduplex autospeed autono cdp enable! Interface Serial0/0 bandwidth 2048ip address specified parameter 255.255.252ip verify unicast reverse-pathno ip proxy-arpip nat outsiderate-limit input 2000000 20000 20000 conform-action transmit exceed-action dropip route-cache policyservice-policy output qos_policy_mapno cdp enable! Ip nat inside source list 10 interface Serial0/0 overloadip classlessip route 0.0.0.0 0.0.0.0 210.88.44.y ip route 192.168.24.0 255.255.255.0 192.168.23.254no ip http server !! Access-list 10 remark NATaccess-list 10 permit 192.168.23.0 0.0.255access-list 10 permit 192.168.24.0 0.0.255 access-list 110 remark normalaccess-list 110 permit ip 192.168.23.0 0.0.0.255 any comment access-list 111 remark premiumaccess- list 111 permit ip 192.168.24.0 0.0.255 any no cdp run! Banner motd ^ !!! ^ C! Line con 0exec-timeout 0 0 line aux 0 line vty 0 4 password 7 121A0C0411045D5D7Clogin !!! End note: Internet bandwidth is 2 M, so the Exponential weighting factor in WRED is 4, the minimum threshold is 5, the maximum threshold is 17, and the marked probability denominator is 1.

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.