EasyManua.ls Logo

H3C MSR Series

H3C MSR Series
1187 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
970
[Sysname-object-policy-ip-permit] rule 1 append source-ip sourceip2
[Sysname-object-policy-ip-permit] rule 1 append source-ip sourceip3
Related commands
app-group
display object-policy ip
display object-policy ipv6
nbar application
object-group
object-policy ip
object-policy ipv6
rule (IPv4 object policy view)
rule (IPv6 object policy view)
rule comment
Use rule comment to configure a description for a rule.
Use undo rule comment to delete the description for a rule.
Syntax
rule rule-id comment text
undo rule rule-id comment
Default
No description is configured for a rule.
Views
Object policy view
Predefined user roles
network-admin
Parameters
rule-id: Specifies a rule by its ID in the range of 0 to 65534.
text: Specifies a description, a case-sensitive string of 1 to 127 characters.
Usage guidelines
If the specified rule does not exist, this command fails.
If the rule does not have a description, this command configures the description. Otherwise, this
command overwrites the existing description for the rule.
Examples
# Create rule 0 for IPv4 object policy permit and configure a description for rule 0.
<Sysname> system-view
[Sysname] object-policy ip permit
[Sysname-object-policy-ip-permit] rule 0 pass source-ip ip1
[Sysname-object-policy-ip-permit] rule 0 comment This rule is used for source-ip ip1
Related commands
display object-policy ip

Table of Contents

Other manuals for H3C MSR Series

Related product manuals