Reset Search
 

 

Article

How To Configure a Route-map to Re-direct Traffic marked with a ToS Value

« Go Back

Information

 
TitleHow To Configure a Route-map to Re-direct Traffic marked with a ToS Value
Objective
The route-map re-directs any web traffic marked with a ToS of cs2 to the NAC.
Environment
  • S-Series
  • K-Series
  • N-Series
  • PBR
  • ToS
Procedure
  • Configure the following route-map on the router and apply it to the interface the client is using as a gateway.
  1. ip access-list extended NAC-Redirect
  2. permit tcp any any eq 80 dscp cs2
  3. permit tcp any any eq 443 dscp cs2
  4. exit
 
  1. route-map policy NAC permit 10
  2. match ip address NAC-Redirect
  3. set next-hop 213.0.113.24
  4. exit
 
  1. interface vlan.0.10
  2. ip address 10.10.10.1 255.255.255.0
  3. ip policy route-map nAC
  4. no shut down
  5. exit
Additional notes

Feedback

 

Was this article helpful?


   

Feedback

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

Characters Remaining: 255