show policy rule
Enterasys C3 Configuration Guide 15-7
Defaults
If verbose is not specified, summary information will be displayed.
Mode
Switch command, read-only.
Example
This example shows how to display policy classification information for Ethernet type 2 rules
C3(su)->show policy rule ether
|PID  |Rule Type   |Rule Data            |Mk|PortStr   |RS|ST|VLAN|CoS |U|
|02   |Ether       |2048  (0x0800)       |16|All       | A|NV|fwrd|    |?|
|02   |Ether       |2049  (0x0801)       |16|All       | A|NV|drop|    |?|
|02   |Ether       |2989  (0x0bad)       |16|All       | A|NV|drop|    |?|
|02   |Ether       |33079 (0x8137)       |16|All       | A|NV|drop|    |?|
This example shows how to display policy classification information for administrative rule 1
C3(su)->show policy rule admin-pid 1
|Admin|Rule Type   |Rule Data            |Mk|PortStr   |RS|ST|dPID|aPID|U|
|admin|Port        |ge.1.1               |16|ge.1.1    | A|NV|    |   1|?|
tcpsourceport  Displays TCP source port rules.
udpdestport  Displays UDP destination port rules.
udpsourceport  Displays UDP source port rules.
data Displays rules for a predefined classifier. This value is dependent on the 
classification type entered. Refer to Table 15-3 for valid values for each 
classification type.
mask mask (Optional) Displays rules for a specific data mask. Refer to Table 15-3 for 
valid values for each classification type and data value.
port-string port-
string
(Optional) Displays rules related to a specific ingress port.
rule-status active 
| not-in-service | 
not-ready
(Optional) Displays rules related to a specific rules status.
storage-type non-
volatile | volatile
(Optional) Displays rules configured for either non-volatile or volatile 
storage.
vlan vlan (Optional) Displays rules for a specific VLAN ID.
drop | forward Displays rules based on whether matching packets will be dropped or 
forwarded.
dynamic-pid 
dynamic-pid
Displays rules associated with a specific dynamic policy ID.
cos cos (Optional) Displays rules for a Class-of-Service value. 
admin-pid 
admin-pid
Displays rules associated with a specific administrative policy ID [1..1023]. 
-verbose (Optional) Displays detailed information.
usage-list (Optional) If selected, each rule's usage-list shall be checked and shall 
display only those ports which have applied this rule.
display-if-used (Optional) Displays rule(s) only if they are applied to at least one port.