Configuring object policy rules
Configuring an IPv4 object policy rule
You can specify an existing object group in an IPv4 object policy rule for matching target IPv4
packets. If no object group is specified for a rule, the rule applies to all IPv4 packets.
The following object groups can be used in a rule for packet matching:
•
Source IPv4 address object group—Used for matching the source IPv4 addresses of
packets.
•
Destination IPv4 address object group—Used for matching the destination IPv4 addresses
of packets.
•
Service object group—Used for matching the service types carried in packets.
•
VRF instance—Used for matching the MPLS L3VPN instances of packets.
•
Application/application group—Used for matching PBAR-classified application IDs of
packets. NBAR-classified applications cannot match any packets. For more information about
PBAR and NBAR, see "Configuring ARP."
For more information about object groups, see "Configuring object groups."
To configure an IPv4 object policy rule:
Step
1047.
Enter
system view.
1048.
Enter IPv4
object
view.
1049.
Configure
an IPv4 object
policy rule.
1050.
(Optional.)
Configure
description
the rule.
Configuring an IPv6 object policy rule
You can specify an existing object group in an IPv6 object policy rule for matching target IPv6
packets. If no object group is specified for a rule, the rule applies to all IPv6 packets.
The following object groups can be used in a rule for packet matching:
•
Source IPv6 address object group—Used for matching the source IPv6 addresses of
packets.
•
Destination IPv6 address object group—Used for matching the destination IPv6 addresses
of packets.
•
Service object group—Used for matching the service types carried in packets.
Command
system-view
policy
object-policy ip object-policy-name
rule [ rule-id ] { drop | pass | inspect
app-profile-name } [ [ source-ip { object-group-name
| any } ] [ destination-ip { object-group-name |
any } ] [ service { object-group-name | any } ] [ vrf
vrf-name
]
[
[ app-group app-group-name ] [ counting ]
[ disable ] [ logging ] [ track [ negative ]
track-entry-number
time-range-name ] ] *
a
rule rule-id comment text
for
application
application-name
time-range
]
[
561
Remarks
N/A
N/A
By default, no IPv4 object
policy rules are configured.
]
If you specify a nonexistent
object group, the rule does
not match packets.
By default, an object policy
rule does not have a
description.
Need help?
Do you have a question about the FlexNetwork MSR Series and is the answer not in the manual?