44-33
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 44 Configuring Network Admission Control
Configuring Network Admission Control with LAN Port IP
This example shows how to specify the policy name and URL redirect string:
Console> (enable) set policy name exception_policy url-redirect http://cisco.com
Url Redirect http://cisco.com mapped to policy name exception_policy
Console> (enable)
Displaying the Policy Name and URL Redirect String Mapping
To display the policy name and URL redirect string mapping, perform this task in normal mode:
This example shows how to display the policy name and URL redirect string mapping for the specified
policy:
Console> (enable) show policy name exception_policy
Policy Name : exception_policy
----------------------------------------------
URL-Redirect : http://cisco.com
Console> (enable)
This example shows how to display the policy names and URL redirect string mappings for all policies:
Console> (enable) show policy name all
Policy Name : TEST
----------------------------------------------
Associated IP Address/Mask Information:
0.0.0.18/255.255.255.224
Policy Name : poll
----------------------------------------------
Associated IP Address/Mask Information:
0.0.0.19/255.255.255.224
Policy Name : BLDG_F
----------------------------------------------
Policy Name : exception_policy
----------------------------------------------
URL-Redirect : http://cisco.com
Console> (enable)
Clearing the URL Redirect String Associated with the Policy Name
To clear the URL redirect string associated with the policy name, perform this task in privileged mode:
Task Command
Specify the policy name and URL redirect
string.
set policy name policy-name url-redirect
url-redirect-string
Task Command
Display the policy name and URL redirect
string mapping.
show policy name [all | policy-name]
Task Command
Clear the URL redirect string associated with
the policy name.
clear policy name policy-name url-redirect