![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/1/b9/1b9d2362-db72-4ca2-87a4-39647936734d/1b9d2362-db72-4ca2-87a4-39647936734d-bg4b.png)
2-49
Catalyst 6500 Series Switch SSL Services Module Command Reference
OL-9105-01
Chapter 2 Commands for the Catalyst 6500 Series SSL Services Module
policy url-rewrite
policy url-rewrite
To enter the URL rewrite configuration submode, use the policy url-rewrite command. In URL rewrite
configuration submode, you can define the URL-rewrite content policy that is applied to the payload.
policy url-rewrite url-rewrite-policy-name
Syntax Description
Defaults This command has no default settings.
Command Modes Context subcommand mode
Command History
Usage Guidelines URL rewrite allows you to rewrite redirection links only.
A URL rewrite policy consists of up to 32 rewrite rules for each SSL proxy service.
Table 2-6 lists the commands that are available in proxy-policy configuration submode.
url-string—Specifies the host portion of the URL link to be rewritten; it can have a maximum of
251 characters. You can use the asterisk (*) wildcard only as a prefix or a suffix of a hostname in a
rewrite rule. For example, you can use the hostname in one of the following ways:
• www.cisco.com
• *.cisco.com
• wwwin.cisco.*
url-rewrite-policy-name URL rewrite policy name.
Release Modification
SSL Services Module
Release 2.1(1)
Support for this command was introduced on the Catalyst 6500 series
switches.
SSL Services Module
Release 3.1(1)
The policy url-rewrite command (entered in context subcommand mode)
replaces the ssl-proxy policy url-rewrite command (entered in global
subcommand mode).
Table 2-6 Proxy-policy Configuration Submode Command Descriptions
default Sets a command to its default settings.
exit Exits from proxy-policy configuration submode.
help Provides a description of the interactive help system.
[no] url url-string [clearport port-number |
sslport port-number]
Allows you to configure the URL string to be rewritten. Use the no form of
this command to remove the policy.