< Home

Data Model

The configuration model file matching ACL-based simplified traffic policy management is huawei-sacl.yang.

Table 1 ACL-based simplified traffic policy management

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:
  • inbound
  • outbound

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:
  • true: IPv6 ACL
  • false: IPv4 ACL

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:
  • true: The function of collecting traffic statistics based on ACLs is globally enabled.
  • false: The function of collecting traffic statistics based on ACLs is not globally enabled.

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:
  • inbound
  • outbound

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:
  • inbound
  • outbound

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:
  • true: The function of collecting traffic statistics based on ACLs is globally enabled.
  • false: The function of collecting traffic statistics based on ACLs is not globally enabled.

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:
  • inbound
  • outbound

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:
  • true: IPv6 ACL
  • false: IPv4 ACL

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:
  • true: The function of collecting traffic statistics based on ACLs is enabled on an interface.
  • false: The function of collecting traffic statistics based on ACLs is disabled on an interface.

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:
  • inbound
  • outbound

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:
  • true: The function of collecting traffic statistics based on ACLs is enabled on an interface.
  • false: The function of collecting traffic statistics based on ACLs is disabled on an interface.

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:
  • filter
  • secure

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:
  • global: An ACL-based simplified traffic policy is applied globally.
  • interface: An ACL-based simplified traffic policy is applied on an interface.

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.
  • If the ACL-based simplified traffic policy is applied in the system view, this object can be set to any value.
  • If the ACL-based simplified traffic policy is applied in the interface view, this object can be set to a specific interface name, for example, GigabitEthernet0/0/1.

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:
  • inbound
  • outbound

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:
  • filter
  • secure

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:
  • global: ACL-based traffic statistics are collected globally.
  • interface: ACL-based traffic statistics are collected on an interface.

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.
  • If the ACL-based simplified traffic policy is applied in the system view, this object can be set to any value.
  • If the ACL-based simplified traffic policy is applied in the interface view, this object can be set to a specific interface name, for example, GigabitEthernet0/0/1.

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:
  • inbound
  • outbound

N/A

/huawei-sacl:get-traffic-apply-statistic/input/clearflag

Indicates whether to clear the statistics after the query.

Boolean value:
  • true: Statistics are cleared after the query.
  • false: Statistics are not cleared after the query.

The default value is false.

N/A

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >