Route based on ip hash policy

I got ucs chassis connected to 2 7k in vpc mode. Can i use route base on IP hash as a vmware load balancing policy or does it have to be route based on virtual port ID

yes sorry i mean the ucs chassis to FI and FI to 7k.
FI connected via VPC. Can i use IP hash load balancing?

Similar Messages

  • Select Switch Executive Route based on Socket Index

    Hi,
    I have a sequence set up in TestStand which simultaneously tests up to 4 UUT's. In order to run a current measurments, I need to be able to switch each device through the DMM. I have the routes properly configured in Swith Executive, and everything runs fine when I switch manually using the Test Panel feature. What I need to do now though, is choose which device is routed to the DMM based on its test socket number. 
    So, for the "Measure Current" test step on "Test Socket 0", I go to the Properties>Switching window and just select "Connect_UUT0" route group. This works fine for a single test socket, but how can I dynamically switch route when I have more than one UUT?
    I'm aware of the "RunState.TestSockets.MyIndex" variable, but I can't seem to select a route based on this. ie: In "Routes to Connect" I typed "Str(Connect_UUT)+Str(RunState.TestSockets.MyIndex)" after I read a similar solution on this forum, but I just get an error.
    I'd really appresciate some help on this,
    Thanks,
    Kevin
    Solved!
    Go to Solution.

    Hey Kevin,
    You shouldn't need to do Str(Connect_UUT). You're likely getting the error because it's trying to interpret Connect_UUT as a variable instead of a string. Try this instead:
    "Connect_UUT"+Str(RunState.TestSocks.MyIndex)
    I think that will work, but let us know if you run into any more trouble!
    Daniel E.
    TestStand Product Support Engineer
    National Instruments

  • Router based activity  and method call issue

    Hi All
    Iam presently working of Router based task flow(Bounded task flow) and page fragments
    here in above router based task flow i have used the method call.
    In above method call i return status ,and on basis of that status i redirect it to success page or error page(the success and error page are page fragments i.e. .jsff page).
    i have done the drag and drop of the above mentioned router based task flow in my jspx page in a facet as a region.
    below is the code for the my jspx page
    <af:region value="#{bindings.testtaskflowvalidations.regionModel}"
                           id="r1"/>but my problem is that the method call which i included in above router based ,that method is not called(method call is not being happened).
    So what changes i need to make so that the method is being is called.
    currently iam using jdevloper 11.1.1.4.0
    Thanks and Regards
    Bipin Patil.
    Edited by: Bipin Patil on Jun 29, 2011 1:59 AM

    Hi
    iam not getting any kinds of server errors.
    below is my router code
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <task-flow-definition id="ValidationTaskFlow">
        <default-activity id="__1">ValidationTask</default-activity>
        <managed-bean id="__25">
          <managed-bean-name id="__24">validationBean</managed-bean-name>
          <managed-bean-class id="__27">com.test.Validate</managed-bean-class>
          <managed-bean-scope id="__26">pageFlow</managed-bean-scope>
        </managed-bean>
        <router id="ValidationTask">
          <case>
            <expression>#{pageFlowScope.Validationstatus == 'true'}</expression>
            <outcome id="__2">success</outcome>
          </case>
          <case>
            <expression>#{pageFlowScope.Validationstatus == 'false'}</expression>
            <outcome id="__3">fail</outcome>
          </case>
          <default-outcome>fail</default-outcome>
        </router>
        <view id="validationsuccess">
          <page>/pages/main.jsff</page>
        </view>
        <view id="validationerror">
          <page>/pages/hashkeyvalidationerror.jsff</page>
        </view>
        <method-call id="ValidationStatusSupplier">
          <method>#{pageFlowScope.validationBean.onBeforePhase}</method>
          <outcome id="__9">
            <fixed-outcome>ValidateFlow</fixed-outcome>
          </outcome>
        </method-call>
        <control-flow-rule id="__10">
          <from-activity-id id="__11">ValidationTask</from-activity-id>
          <control-flow-case id="__12">
            <from-outcome id="__14">success</from-outcome>
            <to-activity-id id="__13">validationsuccess</to-activity-id>
          </control-flow-case>
          <control-flow-case id="__16">
            <from-outcome id="__15">fail</from-outcome>
            <to-activity-id id="__17">validationerror</to-activity-id>
          </control-flow-case>
        </control-flow-rule>
        <control-flow-rule id="__19">
          <from-activity-id id="__20">ValidationStatusSupplier</from-activity-id>
          <control-flow-case id="__23">
            <from-outcome id="__21">ValidateFlow</from-outcome>
            <to-activity-id id="__22">ValidationTask</to-activity-id>
          </control-flow-case>
        </control-flow-rule>
        <use-page-fragments/>
        <visibility id="__18">
          <url-invoke-allowed/>
        </visibility>
      </task-flow-definition>
    </adfc-config>

  • Route based VPN ?

    Hi all,
    Are there any Cisco gears supporting route-based vpn (not GRE over IPSec) ?

    Same problem here. Just works on Snow Leopard. Now I have to use a Windows virtual machine to connect to Linux based PPTP VPN. It is a shame.
    I noticed that I can ping and SSH to the VPN server machine. In my case, the local IP address for that machine is 192.168.41.6. I can ping it and SSH it.
    MacBook-de-Daniel:~ daniel$ ping -c 4 192.168.41.6
    PING 192.168.41.6 (192.168.41.6): 56 data bytes
    64 bytes from 192.168.41.6: icmp_seq=0 ttl=64 time=262.643 ms
    64 bytes from 192.168.41.6: icmp_seq=1 ttl=64 time=320.283 ms
    64 bytes from 192.168.41.6: icmp_seq=2 ttl=64 time=258.763 ms
    64 bytes from 192.168.41.6: icmp_seq=3 ttl=64 time=271.596 ms
    --- 192.168.41.6 ping statistics ---
    4 packets transmitted, 4 packets received, 0.0% packet loss
    round-trip min/avg/max/stddev = 258.763/278.321/320.283/24.670 ms
    However, I am not able to ping or SSH or anything to any IP address in the 192.168.41.0 network (that is the network I am connection to through VPN). This works perfectly on Snow Leopard. For example:
    MacBook-de-Daniel:~ daniel$ ping -c 4 192.168.41.20
    PING 192.168.41.20 (192.168.41.20): 56 data bytes
    Request timeout for icmp_seq 0
    36 bytes from 190.223.188.1: Communication prohibited by filter
    Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
    4  5  00 5400 f68e   0 0000  3d  01 ea46 172.16.7.7  192.168.41.20
    Request timeout for icmp_seq 1
    Request timeout for icmp_seq 2
    --- 192.168.41.20 ping statistics ---
    4 packets transmitted, 0 packets received, 100.0% packet loss
    I don't know how to solve this situation in Lion. It is upsetting. Please Apple, solve it. Or tell us how to solve it. Thanks.

  • Routing based on destination IP and traffic type

    Is it possible to route traffic based on the destination IP and the type of traffic?
    ASA5512
    Software 9.2.1
    We have an ASA 5512 that is used as a VPN termination point. Our employees connect from one of our customer sites to this VPN point. The customer also hosts services on the same IP address that our employees use to access our VPN on.
    What I want to do is to use a different route for certain traffic to take to get to these other services provide by our customer, for instance they offer an FTP site and I want to use a different route to get our internal users to this FTP site. Is this possible to achieve?
    Any help would be greatly appreciated.
    Murray

    Technically speaking the ASA doesn't do policy based routing.  However, you might be able to simulate something similar to PBR by using a combination of static routes and NAT.
    If you describe your Network setup, ASA, and how the alternate route is connected to your customer, we might be able to help you better.
    Please remember to select a correct answer and rate helpful posts

  • How-To: server-based... application policy management

    Hi all,
    I am at the end of me rope here.
    I have a system with an intended client-server architecture - although the server component is not developed/functioning yet.
    I have partially integrated JAAS into the system as I need authentication and authorization within my application. It is currently built into the client component for testing purposes, but should be distributed over both at deployemnt time.
    And hence my problem: I have developed a database implementation of both the Policy and Configuration classes. These are a part of the server component. I do not want any configuration to be called for on the client -side i.e. preconfiguring of policy files and permissions. I just want an instance of the policy and configuration to be 'downloaded' and installed on the client prior to the security manager being switched on and authentication. This is of course given that runtime authorization occurs on the client.
    I would really love to do all this the Java advocated way. I have tried to make sense of Sun Directory Server and Access Manager.... but I am wondering if this is overkill; there is so much talk of what these products can do, but it leaves me with no idea if they are appropriate for the 'little' I want done.
    The last thing I want to do is implement my own solution... something I have already researched with a combination of web services, JAX-RPC and SOAP... but it's a big unnecassary headache.
    Please advise... anyone.
    See also http://forum.java.sun.com/thread.jspa?threadID=576476&tstart=0

    Ok,
    I solved the problems I described earlier and I have a fully funtional policy implementation. The main features are:
    (1) It is distributed to accomodate client-server architectures
    (2) Transmitted over the wire with an arbitrary protocol
    (3) Is populated from a database
    (4) Fully supports JAAS
    There are a few glitches with regard to refresh; this maybe due to the fact that my client-server comms is SOAP based.
    I can't post code due to contract blah blah... but the least I can do is help troubleshoot; since completing it I can see how stupid my mistakes were and would like to help others avoid the same 'I'M GONNA SCREW YOU PROJECT SCHEDULE' pitfalls that I did ran into.
    One word of advice I offer now is to ignore the fact that only getPermissions(CodeSource cs) andrefresh() are abstract - reimplement what ever you need to - it's clear the new PolicyFile implementation has abandoned some/alot of the concepts of the pre 1.4 version and hence the interface is a bit misleading.
    Kind regards,
    Darren B

  • Can CSS route based on cookie info in HTTP request

    Hi
    I am new to CSS and am interested as it might be able to provide a solution to a problem I have seen.
    We currently have 3 Windows Servers running an ASP-based web application with a clustered SQL Server backend. The front end uses windows load balancing to distribute the load. All 3 servers are configured the same and there is only one application.
    The problem lies with the way an the application maintains session state. I am told it uses a non-persistant cookie on the client which corresponds to a session object on the server. This is opposed to maintaining state in central location such as the database. Obviously this means the client needs to be stuck to a particular server for that session. This is currently achieved by setting the Windows NLB to single affinity which places traffic from a particular IP address to the same server. This does work but the clients source IP is changed by a downstream firewall to a NAT overload address meaning all clients appear with the same IP address (different port) and hence always end up on just one server.
    The obvious next step in my mind would be to change the way NAT is done but this is not possible. The next obvious idea would be to change the application so that it maintains state in the database so the affinity of the Windows NLB could be disabled meaning requests would be dealt with using the source IP and port and hence distributed evenly. I am told this cannot be done either :) Joy!
    So I have begain to look at other possible solutions. Apologies for my very limited knowledge on the CSS as I am trying to get my head around how it can be configured. I am thinking that it may be able to help me if I used it instead of Windows NLB. I am interested in the way you can use Layer 5 stickiness. Would it be able to examine the cookie in the HTTP request and route the traffic to the correct server?
    I am aware that this will not alleviate the failover issue. If one of the servers were to fall over then the client would have to login again, however I am under the impression that this is acceptable behaviour. The main driver here is to provide load balancing to improve application performance by using all resources opposed to just one.
    Many many thanks to anyone who can give me advise on this.

    Hi Gilles
    Thanks for the info. Sounds like we are on the right path. Unfortunately I am unable to get much information from the developers. Long story. I did logon to the system whilst doing a network trace. The following is what I found in the HTTP header:
    Hypertext Transfer Protocol
    GET /XXXXX/Includes/style.asp HTTP/1.1\r\n
    Accept: */*\r\n
    Referer:
    http://xxx.xxxxx.xxx/xxxxx/login.asp\r\n
    Accept-Language: en-gb\r\n
    Accept-Encoding: gzip, deflate\r\n
    User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)\r\n
    Host: xxxx.xxxxx.xxxxx\r\n
    Connection: Keep-Alive\r\n
    Cookie: ASPSESSIONIDQCBCDSCR=AEHBCJEDDGMMCCBHBICLELGD\r\n
    \r\n
    Why do you configure 2 services? How would I go about this given the cookie in the HTTP request?
    Many thanks
    Gary

  • Inbound mail routing based on LDAP attribute mailsystem

    Hi gents and ladies,
    i have a small question ...
    is it possible to route an email to a recipient based on an LDAP attribute like mailsystem or ldap attribute domain ?
    We have an infrastructure with domino and Xchange. All users have a - so called - maindomain.net SMTP Address.
    Is it possible to manage such routing via mail policies or message filters ?
    Or is it just easy to realize this jjust with SMTP routing list ? e.g. maindomain.net gets an entry in SMTP routing pointing to the domino gateway ... if no delivery is possible the default gateway (Xchange gateway) would be used instead ?
    Thanks in advance for your help and hints.                

    Hello  HPGroh2013,
    I think I answered your question in the previous entry, at least it looks the same to me.
    Regards,
    Andreas

  • Routing based on header record RECPOR in IDOC File

    I am working a flat file (actually, its an IDOC file) that will enter the configuration scenario through a Seebruger SFTP adatper.  Since this is a flat file, and not XML, I need to convert this to XML prior to doing content based routing in the receiver/interface determination.
    I am most concerned with the RECPOR field.
    RCVPOR : Receiver port
    internal data type : CHAR
    Internal length : 000010 characters
    Position in segment : 024, Offset : 0263. external length : 000010
    The scneario is a simple passthrough.  What I envision doing is converting the IDOC Flat file to an XML structure, then doing content based routing on the one field I am interested in, as mentioned above.
    Is there a way to do this without modifying the payload in teh sender/receiver channels, or am I going to be forced to doing content conversion with MessageTransformationBean?
    Since all of my routing will be done on 10 characters, I see breaking the file up into 3 fields...characters 1-263, 263-273, 273-EOF does some one have a sample of how to separate this, and how to recombine the values in the receiver?

    If I wanted to break the file up into 3 elements in a simple XML strcuture....
    I know its possible to do this using fixed field lengths...is there a method to break that file up int a simple xml structure with, lets say, 3 elements....
    Where field 1 contains from the start of the file (1) thorugh say character 31.  Filed 2 contains 31-41 then the third field to contain the rest of the file?  These 'flat files' could be any one of a dozen or so IDOC files that are being sent to me from an external EDI Translator.

  • OTL Approvals routing based on the project and task type

    We are implementing OTL with Projects in our system.
    We have about 200 projects each with a different project manager. The requirement is to route billable tasks to project managers and non billable tasks to HR Supervisor. Employees may enter time for both billable and non-billable tasks in the same timecard.
    I tried using fast formula approval style, but it does not split the timecard data based on the chosen project - task. All the time entries are sent to the same approver.
    I tried using 2 time categories(using 2 user defined valuesets). However it seems ELA will not work when have different project managers for projects in the same time category.
    Please suggest a way to implement approvals for this requirement

    The best approach here would be a custom Workflow.

  • Hostname(with wildcards) based access-list or policy.

    Is there any way in cisco to use hostnames with wildcards either in ACL, or Policy, class map etc, for example I want to identify following devices with one keyword..for blocking/permit etc
    UKlondon001
    UKlondon002
    UKlondon003
    Uklondon004
    UKlondon005
    I want to capture all these with wildcard UKlondon*
    something like regular expressions...

    You can group them in object-groups. You'll need to configure their names and then create an object group:
    name 10.5.5.5 uklondon001
    name 10.5.5.6 uklondon002
    object-group network UKLONDONS
    network-object host uklondon001
    network-object host uklondon002
    access-list permit tcp any object-group UKLONDONS eq 80
    The above (from memory so don't quote me) will allow any traffic to hit any of those servers on port 80.
    If you're wanting to do this for certain websites like youtube.com or google.com, you'll need to use regex and class-maps.
    HTH,
    John

  • Redistributing Routes based on TAGS

    Hi,
    I have a bunch of static routes I am RD'ing into OSPF and marking with a tag of 123
    I want to then RD these routes ( only routes marked with tag 123) into EIGRP.
    Can I achieve this with a route-map and a command in my EIGRP statement?
    I'll start with
    route-map RD-123 permit 10
    match tag 123
    Do I then need to deny everything else with another sequence number?
    Can I achieve what I am trying to do above?
    Thanks

    Hi,
    yes, you can do that.
    If you redistribute your static routes to OSFP tagging with 123 on one router, you can then configure on another router:
    router eigrp x
    redistribute ospf y route-map RD-123
    uisng your route-map suggested in your original post. You deon't need any deny entry in the route-map.
    You can even use
    redistribute ospf y match external 2 route-map RD-123
    to be safer.
    Best regards,
    Milan

  • Import Routes based on Multiple RT

    dear all,
    sorry if repost, i've tried to search but can't find the thread.
    currently i am trying to import routes within vrf by matching two route-target exported by other PE. is it can be done with cisco router or not. I have tried with couple way but still no hope.
    the scenario is , PE#1 will advertise route with VRF ABC and put two RT and the other PE#2 is going to received the routes advertise by PE#1 vrf ABC by matching two RT (it must be two RT) not only one.
    I've tried using import map but no clue at all, is there any way to do matching multiple route target within PE#2 to import route vrf ABC from PE#1 by matching every extcommunity [10:111 AND 1:10] ?
    Thanks & Regards,
    Rano
    PE#1
    ip vrf ABC
    rd 1:111
    export map exp_map
    import map imp_map
    route-map exp_abc permit 10
    set extcommunity rt  10:111 1:10
    ip extcommunity-list 10 permit rt 10:111
    ip extcommunity-list 11 permit rt 1:10
    route-map imp_abc permit 10
    match extcommunity 10 11
    interface Loopback111
    ip vrf forwarding ABC
    ip address 1.11.111.1 255.255.255.0
    PE#2
    ip vrf ABC
    rd 1:111
    import map imp_abc
    export map exp_abc
    route-map exp_abc permit 10
    set extcommunity rt  10:111 1:10
    ip extcommunity-list 10 permit rt 10:111
    ip extcommunity-list 11 permit rt 1:10
    route-map imp_abc permit 10
      match extcommunity 10 11
    interface Loopback111
      ip vrf forwarding ABC
      ip address 1.22.111.1 255.255.255.0

    Hello Rano,
    I think you should use the extended extcommunity lists for this:
    in this way instead of matching any RT of the list of RT extcommunities attributes you are going to match using a regular expression the list of RTs but seen as a text string.
    That is you may need to match the whole string "RT:10:111 RT:1:10" using a regular expression.
    You may want to match both "RT:10:111 RT:1:10" and "RT:1:10 RT:10:111" to be sure
    the ip extended extcommunity list should use an index >= 100
    Edit:
    with regular expression I mean something like
    ip extcommunity 100 permit ^RT:10:111 RT:1:10$
    ip extcommunity 100 permit ^RT:1:10 RT:10:111$
    where ^ means the beginning of the string and $ means the end of the string without these anchors the following string would be a match
    "RT:10:111 RT:1:10 RT:10:200"
    some tests have to be done to find the correct notation
    see
    http://www.cisco.com/en/US/partner/docs/ios/iproute/command/reference/irp_bgp2.html#wp1016299
    the right name can be expanded extcommunity list
    see this example
    IP Extended Community-List Configuration Mode Example
    In the following example, an expanded named extended community list is configured in IP Extended community-list configuration mode. A list entry is created with a sequence number 10 that will permit a route target or route origin pattern that matches any network number extended community from autonomous system 65412.
    Router(config)# ip extcommunity-list RED
    Router(config-extcom-list)# 10 permit 65412:[0-9][0-9][0-9][0-9][0-9]_
    Router(config-extcom-list)# exit
    Edit2:
    I can confirm the notation I've checked some tests I did some years ago
    Extended community (expanded) access list 120
        permit ^RT:16232:1$
    this for example allows to match if the RT is made of only one value and that value is 16232:1
    Hope to help
    Giuseppe

  • Routing based on Document Offset in FCC

    Hi Experts,
    The input is a flat file. I am using FCC to get each line of the file into a Node
    FCC used is(Relevant details):
    Recordset Structure:Record,*
    Record.fieldNames: Value
    So, Value will have each line of the input.
    I am using a Java Mapping to convert the FCCed input to an intermediate structure. Many condition checks are involved in the Java Mapping. The intermediate structure is used for graphical mapping.
    The above scenario is same for 2 of the interfaces: A and B. And they both get files from the same directory.
    But the Java Mapping and Interface mapping is separate for both interfaces.
    Only way to know whether the file is for interface A or B is the first line of file.
    The condition I put in Interface determination is
    If Record->Value=ABC execute Interface mapping of interface A.
    Even after this condition check, Interface mapping is getting executed for wrong file.
    Is there any alternate way to solve this problem?
    Thanks,
    Vishal

    And the Interface determination once activated,I am unable to see the condition there even in edit mode!!
    So does it mean that the condition vanishes once you activate the object? If yes then it normally happens due to JAVA version of your desktop....try doing the same thing from other desktop...

  • Cap 6 - how to capture quiz score/route based on score & prob with Master slide?

    Hi --Using Cap 6 on a Windows PC. I have a module with weighted questions, and want to analyze the score when the user completes the questions. If they score 69% or below, they must view the entire module. If they score between 70% and79%, then they can just take the quiz questions again. If they score 80% of better, their score is recorded in the LMS and they are given credit for the module.
    I have two challenges:
    1) The course originally was going to be an acknolwedgment-only module, so I deleted buttons from the results slide (not the results master) but when I select Reset Mater Slide in the slide properties, the deleted buttons do not re-apply onto the slide. How do I get those buttons back?
    2) I created an Advanced Action called start_over. It's simple - and the "Else" statement is "continue". I set this up in Quiz Pref. Does this also get assiend as an Action on the slide properties? 
    Result is that the quiz just stops. The quiz results slide displays - but without any content. If you select play again from the skin, the next slide is displayed.
    I have searched forum, etc., but can't find a solution -- I need to re-create this scenario for several other modules too. Thanks in "Advance" for help!
    G

    About your second question, think you are using the wrong system variable. It is hard to read, but I think you use cpQuizInfoQuizPassPercent, which is the percentage required for passing. And you should have used cpInfoPercentage, which is the percentage acquired by the learner. Have a look at my blog post about system variables:
    http://blog.lilybiri.com/system-variables-in-captivate-6
    But I don't think you need such an action for Quiz Preferences? Because you have two possible actions there: Success action and Failure action? Why need an advanced acton for a simple Jump?
    As for the score slide: Quiz Preferences, Settings: click the button Quiz Result Messages under Show score slide and you'll be able to mark the fields you want to show.
    You can also create a custom score slide:
    http://blog.lilybiri.com/question-question-slides-in-captivate
    http://blog.lilybiri.com/intermediate-score-slides
    Lilybiri

Maybe you are looking for