S2700 Switch, Route-Policy with static routes

Created: Dec 5, 2019 05:02:31Latest reply: Dec 13, 2019 08:59:22 101 5 0 0
  Rewarded Hi-coins: 1 (problem resolved)

Hello


i have a S2700 Switch with static route to the firewall, i want specific host to use a different gateway


i have created an ACL and a route policy but i dosent appear to work


here is the ACL and Route Policy


acl name MIN-GATEWAY 2999

 rule 5 permit source 192.168.107.250 0


route-policy Redirect-to-Min-Gateway permit node 0

 if-match acl MIN-GATEWAY

 apply ip-address next-hop 192.168.120.9


ip route-static 0.0.0.0 0.0.0.0 192.168.16.1


what am ia missing to get this to work ?

  • x
  • convention:

Featured Answers
chenhui
Admin Created Dec 5, 2019 06:04:46 Helpful(1) Helpful(1)

@Steve81 hello,
route-policy is used to addjust the route itself, rather than redirect the traffic.
To redirect the traffic, it's better to configure the PBR(policy-based routing). Please refer the example below:
traffic classifier test
if-match acl 2999
traffic behavior test
redirect ip-nexthop 102.168.120.9
traffic policy test
classifier test behavior test
  • x
  • convention:

Steve81
Steve81 Created Dec 9, 2019 03:07:19
Hello i have added but it doesn't appear to be working is there a way to check the statistics and see if we are getting hits  
Steve81
Steve81 Reply Steve81  Created Dec 9, 2019 03:23:05
i had missed applying to and interface, its working perfectly now Thanks  
luismujicadxd
luismujicadxd Reply Steve81  Created Dec 14, 2019 22:58:36
good job  
All Answers
chenhui
chenhui Admin Created Dec 5, 2019 06:04:46 Helpful(1) Helpful(1)

@Steve81 hello,
route-policy is used to addjust the route itself, rather than redirect the traffic.
To redirect the traffic, it's better to configure the PBR(policy-based routing). Please refer the example below:
traffic classifier test
if-match acl 2999
traffic behavior test
redirect ip-nexthop 102.168.120.9
traffic policy test
classifier test behavior test
  • x
  • convention:

Steve81
Steve81 Created Dec 9, 2019 03:07:19
Hello i have added but it doesn't appear to be working is there a way to check the statistics and see if we are getting hits  
Steve81
Steve81 Reply Steve81  Created Dec 9, 2019 03:23:05
i had missed applying to and interface, its working perfectly now Thanks  
luismujicadxd
luismujicadxd Reply Steve81  Created Dec 14, 2019 22:58:36
good job  
chenhui
chenhui Admin Created Dec 13, 2019 08:59:22 Helpful(0) Helpful(0)

My pleasure. :D
  • x
  • convention:

Comment

Reply
You need to log in to reply to the post Login | Register

Notice Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login