Comware Based
1753444 Members
4629 Online
108794 Solutions
New Discussion юеВ

Re: comware 7 - 5900 switch - PBR

 
SOLVED
Go to solution
HP-Browniee
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 192.168.10.1

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

Kind regards

2 REPLIES 2
sdide
Respected Contributor
Solution

Re: comware 7 - 5900 switch - PBR

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

S├╕ren Dideriksen, Network Administrator
Region Midtjylland
HP-Browniee
Respected Contributor

Re: comware 7 - 5900 switch - PBR

Thanks for the effort!