< Home

Data Model

The configuration model files matching ECA is huawei-netstream.yang.

Only the following switch models support ECA:

S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-HI, S6730-H, S6730S-H, S6730-S, S6730S-S

Before configuring this function, change the resource allocation mode to eca and restart the switch.

Table 1 Configuration objects of ECA

Object

Description

Value

Remarks

/huawei-netstream:nge/enable

Enables the IAE.

The value is of the Boolean type:
  • true: The IAE is enabled.
  • false: The IAE is disabled.

The default value is false.

N/A

/huawei-netstream:nge/active-timeout

Sets the aging time of active flows of the ECA session.

The value is an integer in the range from 1 to 300, in seconds. The default value is 60.

N/A

/huawei-netstream:nge/inactive-timeout

Sets the aging time of inactive flows of the ECA session.

The value is an integer in the range from 1 to 300, in seconds. The default value is 15.

N/A

/huawei-netstream:eca/acl

Adds a specified ACL to the ECA whitelist.

The value is an integer in the range from 3000 to 3999.

N/A

/huawei-netstream:eca/enhanced-mode

Enables the ECA enhanced mode.

The value is of the Boolean type:
  • true: The ECA enhanced mode is enabled.
  • false: The ECA enhanced mode is disabled.

The default value is true.

N/A

/huawei-netstream:netstream-apply/interface/eca-enable/direction

Enables the ECA function and specifies the direction of traffic for which ECA is performed.

The value is of the enumerated type:

  • inbound
  • outbound
  • both

N/A

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