
QoS Policy Commands
page 39-4
OmniSwitch CLI Reference Guide
November 2009
policy rule
Configures a policy rule on the switch. A rule is made up of a condition (for classifying incoming traffic)
and an action (to be applied to outgoing traffic).
policy rule rule_name [enable | disable] [precedence precedence] [condition condition] [action action]
[validity period name | no validity period] [save] [log [interval seconds]] [count {packets | bytes}]
[trap | no trap]
no policy rule rule_name
policy rule rule_name [no reflexive] [no save] [no log]
Syntax Definitions
rule_name
The name of the policy rule, any alphanumeric string.
enable
Enables the policy rule.
disable
Disables the policy rule.
precedence
The precedence value in the range 0–65535. This value determines the
order in which rules are searched for a matching condition. A higher
number indicates higher precedence. Typically the range 30000–65535
is reserved for PolicyView.
condition
The condition name that is associated with this rule. Conditions are
configured through the
policy condition
command.
action
The name of the action that is associated with this rule. Actions are
configured through the
policy action
command.
name
The name of a user-defined validity period that is associated with this
rule. Validity periods are configured through the
policy validity period
command.
save
Marks the policy rule so that it may be captured as part of the switch
configuration.
log
Configures the switch to log messages about specific flows coming into
the switch that match this policy rule.
seconds
Configures how often to look for packets that match this policy rule
when rule logging is applied (in the range from 0–3600 seconds). A
value of 0 specifies to log as often as possible.
packets
Counts the number of packets that match the rule.
bytes
Counts the number of bytes that match the rule.
trap
Enables or disables traps for the rule.
Summary of Contents for OmniSwitch 6250
Page 140: ...Power over Ethernet PoE Commands page 4 18 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 212: ...Session Management Commands page 6 52 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 270: ...File Management Commands page 7 58 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 280: ...Web Management Commands page 8 10 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 328: ...SNMP Commands page 10 32 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 338: ...DNS Commands page 11 10 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 392: ...Link Aggregation Commands page 12 54 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 440: ...802 1Q Commands page 15 8 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 628: ...Loopback Detection Commands page 17 12 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 768: ...Ethernet Port Commands page 20 96 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 826: ...VLAN Management Commands page 22 26 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 968: ...Ethernet OAM Commands page 25 56 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 1014: ...LINK OAM Commands page 26 46 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 1036: ...UDLD Commands page 27 22 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 1048: ...Port Mapping Commands page 28 12 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 1256: ...IPv6 Commands page 30 90 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 1276: ...RDP Commands page 31 20 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 1372: ...RIP Commands page 33 32 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 1702: ...QoS Policy Commands page 39 206 OmniSwitch CLI Reference Guide November 2009...
Page 1718: ...Policy Server Commands page 40 16 OmniSwitch 6250 CLI Reference Guide November 2009...
Page 2018: ...Index Index 6 OmniSwitch 6250 CLI Reference Guide November 2009...