The configuration model file matching ACL-based simplified traffic policy management is huawei-sacl.yang.
Object |
Description |
Value |
Remarks |
---|---|---|---|
/huawei-sacl:traffic-filter-apply/directions/direction |
Indicates the direction for global packet filtering. |
The value is of the enumerated type:
|
N/A |
/huawei-sacl:traffic-filter-apply/directions/acls/acl |
Indicates the ACL for global packet filtering. |
The value must be an ACL specified in the /ietf-acl:access-lists/ietf-acl:access-list/ietf-acl:access-control-list-name object in the ietf-acl.yang file. |
Only IPv4 ACLs are supported. |
/huawei-sacl:traffic-filter-apply/directions/acls/ipv6-flag |
Indicates the type of an ACL. |
Boolean value:
The default value is false. |
N/A |
/huawei-sacl:traffic-filter-apply/directions/acls/statistic |
Indicates whether to globally enable the function of collecting traffic statistics based on ACLs. |
Boolean value:
The default value is false. |
N/A |
/huawei-sacl:traffic-remark-apply/directions/direction |
Indicates the direction for global packet re-marking. |
The value is of the enumerated type:
|
N/A |
/huawei-sacl:traffic-remark-apply/directions/acl |
Indicates the ACL for global packet re-marking. |
The value must be an ACL configured in ietf-acl.yang. The ACL is specified in the /ietf-acl:access-lists/ietf-acl:access-list/ietf-acl:access-control-list-name object. |
N/A |
/huawei-sacl:traffic-remark-apply/directions/local-precedence |
Indicates the re-marked local priority of a packet. |
The value is an integer in the range from 0 to 7. |
A larger value indicates a higher priority. |
/huawei-sacl:traffic-secure-apply/directions/direction |
Indicates the direction for global packet filtering. |
The value is of the enumerated type:
|
Currently, this object can be set only to inbound. |
/huawei-sacl:traffic-secure-apply/directions/acls/acl |
Indicates the ACL for global packet filtering. |
The value must be an ACL specified in the /ietf-acl:access-lists/ietf-acl:access-list/ietf-acl:access-control-list-name object in the ietf-acl.yang file. |
Only IPv4 ACLs are supported. |
/huawei-sacl:traffic-secure-apply/directions/acls/ruleid |
Indicates the ID of the ACL rule for global packet filtering. |
The value is an integer in the range from 0 to 4294967295. |
If this object is set to 4294967295 (all Fs), the rule ID is not specified. |
/huawei-sacl:traffic-secure-apply/directions/acls/statistic |
Indicates whether to globally enable the function of collecting traffic statistics based on ACLs. |
Boolean value:
The default value is false. |
N/A |
/ietf-interfaces:interfaces/interface/huawei-sacl:traffic-filter-apply/directions/direction |
Indicates the direction for packet filtering on an interface. |
The value is of the enumerated type:
|
N/A |
/ietf-interfaces:interfaces/interface/huawei-sacl:traffic-filter-apply/directions/acls/acl |
Indicates the ACL for packet filtering on an interface. |
The value must be an ACL specified in the /ietf-acl:access-lists/ietf-acl:access-list/ietf-acl:access-control-list-name object in the ietf-acl.yang file. |
Only IPv4 ACLs are supported. |
/ietf-interfaces:interfaces/interface/huawei-sacl:traffic-filter-apply/directions/acls/ipv6-flag |
Indicates the type of an ACL. |
Boolean value:
The default value is false. |
N/A |
/ietf-interfaces:interfaces/interface/huawei-sacl:traffic-filter-apply/directions/acls/statistic |
Indicates whether to enable the function of collecting traffic statistics based on ACLs on an interface. |
Boolean value:
The default value is false. |
N/A |
/ietf-interfaces:interfaces/interface/huawei-sacl:traffic-secure-apply/directions/direction |
Indicates the direction for packet filtering on an interface. |
The value is of the enumerated type:
|
Currently, this object can be set only to inbound. |
/ietf-interfaces:interfaces/interface/huawei-sacl:traffic-secure-apply/directions/acls/acl |
Indicates the ACL for packet filtering on an interface. |
The value must be an ACL specified in the /ietf-acl:access-lists/ietf-acl:access-list/ietf-acl:access-control-list-name object in the ietf-acl.yang file. |
Only IPv4 ACLs are supported. |
/ietf-interfaces:interfaces/interface/huawei-sacl:traffic-secure-apply/directions/acls/ruleid |
Indicates the ID of an ACL for packet filtering on an interface. |
The value is an integer in the range from 0 to 4294967295. |
If this object is set to 4294967295 (all Fs), the rule ID is not specified. |
/ietf-interfaces:interfaces/interface/huawei-sacl:traffic-secure-apply/directions/acls/statistic |
Indicates whether to enable the function of collecting traffic statistics based on ACLs on an interface. |
Boolean value:
The default value is false. |
N/A |
/huawei-sacl:get-traffic-apply-status/input/acls/acl |
Indicates the name of an ACL in an ACL-based simplified traffic policy. |
The value must be an ACL specified in the /ietf-acl:access-lists/ietf-acl:access-list/ietf-acl:access-control-list-name object in the ietf-acl.yang file. |
N/A |
/huawei-sacl:get-traffic-apply-status/input/acls/ruleid |
Indicates the ID of an ACL rule in an ACL-based simplified traffic policy. |
The value is an integer in the range from 0 to 4294967295. |
If this object is set to 4294967295 (all Fs), the rule ID is not specified. |
/huawei-sacl:get-traffic-apply-status/input/acls/application-type |
Indicates the filtering type in an ACL-based simplified traffic policy. |
The value is of the enumerated type:
|
N/A |
/huawei-sacl:get-traffic-apply-status/input/acls/application-view |
Indicates whether an ACL-based simplified traffic policy is applied globally or on an interface. |
The value is of the enumerated type:
|
N/A |
/huawei-sacl:get-traffic-apply-status/input/acls/interface-global |
Indicates the name of an interface to which an ACL-based simplified traffic policy is applied. |
The value is a string of 1 to 256 characters.
|
N/A |
/huawei-sacl:get-traffic-apply-status/input/acls/direction |
Indicates the direction in which an ACL-based simplified traffic policy is applied. |
The value is of the enumerated type:
|
N/A |
/huawei-sacl:get-traffic-apply-statistic/input/acls/acl |
Indicates the name of an ACL in ACL-based traffic statistics. |
The value must be an ACL specified in the /ietf-acl:access-lists/ietf-acl:access-list/ietf-acl:access-control-list-name object in the ietf-acl.yang file. |
N/A |
/huawei-sacl:get-traffic-apply-statistic/input/acls/ruleid |
Indicates the ID of an ACL rule in ACL-based traffic statistics. |
The value is an integer in the range from 0 to 4294967295. |
If this object is set to 4294967295 (all Fs), the rule ID is not specified. |
/huawei-sacl:get-traffic-apply-statistic/input/acls/application-type |
Indicates the filtering type in ACL-based traffic statistics. |
The value is of the enumerated type:
|
N/A |
/huawei-sacl:get-traffic-apply-statistic/input/acls/application-view |
Indicates whether ACL-based traffic statistics are collected globally or on an interface. |
The value is of the enumerated type:
|
N/A |
/huawei-sacl:get-traffic-apply-statistic/input/acls/interface-global |
Indicates the name of an interface in ACL-based traffic statistics. |
The value is a string of 1 to 256 characters.
|
N/A |
/huawei-sacl:get-traffic-apply-statistic/input/acls/direction |
Indicates the direction in which ACL-based traffic statistics are collected. |
The value is of the enumerated type:
|
N/A |
/huawei-sacl:get-traffic-apply-statistic/input/clearflag |
Indicates whether to clear the statistics after the query. |
Boolean value:
The default value is false. |
N/A |