< Home

Data Model

The configuration model file matching storm control is huawei-storm-control.yang.

Table 1 Storm control

Object

Description

Value

Remarks

/huawei-storm-control:storm-controls/storm-control/packet-type

Indicates the type of packets for which storm control is enabled.

Enumerated value. The values are as follows:

  • broadcast: broadcast packets.
  • multicast: unknown multicast packets.
  • unicast: unknown unicast packets.

N/A

/huawei-storm-control:storm-controls/storm-control/rate-type/packet/min-rate

Indicates the lower threshold in packet rate limit mode.

The value is an integer, in pps. The value range is as follows:

  • GE interface: 1 to 1488100.
  • XGE interface: 1 to 14881000.
  • 25GE interface: 1 to 14881000
  • 40GE interface: 1 to 59524000.
  • 100GE interface: 1 to 148810000.

N/A

/huawei-storm-control:storm-controls/storm-control/rate-type/packet/max-rate

Indicates the upper threshold in packet rate limit mode.

The value is an integer, in pps. The value range is as follows:

  • GE interface: 1 to 1488100.
  • XGE interface: 1 to 14881000.
  • 25GE interface: 1 to 14881000
  • 40GE interface: 1 to 59524000.
  • 100GE interface: 1 to 148810000.

N/A

/huawei-storm-control:storm-controls/storm-control/rate-type/cir/min-rate

Indicates the lower threshold in byte rate limit mode.

The value is an integer, in kbit/s. The value range is as follows:

  • GE interface: 1 to 1000000.
  • XGE interface: 1 to 10000000.
  • 25GE interface: 1 to 10000000
  • 40GE interface: 1 to 40000000.
  • 100GE interface: 1 to 100000000.

Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this object.

/huawei-storm-control:storm-controls/storm-control/rate-type/cir/max-rate

Indicates the upper threshold in byte rate limit mode.

The value is an integer, in kbit/s. The value range is as follows:

  • GE interface: 1 to 1000000.
  • XGE interface: 1 to 10000000.
  • 25GE interface: 1 to 10000000
  • 40GE interface: 1 to 40000000.
  • 100GE interface: 1 to 100000000.

Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this object.

/huawei-storm-control:storm-controls/storm-control/rate-type/percent/min-rate

Indicates the lower threshold in percentage rate limit mode.

The value is an integer, in percentage. The value ranges from 1 to 100.

Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this object.

/huawei-storm-control:storm-controls/storm-control/rate-type/percent/max-rate

Indicates the upper threshold in percentage rate limit mode.

The value is an integer, in percentage. The value ranges from 1 to 100.

Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this object.

/huawei-storm-control:storm-controls/action

Indicates the storm control action.

Enumerated value. The values are as follows:

  • block: blocks packets.
  • error-down: shuts down an interface.

N/A

/huawei-storm-control:storm-controls/log

Indicates whether to record logs during storm control.

Boolean value:

  • true: Logs are recorded during storm control.
  • false: Logs are not recorded during storm control.

By default, logs are not recorded during storm control.

N/A

/huawei-storm-control:storm-controls/trap

Indicates whether to report traps during storm control.

Boolean value:

  • true: Traps are reported during storm control.
  • false: Traps are not reported during storm control.

By default, traps are not reported during storm control.

N/A

/huawei-storm-control:storm-controls/interval

Indicates the storm detection interval.

The value is an integer that ranges from 1 to 180, in seconds. The default value is 5s.

N/A

/huawei-storm-control:storm-controls/storm-control-state/port-name

Indicates the name of an interface for which storm control is enabled.

The value is a string.

This object only supports the get operation.

/huawei-storm-control:storm-controls/storm-control-state/packet-type

Indicates the type of packets for which storm control is enabled.

Enumerated value. The values are as follows:

  • broadcast: broadcast packets.
  • multicast: unknown multicast packets.
  • unicast: unknown unicast packets.

This object only supports the get operation.

/huawei-storm-control:storm-controls/storm-control-state/min-rate

Indicates the lower threshold of rate limit for storm control.

The value is an integer.

This object only supports the get operation.

/huawei-storm-control:storm-controls/storm-control-state/max-rate

Indicates the upper threshold of rate limit for storm control.

The value is an integer.

This object only supports the get operation.

/huawei-storm-control:storm-controls/storm-control-state/mode-state

Indicates the mode in which rate is limited for storm control.

Enumerated value. The values are as follows:
  • kbps: byte mode.
  • pps: packet mode.
  • per: percentage mode.

This object only supports the get operation.

Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support kbit/s and %.

/huawei-storm-control:storm-controls/storm-control-state/action-state

Indicates the storm control action.

Enumerated value. The values are as follows:

  • block: Packets are blocked.
  • err-down: The interface is shut down.
  • none: No action is configured.

This object only supports the get operation.

/huawei-storm-control:storm-controls/storm-control-state/punish-status

Indicates the status of the interface.

Enumerated value. The values are as follows:

  • block: When the rate of receiving packets is greater than the value of MaxRate and the storm control action is block, the status of the interface is Block.
  • normal: Packets are normally forwarded.
  • err-down: When the rate of receiving packets is greater than the value of MaxRate and the storm control action is error-down, the status of the interface is Err-down.

This object only supports the get operation.

/huawei-storm-control:storm-controls/storm-control-state/trap-state

Indicates the status of the trap function for storm control.

Enumerated value. The values are as follows:

  • on: The trap function for storm control is enabled.
  • off: The trap function for storm control is disabled.

This object only supports the get operation.

/huawei-storm-control:storm-controls/storm-control-state/log-state

Indicates the status of the log function for storm control.

Enumerated value. The values are as follows:

  • on: The log function for storm control is enabled.
  • off: The log function for storm control is disabled.

This object only supports the get operation.

/huawei-storm-control:storm-controls/storm-control-state/interval-state

Indicates the storm detection interval.

The value is an integer.

This object only supports the get operation.

/huawei-storm-control:storm-controls/storm-control-state/last-punish-time

Indicates the last time when storm control is performed.

The value is string.

This object only supports the get operation.

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