Comware Based
Showing results for 
Search instead for 
Did you mean: 

comware 7 - 5900 switch - PBR

Go to solution
Respected Contributor

comware 7 - 5900 switch - PBR

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

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

Kind regards

Respected Contributor

Re: comware 7 - 5900 switch - PBR


[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
[HP5900-pbr-test-5]display this
policy-based-route test permit node 5
 if-match acl name test-acl
 apply next-hop

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


Søren Dideriksen, Network Administrator
Region Midtjylland
Respected Contributor

Re: comware 7 - 5900 switch - PBR

Thanks for the effort!