Flow-Based Redirect
DETAILED STEPS
Command or Action
Step 1
enable
Example:
Router> enable
Step 2
configure terminal
Example:
Router# configure terminal
Step 3
ip access-list extended traffic class
Example:
Router (config)# ip access-list extended WEB_ACL_IN
Step 4
permit tcp source_IP destination_IP eq port
Example:
Router (config-ext-nacl)# permit tcp any any eq www
Step 5
class-map type traffic match-any traffic class map
Example:
Router (config)# class-map type traffic match-any
ACF_ACL
Step 6
match access-group input name traffic class
Example:
Router (config-traffic-classmap)# match access-group
input name WEB_ACL_IN
Step 7
policy-map type service policy-map name
Example:
Router (config)# policy-map type service ACF_SERVICE
Step 8
class type traffic traffic class map
Example:
Router (config-service-policymap)# class type traffic
ACF_ACL
Step 9
reroute to next-hop ip IP address
Example:
Router (config-service-policymap-class-traffic)# reroute
to next-hop ip 44.0.0.22
OL-30226-03
Configuring Flow-Based Redirect for a Traffic Class Service
Purpose
Enables privileged EXEC mode. Enter your
password if prompted.
Enters global configuration mode.
Defines the traffic class WEB_ACL_IN
Permits TCP traffic with destination port values
that match WWW (port 80).
Creates the traffic class map ACF_ACL.
Configures the match criteria for the ACF_ACL
traffic class map on the basis of the specified host
traffic class.
Creates the ACF_SERVICE policy map, which
is used to define an ISG service.
Associates the ACF_ACL traffic class map with
the service policy map.
Redirects traffic to the specified IP address.
Intelligent Wireless Access Gateway Configuration Guide
83