Comware

 View Only
Expand all | Collapse all

comware 7 - 5900 switch - PBR

This thread has been viewed 1 times
  • 1.  comware 7 - 5900 switch - PBR

    Posted Nov 02, 2016 09:41 AM

    Hello guys

    litlle question:

    A customer has a 5900 switch and i need to check some PBR config. But in my lab i use a 5700 switch so i have to check somthing:

    Is following option available on the 5900 switches under policy-based-route ChooseRouter permit node 5 : 

    apply default-next-hop

    because on the 5700 i can only use apply next-hop.

    Litlle example:

    policy-based-route ChooseRouter permit node 5
    if-match acl name RouterA
    apply next-hop 192.168.10.1

     If somone can cofirm this, i would be verry happy :)

    Kind regards



  • 2.  RE: comware 7 - 5900 switch - PBR

    Posted Nov 03, 2016 05:03 AM

    Hi,

    [HP5900]display version
    HPE Comware Software, Version 7.1.045, Release 2422P01
    Copyright (c) 2010-2015 Hewlett Packard Enterprise Development LP
    HPE 5900AF-48XG-4QSFP+ Switch uptime is 0 weeks, 0 days, 0 hours, 44 minutes
    Last reboot reason : Cold reboot
    ...
    [HP5900]policy-based-route test permit node 5 
    [HP5900-pbr-test-5]apply ?
      next-hop  Specify next hops
    [HP5900-pbr-test-5]if-match acl name test-acl
    [HP5900-pbr-test-5]apply next-hop 192.168.0.1
    [HP5900-pbr-test-5]display this
    #
    policy-based-route test permit node 5
     if-match acl name test-acl
     apply next-hop 192.168.0.1
    #
    
    

    So, I guess you cannot do "apply default-next-hop", at least not on the R2422P01, software.

    Regards



  • 3.  RE: comware 7 - 5900 switch - PBR

    Posted Nov 03, 2016 07:26 AM

    Thanks for the effort!