801
Parameters
object-policy-name
: Specifies an IPv4 object policy name, a case-insensitive string of 1 to 63
characters.
Usage guidelines
The IPv4 object policy name is unchangeable once configured.
You cannot delete an IPv4 object policy that has been applied to a zone pair.
Examples
# Configure an IPv4 object policy and enter its view.
<Sysname> system-view
[Sysname] object-policy ip permit
[Sysname-object-policy-ip-permit] rule pass
Related commands
display object-policy ip
object-policy ipv6
object-policy ipv6
Use
object-policy ipv6
to configure an IPv6 object policy and enter its view, or enter the view of an
existing IPv6 object policy.
Use
undo
object-policy ipv6
to delete an IPv6 object policy.
Syntax
object-policy ipv6 object-policy-name
undo object-policy ipv6 object-policy-name
Default
No IPv6 object policies exist.
Views
System view
Predefined user roles
network-admin
Parameters
object-policy-name
: Configures the IPv6 object policy name, a case-insensitive string of 1 to 63
characters.
Usage guidelines
The IPv6 object policy name is unchangeable once configured.
You cannot delete an IPv6 object policy that has been applied to a zone pair.
Examples
# Configure an IPv6 object policy and enter its view.
<Sysname> system-view
[Sysname] object-policy ipv6 permit
[Sysname-object-policy-ipv6-permit] rule pass
Related commands
display object-policy ipv6