Configuring Policy Map for HTTP Redirect
!
end
Configuring Policy Map for HTTP Redirect
Perform this task to configure policy maps for http redirect.
Before You Begin
The configuration steps mentioned in
Configuring Class Maps for HTTP Redirection, on page 158
configuration of the policy-map for HTTPR.
SUMMARY STEPS
1. configure
2. policy-map type pbr http-redirect_policy_name
3. class type traffic open_garden_class_name
4. transmit
5. class type traffic http_redirect-class_name
6. http-redirect redirect_url
7. class class-default
8. drop
9. end-policy-map
10. Use the commit or end command.
DETAILED STEPS
Command or Action
Step 1
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 2
policy-map type pbr http-redirect_policy_name
Example:
RP/0/RSP0/CPU0:router(config)# policy-map type pbr
RPL1
Step 3
class type traffic open_garden_class_name
Example:
RP/0/RSP0/CPU0:router(config-pmap)# class type
traffic CL1
Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Configuration Guide,
Release 4.2.x
160
Identifying HTTP Destinations for Redirection, on page 155
have to be completed before performing the
Purpose
Enters global configuration mode.
Creates a policy map of type policy-based routing that
can be attached to one or more interfaces to specify a
service policy.
Specifies the name of the class whose policy you want to
create or change.
Note
The open garden acl name provided in this step
is the one configured in the configuration step
mentioned in the prerequisites.
Configuring Subscriber Features
and
OL-26148-02