Download Print this page

Move Rule - HP FlexNetwork MSR Series Command Reference Manual

Comware 7 security
Hide thumbs Also See for FlexNetwork MSR Series:

Advertisement

destination destination-zone-name: Specifies a destination security zone name, a case-insensitive
string of 1 to 31 characters.
Usage guidelines
If you do not specify a zone pair, the system displays information about the object policies applied to
all zone pairs.
Examples
# Display information about the object policies applied to all zone pairs.
<Sysname> display object-policy zone-pair security
Zone-pair source office destination library
object-policy apply ip permit
object-policy apply ipv6 drop
Table 121 Command output
Field
Zone-pair source office destination library
object-policy apply ip permit
object-policy apply ipv6 drop

move rule

Use move rule to change the rule match order of a rule in an object policy.
Syntax
move rule rule-id before insert-rule-id
Views
Object policy view
Parameters
rule-id: Specifies a rule by its ID in the range of 0 to 65534.
insert-rule-id: Specifies the ID of the target rule before which a rule is inserted. The target rule ID is in
the range of 0 to 65535. If you specify 65535 as the target rule ID, the rule is moved to the end of the
list.
Usage guidelines
The system does not execute the command in the following situations:
You specify the same value for the rule-id and insert-rule-id arguments.
You specify a nonexistent rule.
Examples
# Insert rule 5 before rule 2 for IPv4 object policy permit.
<Sysname> system-view
[Sysname] object-policy ip permit
[Sysname-object-policy-ip-permit] move rule 5 before 2
Related commands
object-policy apply ipv6
Description
Name of the zone pair.
Name of the IPv4 object policy applied to the zone
pair.
Name of the IPv6 object policy applied to the zone
pair.
798

Advertisement

loading