beautypg.com

Show policy rule output details -7, Defaults, Mode – Enterasys Networks Enterasys D2 D2G124-12P User Manual

Page 293: Example

background image

show policy rule

D-Series CLI Reference 9-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

D2(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

D2(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|?|
|admin|Port |ge.1.2 |16|ge.1.2 | A|NV| | 1|?|
|admin|Port |ge.1.3 |16|ge.1.3 | A|NV| | 1|?|
|admin|Port |ge.1.4 |16|ge.1.4 | A|NV| | 1|?|
|admin|Port |ge.1.5 |16|ge.1.5 | A|NV| | 1|?|
|admin|Port |ge.1.6 |16|ge.1.6 | A|NV| | 1|?|
|admin|Port |ge.1.7 |16|ge.1.7 | A|NV| | 1|?|
|admin|Port |ge.1.8 |16|ge.1.8 | A|NV| | 1|?|
|admin|Port |ge.1.9 |16|ge.1.9 | A|NV| | 1|?|
|admin|Port |ge.1.10 |16|ge.1.10 | A|NV| | 1|?|
|admin|Port |ge.1.11 |16|ge.1.11 | A|NV| | 1|?|
|admin|Port |ge.1.12 |16|ge.1.12 | A|NV| | 1|?|

Table 9‐34

 provides an explanation of the command output.

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.

Table 9-34 show policy rule Output Details

Output Field

What It Displays...

PID

Profile index number. Assigned to this classification rule with the set policy profile
command (“

set policy profile

” on page 9-4).

Rule Type

Type of classification rule. Refer to

Table 9-35

for valid types.

Rule Data

Rule data value. Refer to

Table 9-35

for valid values for each classification type.

Mk

Rule data mask. Refer to

Table 9-35

for valid values for each classification data

value.

PortStr

Ingress port(s) to which this rule applies.

RS

Whether or not the status of this rule is active (A), not in service or not ready.

This manual is related to the following products: