Reset Search
 

 

Article

How to configure Layer 2 PBR?

« Go Back

Information

 
TitleHow to configure Layer 2 PBR?
Objective
To allow specific packets to bypass the normal forwarding decision and be Layer 2 switched to a specified physical port
Environment
  • All EXOS
  • All Summit
  • All Blackdiamond
Procedure

We can use port redirect to achieve this.

Syntax:

In the ACL action modifier,
redirect-port <port number>
redirect-port-list <list of ports separated by commas without space>

Example 1: If you want to redirect traffic with an IP 10.1.1.1/32 to ports 3:5, 3:8, then -

entry one {
if {
source-address 10.1.1.1/32;
} then {
redirect-port-list 3:5,3:8;
}
}

Example 2: If you want to redirect HTTP traffic tcp port 80 traffic to port 3:5, then -

entry one
if {
protocol tcp;
source-port 80;
} then {
redirect-port 3:5;
}
}
Additional notes

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255