show policy rule

 

 

 

 

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 11‐3 for valid values for each

 

 

classification type.

 

 

 

 

mask mask

(Optional) Displays rules for a specific data mask. Refer to Table 11‐3 for

 

 

valid values for each classification type and data value.

 

 

 

 

port‐string port‐

(Optional) Displays rules related to a specific ingress port.

 

string

 

 

 

 

 

rule‐status active

(Optional) Displays rules related to a specific rules status.

 

not‐in‐service

 

 

not‐ready

 

 

 

 

 

storage‐type non‐

(Optional) Displays rules configured for either non‐volatile or volatile

 

volatile 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

Displays rules associated with a specific dynamic policy ID.

 

dynamic‐pid

 

 

 

 

 

cos cos

(Optional) Displays rules for a Class‐of‐Service value. (Not supported on

 

 

B3, C3, G3 devices.)

 

 

 

 

admin‐pid

Displays rules associated with a specific administrative policy ID [1..1023].

 

admin‐pid

 

 

 

 

 

‐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.

 

 

 

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

MkPortStr

RSSTVLANCoS U

PID

Rule Type

Rule

Data

02

Ether

2048

(0x0800)

16All

ANVfwrd

?

02

Ether

2049

(0x0801)

16All

ANVdrop

?

02

Ether

2989

(0x0bad)

16All

ANVdrop

?

02

Ether

33079 (0x8137)

16All

ANVdrop

?

This example shows how to display policy classification information for administrative rule 1

C3(su)->show policy rule

admin-pid 1

MkPortStr RSSTdPIDaPIDU

AdminRule Type Rule

Data

SecureStack C3 Configuration Guide 11-7

Page 357
Image 357
Enterasys Networks 9034313-07 Tcpsourceport, Udpdestport, Udpsourceport, Mask mask, Port‐string port‐, Rule‐status active