How to used Policy Based in Black Diamond?

  • 0
  • 1
  • Question
  • Updated 1 year ago
  • Answered

Hi Guys,

My Extreme Switch is connected to Firewall and I have to different Vlans but both have same flow to the same destination. Actualy I have only one next-hop for VLAN1 but I need to add second next hop and send from source 1 next hop 1 source 2 next hop2. and I Must use static route. I it possible to do it with PBR?

Photo of Enima Bht

Enima Bht

  • 70 Points

Posted 1 year ago

  • 0
  • 1
Photo of David Choi

David Choi, Employee

  • 1,966 Points 1k badge 2x thumb
Hi Enima,
I think you can try with a policy with respective source ip addresses as match conditions.
edit policy flowpolicy.pol
 
entry flow1 {
if {
source-address <source-1>;
}      then {
redirect <next-hope 1>;
}
}
entry flow2 { if { source-address <source-2>; } then { redirect <next-hope 2>; } }

config access-list flowpolicy vlan <ingress VLAN> ingress

There are various match conditions (e.g. protocol or dscp) and redirect ways (e.g. port or port-list) you can apply in policy. Also you can apply this policy to VLAN or port.

Some options can be limitted upon switch model.
Photo of Karthik Mohandoss

Karthik Mohandoss, Employee

  • 5,868 Points 5k badge 2x thumb