(policy-user)# class
Within the policy-user context:
Syntax
(policy-user)# [<SEQUENCE-NUMBER>] class ipv4 | ipv6 <CLASS-NAME> [action permit | deny | redirect captive portal] | [action dscp | ip—precedence <CODEPOINT |
PRECEDENCE>] [action priority <PRIORITY>] | [action rate-limit kbps <RATE>]
(policy-user)# no [<SEQUENCE-NUMBER>] class ipv4 | ipv6 <CLASS-NAME> [action permit | deny | redirect captive portal] | [action dscp | ip—precedence <CODEPOINT | PRECEDENCE>] [action priority <PRIORITY>] | [action rate-limit kbps <RATE>]
Description
Associate a class with ACL or QoS actions for this policy.
Parameters
- deny
Deny all traffic.
- DSCP
Specify an IP DSCP.
- IP-precedence
Specify the IP precedence.
- permit
Permit all traffic.
- priority
Specify the priority.
- rate-limit
Configure rate limiting for all traffic.
- redirect
Specify a redirect destination.
Usage
switch(policy-user)#class ipv6 employeeIpv6Http action deny
switch(policy-user)#class ipv4 http action redirect captive-portal
switch(policy-user)#class ipv4 dnsDhcp action permit