Comware

 View Only
last person joined: 2 days ago 

Expand all | Collapse all

Routing Policy on Layer 3 S5500

This thread has been viewed 0 times
  • 1.  Routing Policy on Layer 3 S5500

    Posted Sep 01, 2011 05:20 PM

    I'm having trouble with a routing policy.

    I have a H3C S5500 Layer 3 switch setup as follows

     

    vlan 1:192.168.1.0 /24

    vlan 2:192.168.0.0 /24

     

    static routes

    0.0.0.00.0.0.0192.168.1.2

     

    I've only included the default route to simplify things. I want a routing policy that does this. If the packet is sent from 192.168.0.10, set the next hop to 192.168.1.9 (instead of 1.6). If it is sent from any other address on the 192.168.0.x network, it should follow the default route.

     

    This seems very easy, but I cannot get it to work.

     

    Can anybody help?


    #RoutingPolicy
    #Layer3


  • 2.  RE: Routing Policy on Layer 3 S5500

    Posted Sep 06, 2011 11:47 AM

    I dont know if this is really supported on A5500, but on A5800 it works like that:

     

     

    acl number 2000
     rule 0 permit source 192.168.0.10 0
    #

    route-policy myOne permit node 10
     if-match acl 2000 
     apply ip-address next-hop 192.168.1.9

    #

    interface Vlan-interface2

     route-policy myOne

    #

     

    br

    Manuel