1. Latest News
  2. Submit Press Release
  1. PR Home
  2. Latest News
  3. Feeds
  4. Alerts
  5. Submit Free Press Release
  6. Journalist Account

Modular Policy Framework, a topic that tends to confuse.

Modular Policy Framework, a topic that tends to confuse even experienced network engineers is Modular QoS CLI (MQC for short). The configurations look arcane and seem to have their own strange language that humans don’t naturally speak.

FOR IMMEDIATE RELEASE

PRLog (Press Release) - Jan 27, 2009 -
Modular Policy Framework  
By Steve Means
A topic that tends to confuse even experienced network engineers is Modular QoS CLI (MQC for short). The configurations look arcane and seem to have their own strange language that humans don’t naturally speak. Was it purposefully designed to confound us, or just written by bearded OS programmers who type more than they speak? One thing is clear. You need to know this for most Cisco professional level or above certifications, so there is no avoiding it. You might as well learn to speak the language.

MQC has three basic components:
The class map- Identifies traffic
The policy map- Applies actions to the identifies traffic
The service policy- Applies the policy map to an interface or globally

So let’s work through a simple problem to show how to use MQC. You’re given the task: On your router, drop any bittorrent connections from your internal network 10.1.1.0/24 to anywhere. This article assumes the bittorrent protocol has already been discovered by NBAR.

First we need to define an access list that we’ll use in the class map to identify the 10.1.1.0 network.

R1(config)# access list 10 permit 10.1.1.0 0.0.0.255 (Match any traffic that starts with 10.1.1.x)

Now we’ll use a class map to identify the traffic, in this case matching both our access list, and bittorrent traffic:

R1(config)# class-map match-all torrentmap (Create a class map named torrentmap that will match all defined criteria)
R1(config-cmap)# match protocol bittorrent (the traffic first has to be bittorrent)
R1(config-cmap)# match access-group 10 (*AND* it must match our ACL since we did a class-map match-all)

Now we need to apply an action to the traffic we’ve identified:
R1(config)# policy-map torrentblock
R1(config-pmap)# class torrentmap (on traffic that matches the class map…)
R1(config-pmap-c)# drop (drop the packet)

All that remains is to apply the policy to an interface. In this case since we want to block the traffic to anywhere, we’ll apply it to the interface that the 10.1.1.0/24 network resides on. Let’s say that interface is fa0/0.

R1(config-if)# service-policy input torrentblock (apply the policy to the interface in the incoming direction)

And that’s all there is to it; identify the traffic, apply actions to the traffic, apply the policy to an interface.

Article Source:
http://www.ccbootcamp.com/support-resources/resources/ar ...

# # #

CCBOOTCAMP employs the largest number of CCIE Instructors and Engineers of any IT Training Company in the world. Our staff is second to none boasting reliable, knowledgeable, and technical expertise.

--- end ---

Click to Share

Contact Email:
***@ccbootcamp.com
Issued By:Steve Means
Phone:702-968-5100
Address:375 North Stephanie Street, Bldg 21
:Henderson, NV 89014
Zip:89014
State/Province:Nevada
Country:United States
Industry:Technology, Computers
Tags:, , , ccbootcamp,
Last Updated:Jan 27, 2009
Shortcut:http://prlog.org/10173162
Disclaimer:   Issuers of the press releases are solely responsible for the content of their press releases. PRLog can't be held liable for the content posted by others.   Report Abuse

Latest Press Releases By “

More...

Upcoming Press Releases...



  1. SiteMap
  2. Privacy Policy
  3. Terms of Service
  4. Copyright Notice
  5. About
  6. Advertise
Like PRLog?
2.8K1.1K1.1K
Click to Share