Chapter 2 Content Switching Module with SSL Commands

map url

map url

To enter the SLB URL map mode and configure a URL map, use the map url command. To remove the URL map from the configuration, use the no form of this command.

map url-map-name url no map url-map-name

Syntax Description

 

url-map-name

Name of an SLB URL map; the character string range is from 1 to

 

 

 

15 characters.

 

 

 

 

 

 

 

 

 

Defaults

 

This command has no default settings.

 

 

 

 

Command Modes

 

SLB URL map configuration submode

 

 

 

 

 

Command History

 

Release

Modification

 

 

 

 

 

 

 

 

CSM release 1.1(1)

This command was introduced.

 

 

 

 

 

 

 

CSM-S release 1.1(1)

This command was introduced.

 

 

 

 

 

 

 

 

 

Usage Guidelines

 

Any match of a URL regular expression in the URL map results in a successful match. A maximum of

 

 

1023 URLs can be configured to a map.

 

 

 

 

Examples

 

This example shows how to group URLs and associate them with a content switching policy:

 

 

Cat6k-2(config-module-csm)# map m1 url

 

 

Cat6k-2(config-slb-map-url)#match protocol http url /index.html

 

 

Cat6k-2(config-slb-map-url)#match protocol http url /stocks/csco/

 

 

Cat6k-2(config-slb-map-url)# match protocol http url *gif

 

 

Cat6k-2(config-slb-map-url)# match protocol http url /st*

 

 

Cat6k-2(config-slb-map-url)# exit

 

 

Cat6k-2(config)

 

 

 

 

match protocol http url (URL map submode)

Related Commands

 

 

 

show module csm map

 

 

 

 

url-map (policy submode)

 

 

Catalyst 6500 Series Switch Content Switching Module with SSL Command Reference

 

OL-7029-01

2-33

 

 

 

Page 55
Image 55
Cisco Systems OL-7029-01 manual Map url-map-name url no map url-map-name, Url-map-name