Switch User Manual

show policy rule
SecureStack C3 Configuration Guide 11-7
Defaults
Ifverboseisnotspecified,summaryinformationwillbedisplayed.
Mode
Switchcommand,readonly.
Example
ThisexampleshowshowtodisplaypolicyclassificationinformationforEthernettype2rules
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| |?|
Thisexampleshowshowtodisplaypolicyclassificationinformationforadministrativerule1
C3(su)->show policy rule admin-pid 1
|Admin|Rule Type |Rule Data |Mk|PortStr |RS|ST|dPID|aPID|U|
tcpsourceport DisplaysTCPsourceportrules.
udpdestport DisplaysUDPdestinationportrules.
udpsourceport DisplaysUDPsourceportrules.
data Displaysrulesforapredefinedclassifier.Thisvalueisdependentonthe
classificationtypeentered.RefertoTable 113forvalidvaluesforeach
classificationtype.
maskmask (Optional)Displaysrulesforaspecificdata
mask.RefertoTable 113for
validvaluesforeachclassificationtypeanddatavalue.
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)Displaysrules
foraClassofServicevalue.(Notsupportedon
B3,C3,G3devices.)
adminpid
adminpid
DisplaysrulesassociatedwithaspecificadministrativepolicyID[1..1023].
verbose (Optional)Displaysdetailedinformation.
usagelist (Optional)Ifselected,eachruleʹsusagelistshallbecheckedandshall
displayonlythoseportswhichhave
appliedthisrule.
displayifused (Optional)Displaysrule(s)onlyiftheyareappliedtoatleastoneport.