cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
631
Views
0
Helpful
9
Replies

PBR by Destanation port in NEXUS

HI IN ip ACL i see eq i define ACL

IP access list speed
10 permit tcp any any eq 8080

 

and Match to route-map

route-map speed, permit, sequence 10
Match clauses:
ip address (access-lists): speed
Set clauses:
ip next-hop 172.18.20.1

 

by when assign to physical interface L3 interface donnot work

9 Replies 9

Debug ip policy 

Try run debug see why PBR not work

MHM

For load of my switch I cannot used Debug

Mr Leo
Level 1
Level 1

the following reasons are possible:

Incorrect interface: Make sure you apply the route map to the correct interface. If you are using multiple interfaces, it is easy to make a mistake.

Routing problem: Verify that a route to address 172.18.20.1 exists and is correctly configured in the routing table. If the route is missing or incorrect, packets will not be forwarded correctly.

ACL errors: Make sure that your ACL matches exactly the traffic you want to redirect. In your case, the ACL is limited to traffic on port 8080. If your traffic is going through other ports, it will not match this ACL and thus the route map.

Check your NAT configuration: If you are using NAT (Network Address Translation), make sure it is properly configured and does not conflict with your route maps.

 

172.18.20.1 Is rechable and have ping donnot enbale feature NAT

liviu.gheorghe
Spotlight
Spotlight

Hello admin@atrinnet.net ,

can you clarify what is not working? PBR is not working? Or is the L3 interface not working?

Can you share the confihuration of the interface?

Please describe how are you testing.

Regards, LG
*** Please Rate All Helpful Responses ***

description Server-CPANEL
no switchport
ip address IPV4/29
ipv6 address IPv6/64
ip policy route-map speed
no shutdown

Now my question is switch 9396px by nxos 9.3.12 support route-map by destanation port ? for example 8080???

the set ip next-hop can be the issue 
 try use egress interface instead of next-hop
MHM

Yes this is PBR for output traffic of interface but not working

Instead of 

ip next-hop 172.18.20.1

Use 

Set interface  <egress interface>

MHM

Review Cisco Networking for a $25 gift card