Specifications
Configuring Policy
May 18, 2009 Page 19 of 32
Table 5describeshowtodisplaypolicyinformationandstatistics.
5. Optionally, for enhanced policy capable devices,
enable or disable the the ability to clear rule
usage information if operational status “up” is
detected on any port.
set policy autoclear {[link]
[interval interval] [profile
{enable | disable}] [ports
port-list [append | clear]]}
6. Optionally, for enhanced policy capable devices,
set the status of dynamically assigned policy
role options.
set policy dynamic [ syslog-default
{enable | disable}] [trap-default
{enable | disable}]}
Table 5 Displaying Policy Configuration and Statistics
Task Command(s)
In switch command mode, display policy role
information.
show policy profile {all | profile-index
[consecutive-pids] [-verbose]}
In switch command mode, display the action
the device shall apply on an invalid or
unknown policy.
show policy invalid {default-policy | drop |
forward}
In switch command mode, display the
current control status of the collection of rule
usage statistics.
show policy accounting
In switch command mode, display syslog
parameters for policy rule entries.
show policy syslog [machine-readable]
[extended-format]
In switch command mode, display VLAN-ID
to policy role mappings table.
show policy maptable vlan-list
In switch command mode, display TCI
overwrite tag control information on one or
more ports.
show port tcioverwrite [port-string]
In switch command mode, display policy
classification and admin rule information.
show policy rule [attribute] | [all] |
[admin-profile] | [profile-index] [porthit]
classification-type [data] [mask mask]
[port-string port-string] [rule-status
{active | not-inservice | not-ready}]
[storage-type {non-volatile | volatile}]
[vlan vlan] | [drop | forward] [
dynamic-pid
dynamic-pid] [cos cos] [admin-pid admin-pid]
[syslog {enable | disable}] [-verbose] [trap
{enable | disable}] [disable-port {enable |
disable}] [usage-list] [display-if-used]
In switch command mode, display all policy
classification capabilities for this device.
show policy capability
In switch command mode, display a list of
currently supported traffic rules applied to
the administrative profile for one or more
ports.
show policy allowed-type port-string
[-verbose]
Procedure 2 Configuring Classification Rules (continued)
Step Task Command(s)