Looking for config example for qos marking on IOS edge router for UCCE

                   I was going through the UCCE SRND for QOS config, and found the following sample, wondering if someone can provide a tested config example to configur the QOS on edge router for UCCE.
access-list 100 permit tcp host Public_High_IP any
access-list 100 permit tcp any host Public_High_IP
access-list 101 permit tcp host Public_NonHigh_IP any
access-list 101 permit tcp any host Public_NonHigh_IPSecond, classify the traffic using a class map:class-map match-all ICM_Public_High
match access-group 100
class-map match-all ICM_Public_Low
match access-group 101
policy-map ICM_Public_Marking
class ICM_Public_High
set ip dscp af31
class ICM_Public_Low
set ip dscp af11Finally, apply the marking policy to the incoming interface:interface mod/port
service-policy input ICM_Public_Marking

Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
If you're going to use only two queues, and if you want to guarantee the one queue 35% of your egress bandwidth, you need to assign your two queues the ratio of 65:35; you'll need to adjust the four queue percentages to provide those two queues the same ratio.  Ideally you'll want something like share 0 65 35 0, but if you cannot assign zero, something like 40 13 7 40, 20 39 21 20, 10 52 28 10 should do.

Similar Messages

  • My backup can not be restor for my iphone after i update the ios to 7 for iphone 5

    hello
    i need your help thats very important for me
    please guide me to solve this problem
    i back up my iphone before i restore the phone for update the ios
    then after change the ios to seven and it turns on the phone and request for restore the backup and i select the only last backup in my itunes and it stared to restore after a moments give me an error not to restore the backup
    and when i search the pc i thouth it exsist
    i had a lot of important information on that
    please help me

    You cannot.  However, your iCloud backup will be available to you in the current release of iOS (7.0.2).

  • Looking for an example VI that shows how to trigger an event in a VI from a subvi based on a value.

    I am looking for an example VI that uses a typical event structure for the GUI, but also has an event that will trigger based on a boolean value changing in a subVI to that VI.
    Thank you.

    You need to Create User Event.  Any Event structure which is registered with the event, whether it be in a subVI or otherwise can trigger the user event by using Generate User Event.
    Right-click an event structure and select Show Dynamic Event Terminal.  This is what you use to register your user (dynamic) events.
    Search for "events" in NI examples within LabVIEW.

  • Time Capsule does work as a router for Vista

    Hi
    I have a time capsule for my mac, which are also used as a router for PCs with XP and 7 without any problems, but I cannot connect from a Vista PC.
    When I choose search for connections, the router is shown, but when I try to connect nothing happens. In some circumstances the wireless radio is even turned off during the process.

    See answer to your other same question.
    Please do not double post questions on the forum.
    Thanks!

  • Looking for an example from app gallery that uses WAAD for identity

    I'm looking for an example from the app gallery (http://azure.microsoft.com/en-us/gallery/active-directory/) that uses WAAD for identity. I need one the show our business what the process would look like for an organization signing up for a SaaS offering
    via the App Gallery. I know all the Microsoft applications use WAAD but I was hoping to find a third-party example.  What I mean is an app where all tenant and user identity is done using WAAD as opposed to federated identity.

    I doubt that what you are looking for exists yet.
    Cheers,
    Markus
    Markus Vilcinskas, Knowledge Engineer, Microsoft Corporation

  • Looking for a examples of a podcast from a law enforcement agency

    Hi, I am looking for podcast examples from a law enforcement agency. Any suggestions?

    I doubt you'll find any through iTunes U which is pretty much all educational institutions, though someone might have posted something from a sociology and criminology program. You might try browsing the iTunes Store podcasts section:
    Browse -> Podcasts -> Government & Organizations
    I didn't go through the entire list, but I did see a podcast from the Center on Law and Security and one from Cop Talk Radio, so there might be podcasts of interest.
    Regards.

  • Javacc and jjtree - looking for working example

    Hi all,
    I am doing a project that requires me to have an input of some java code. It is then run through a parser to tokenize it and it is then outputted into a grammar/syntax tree. My mentor has told me that I do not need to write this part (I will be doing work on tree once it is generated), and by the looks of it the parser can be 2-5k lines of code?
    Anyway, I have been looking at the examples that come with javacc and jjtree, and have those working etc. My problem is that i need to combine the two examples and i cant see anyway of doing that as the examples are vastly different. (one is a java parser the other is a 'stupid program language' tree generator, so they are using different grammars?)
    So my question is: is it possible to get a already made program that takes in java code and spits out a tree on the other end? If not what steps do i need to take to make this program :S
    Thanks!
    Scott.

    Here is a visual example
    http://www.bray.com/rollover.jpg
    The big picture would represent area "A"
    The smaller white outline box area "B"
    And area "C" would be down below
    Notice the thin white lines going from top to bottom and side
    to side represtent the crosshairs and will move around within the
    big picture as the mouse moves. Area "B" would remain centered on
    these crosshairs and would show a fullsize image of the area
    immediately around where the crosshairs are located. On a mouse
    click would change area "C" to pull up some detail text, photos,
    etc.
    The large picture will actually be a map as opposed to a pure
    photo as shown here, it was just easiest to grab a photo real quick
    for this visual example. I borrowed this photo from
    http://www.pezcyclingnews.com/
    I hope they don't mind to much.

  • I'm looking for an example of Session Time Warning dialog

    I'm looking for an example of a Session Timeout warning dialog to warn a user that their session is about to expire.  I'd really like it to have the option to extend the session or logout.
    I have a user submitted Webapp with several fields and an image upload.  The image upload is for a copy of a professional state license.  When the user gets to this field in the form, they realize that they have to scan their form first.  They leave the Webapp Input form open, get their image uploaded finally, submit the form, then they get a message that they are no longer logged in. Any help would be greatly appreciated :)

    If your doing work on the front end like this and you feel the form is to long or things like file upload takes too long then build a multi-step form process and have the image as one of the latter steps so you can start saving the data.

  • Looking for an example for using CreateViewObject()

    ADF 11g
    Hello
    In order to have a temporary vo for some internal processing
    I'm looking for an example for using CreateViewObject()
    If I understand things correctly it is used as follows :
    ViewObject vo = am.createViewObject("MyVO", "package1.DeptView");
    vo.executeQuery()
    // do my processing here
    vo.remove()Is this correct ?
    Regards
    Paul

    Hi Paul,
    Yes it is correct, you can find the sample code in [this post|http://radio.weblogs.com/0118231/stories/2003/01/17/usingViewObjectsInEntityObjectsForAnEfficientExistenceCheck.html] by steve muench(Search with createViewObject for quick referencing)
    Sireesha

  • I am looking for an example ...

    I am looking for an example that would show me a jsp page that retrieves/displays say 20 records at a time from a query which produced say 1000 records as a result. I mean being able to go to next page as well as previous page and display 20 records at a time.
    Thanks for any help.

    It's a little bit long, be patient...
    <%@ page language="Java" import = "java.sql.*" %>
    <jsp:useBean id="myBean" scope ="session" class="bean.DataConnectionBean" />
    <html>
    <body bgcolor="#CCFFFF">
    <%
    String sql; //SQL string
    int rowPerPage=10; //Record size of one page
    int rowTotal; //Total records
    int pageTotal; //Total pages
    int pageIndex; //Pages waiting for display, from 1
    pageIndex = Integer.parseInt( request.getParameter("page") );
    rowTotal=Integer.parseInt( request.getParameter("rowTotal") );
    String sql_2=request.getParameter("sql_2");
    String sql_1= "select " +
    "vin, " +
    "ga_no, " +
    "ga_build_date, " +
    "deliver_date, " +
    "model, " +
    "year_code, " +
    "engine_no, " +
    "initial_mileage " +
    "from vehiclemaster " +
    "where ";
    sql=sql_1+sql_2;
    myBean.connect();
    ResultSet rs=myBean.executeQuery(sql);
    pageTotal = (rowTotal+rowPerPage-1) / rowPerPage; // Get total pages
    if(pageIndex>pageTotal) pageIndex = pageTotal;
    %>
    <table border="0" cellpadding="2" cellspacing="0">
    <tr>
    <td align="left">
    <div align="left">Total <%=rowTotal%> Records</div>
    </td>
    </tr>
    </table>
    <table border="0" width="844">
    <tr bgcolor="#669966">
    <th>VIN</th>
    <th>GA#</th>
    <th>build date</th>
    <th>deliver date</th>
    <th>model</th>
    <th>model year code</th>
    <th>engine#</th>
    <th>initial mileage</th>
    </tr>
    <%
    int absolute=(pageIndex-1) * rowPerPage;
    for(int k=0; k<absolute; k++) rs.next();
    int i = 0;
    String LineColor;
    while( rs.next() && i<rowPerPage && (absolute+i)<rowTotal ){
    String col1=( ( ( col1=rs.getString(1) ) == null || rs.wasNull() ) ? "" : col1 );
    String col2=( ( ( col2=rs.getString(2) ) == null || rs.wasNull() ) ? "" : col2 );
    String col3=( ( ( col3=rs.getString(3) ) == null || rs.wasNull() ) ? "" : col3 );
    String col4=( ( ( col4=rs.getString(4) ) == null || rs.wasNull() ) ? "" : col4 );
    String col5=( ( ( col5=rs.getString(5) ) == null || rs.wasNull() ) ? "" : col5 );
    String col6=( ( ( col6=rs.getString(6) ) == null || rs.wasNull() ) ? "" : col6 );
    String col7=( ( ( col7=rs.getString(7) ) == null || rs.wasNull() ) ? "" : col7 );
    String col8=( ( ( col8=rs.getString(8) ) == null || rs.wasNull() ) ? "" : col8 );
    if (i % 2 == 0) LineColor="#DBECFD";
    else LineColor="#C6E1FD";
    %>
    <TR bgcolor="<%= LineColor %>">
    <TD><%=col1%></TD>
    <TD><%=col2%></TD>
    <TD><%=col3%></TD>
    <TD><%=col4%></TD>
    <TD><%=col5%></TD>
    <TD><%=col6%></TD>
    <TD><%=col7%></TD>
    <TD><%=col8%></TD>
    </TR>
    <%i++;
    }%>
    </table>
    <div align="center">
    <table border="0" align="left">
    <tr>
    <td align="left">
    <div align="left">Page <%=pageIndex%> / <%=pageTotal%> 
    <%if(pageIndex<pageTotal){%>
    <a href="QueryVehicleResult.jsp?sql_2=<%=sql_2%>&rowTotal=<%=rowTotal%>&page=<%=pageIndex+1%>"><img src="images/next.gif" border="0">
    </a>
    <%}%>
    <%if(pageIndex>1){%>
    <a href="QueryVehicleResult.jsp?sql_2=<%=sql_2%>&rowTotal=<%=rowTotal%>&page=<%=pageIndex-1%>"><img src="images/prev.gif" border="0">
    </a>
    <%}%>
    </div>
    </td>
    </tr>
    </table>
    </div>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    </body>
    </html>
    <%
    rs.close();
    myBean.close();
    %>

  • I am looking for labview examples related to ECG

    Hi, everyone!
    I need your help.
    I am looking for labviews examples, which are related
    to ECG for my thesis .
    I wait for your answer.
    thanks in advance

    Burcu;
    I am not sure what type of examples are you looking, so this is a start:
    Searching at the LabVIEW Discussion forum I found:
    Example
    calculate heart rate from ECG
    how to design a suitable vi to acquire ECG waveform?
    Doing a search with Google:
    LabView Exercise to model and analysis ECG/EKG data
    EE 206 MINI-PROJECT I CARDIAC MONITOR VI
    Searching an NI.com:
    PC-Based ECG Monitoring and Analysis Using BioBench (LabVIEW VIs at bottom - not sure if link is dead)
    Regards;
    Enrique Vargas
    www.visecurity.com
    www.vartortech.com

  • Looking for istructions/examples for using winsock in Labview

    I'm looking for instructions or examples of using winsock in Labview. Looking in the NI examples I found an example using winsock UDP with Labwindows but nothing for Labview. Is the same function named different in Labview?

    Thanks for the links. Unfortunately, I am specifically looking for the ways to use WinSock (I want to collect data from a number of remote locations and the WinSock would provide me with an effective way to
    a) control the telephone number to be dialed (different for different remote stations)
    b) provide me with TCP/IP, so I could use the full power of LabVIEW seeing a remote computer as an IP address (and being able to use shared variables, web server, data socket etc. instead of me having to program all that myself)
    The other acceptable way would be to utilise a driver for a virtual network card (so I can programmically access it as TCP/IP on one side, and as a flow of bytes on the other, "virtual network cable", side). Any suggestions in this direction? By the way, it would be the best if the National Instuments would do such a virtualisation themselves. It would allow to utilise a number of solutions painlessly.

  • QoS marking/classification for PSTN traffic

    I have a customer with central site and branch sites, all PSTN traffic goes out via the central site over WAN (MPLS). They are expereincing some quality issues, it appears that the traffic from remote site to HQ is marked fine and LLQ works, however the traffic back is not. How do I ensure that traffic from PSTN gets marked properly? Using MGCP GW.
    CHris

    Chris,
    The RTP stream is between the remote ip phone and central PSTN gateway. So you need to trust the dscp that PSTN gateway marks RTP packets with on the switch port. Map the cos values to internal DSCP properly and on the egress port that your wan gateway is connected, you can enable wrr-queueing (or srr) with priority queue enabled on that port. LLQ should take care of the wan (which you have properly configured).
    For marking mgcp control packets with right qos, (control) you need
    mgcp ip qos dscp cs3 signalling. (not af31, since your callmanager is possibly 4.1)
    I would create a service policy to mark all rtp packets on the Fast E interface of the PSTN switch.
    class-map VoiceB
    match ip rtp 16384 16383
    policy-map MarkRTP
    class VoiceB
    set ip dscp ef
    int fa0/0
    service-policy output MarkRTP
    On the ingress port on the switch, where the PSTN gateway is connected,
    assuming commands are for a 3550:
    mls qos
    mls qos cos-map 0 8 16 24 34 46 48 56
    int fa0/1
    switchport mode dynamic desirable
    switchport access vlan 20 (this is your voice vlan)
    spanning-tree portfast
    wrr-queue cos-map 4 5
    wrr-queue cos-map 3 3 6 7
    wrr-queue cos-map 1 0 1 2 4
    priority-queue out
    mls qos trust dscp --- trust dscp from the PSTN gateway
    On the egress port that goes into the WAN gateway:
    int fa0/24
    switchport mode dynamic desirable
    switchport access vlan 200 (this is your vlan for wan gateway)
    spanning-tree portfast
    wrr-queue cos-map 4 5
    wrr-queue cos-map 3 3 6 7
    wrr-queue cos-map 1 0 1 2 4
    priority-queue out -- priority queues RTP traffic
    mls qos trust dscp --- trust dscp from the packets coming in from WAN
    Depending on your switches, WRR may change to SRR.
    HTH
    Sankar.

  • Looking for good example about Woodstock components and custom validators

    Hi guys,
    could someone be so kind to give (or suggest) me a simple, minimal and working example with a Woodstock TextField (or Calendar) component and a custom validator?
    I cannot find good examples, all the ones I find on the net are too much wide and confusing so that I'm not able to adapt them to my needs.
    I already made a custom validator (formerly, "DateValidator") with the "validate()" method, and added it to some dynamically created components with code like this:
    calendar1.setImmediate(true);
    calendar1.setAutoValidate(true);
    MethodExpression methodExpression = facesContext.getApplication().getExpressionFactory().createMethodExpression(elcontext, "#{DateValidator.validate}", null, new Class[] { FacesContext.class, UIComponent.class, Object.class });
    calendar1.setValidatorExpression(methodExpression);
    Now, when I change data in the textbox or in the calendar, I see that something obscure is moving (this because I can read "Reading from localhost..." in the status bar of the browser), but nothing happens, and the validator method is never called (I tried this with the debugger).
    I think that only a good example could save me from the dark... Thanks in advance!

    Yes, I'd thought about just having the user set their
    timezone (similar to the forum Settings). However,
    even this forum settings causes some confusion.
    There's two options for a number of timezones. What
    differentiates them? The daylight saving rules are
    important to know and the list of timezones doesn't
    indicate this in any way. This list doesn't show all
    available timezones either (as previously mentionted,
    there's seven timezones for GMT -0700).Then you would have to do a better job than Sun did, wouldn't you? After all if you are going to be interpreting the answer you get, you had better ask a clear question. If you want to know the list of timezones actually supported by Java, then examine the source code for the TimeZone class. You can also search Google for "time zones" for links that will keep you busy for weeks learning the arcana of time zones around the world.

  • Searching for phrases which include quotation marks

    I'm trying to find a way to do searches for phrases which include quotation marks. This has proved impossible, since quotation marks are  needed to frame the search, such as:
    "this is the phrase I'm looking for"
    But what if I want to find a phrase such as:
    and then he said, "Have a nice day," and I laughed
    In another thread I found a reference to a raw query search, which  allows for case-sensitive searching:
    https://discussions.apple.com/message/12692997#12692997
    The example of:
    kMDItemTextContent == "THIS TEXT AS IT APPEARS HERE"dw
    Is part of what I'm trying to do, except I also want to include a quote.
    Any ideas?
    Thanks!

    According to "File Metadata Query Expression Syntax",
    Characters such as " and ‘ in the value string should be escaped using the \ character.
    So your raw query should be
    kMDItemTextContent == "and then he said, \"Have a nice day,\" and I laughed"
    …However, there is a wrinkle. I tested it on a text file containing the string
    a problem ("the perpetrator gained access
    The query
    kMDItemTextContent == "\"the perpetrator gained access"
    should find it—but doesn't. However, the query
    kMDItemTextContent == "(\"the perpetrator gained access"
    does find it.
    So either I don't know how to use this, or the syntax is buggy, and, in certain circumstances, \ is not interpreted as a metacharacter.

Maybe you are looking for