show policy rule
Enterasys D-Series CLI Reference 11-7
Defaults
Ifverboseisnotspecified,summaryinformationwillbedisplayed.
Mode
Switchcommand,readonly.
Example
ThisexampleshowshowtodisplaypolicyclassificationinformationforEthernettype2rules
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| |?|
Thisexampleshowshowtodisplaypolicyclassificationinformationforadministrativerule1
D2(su)->show policy rule admin-pid 1
|Admin|Rule Type |Rule Data |Mk|PortStr |RS|ST|dPID|aPID|U|
tcpdestport DisplaysTCPdestinationportrules.
tcpsourceportDisplaysTCPsourceportrules.
udpdestportDisplaysUDPdestinationportrules.
udpsourceportDisplaysUDPsourceportrules.
data Displaysrulesforapredefinedclassifier.Thisvalueisdependentonthe
classificationtypeentered.RefertoTable 1 130forvalidvalue sforeach
classificationtype.
maskmask (Optional)Displaysrulesforaspecificdatamask.RefertoTabl e 1130for
validvalues foreachclassificationtypeanddatavalue.
portstringport
string
(Optional)Displaysrulesrelatedtoaspecificingressport.
rulestatusactive
|notinservice|
notready
(Optional)Displaysrulesrelatedtoaspecificrulesstatus.
storagetypenon
volatile|volatile
(Optional)Displaysrulesconfiguredforeithernonvolatileorvolatile
storage.
vlanvlan (Optional)DisplaysrulesforaspecificVLANID.
drop|forward Displaysrulesbasedonwhethermatchingpacketswillbedroppedor
forwarded.
dynamicpid
dynamicpid
DisplaysrulesassociatedwithaspecificdynamicpolicyID.
coscos (Optional)DisplaysrulesforaClassofServicevalue.
adminpid
adminpid
DisplaysrulesassociatedwithaspecificadministrativepolicyID[1..1023].
verbose (Optional)Displaysdetailedinformation.
usagelist (Optional)Ifselected,eachruleʹsusagelistshallbecheckedandshall
displayonlythoseportswhichhaveappliedthisrule.
displayifused (Optional)Displaysrule(s)onlyiftheyareappliedtoatleastoneport.