Configuring QoS
Creating Policies
OmniSwitch 6600 Family Network Configuration Guide
April 2006
page 24-29
Saving Rules
The
save
option marks the policy rule so that the rule will be captured in an ASCII text file (using the
command) and saved to the working directory (using the
command or
command). By default, rules are saved.
If the
save
option is removed from a rule, the
qos apply
command may activate the rule for the current
session, but the rule will not be saved over a reboot. Typically, the
no save
option is used for temporary
policies that you do not want saved in the switch configuration file.
To remove the
save
option from a policy rule, use
no
with the
save
keyword. For example:
-> policy rule rule5 no save
To reconfigure the rule as saved, use the
policy rule
command with the
save
option. For example:
-> policy rule rule5 save
For more information about the
configuration snapshot
,
write memory
, and
copy running-config
working
commands, see the
OmniSwitch 6600 Switch Management Guide
and the
OmniSwitch CLI Refer-
ence Guide.
For more information about applying rules, see
“Applying the Configuration” on page 24-46
.
Logging Rules
Logging a rule may be useful for determining the source of firewall attacks. To specify that the switch
should log information about flows that match the specified policy rule, use the
policy rule
command with
the
log
option. For example:
-> policy rule rule5 log
To stop the switch from logging information about flows that match a particular rule, use
no
with the
log
keyword. For example:
-> policy rule rule5 no log
Deleting Rules
To remove a policy rule, use the
no
form of the command.
-> no policy rule rule1
The rule will be deleted after the next
qos apply
.