< Home

binding

Function

The binding command binds an instance to a performance statistics collection task.

The undo binding command unbinds an instance from a performance statistics collection task.

By default, no instance is bound to a performance statistics collection task.

Format

binding instance-type instance-type all

binding instance-type instance-type instance instance-name &<1-5>

undo binding instance-type instance-type { all | instance instance-name &<1-5> }

Parameters

Parameter Description Value
instance-type instance-type

Specifies the type of an instance bound to a performance statistics collection task.

The enumerated values include:
  • ipfpm: collects IP FPM statistics.

  • uni-mng-as-port: collects statistics on an AS port.

  • wlan-ap: collects AP statistics:

  • wlan-radio: collects statistics about a specified AP radio.

  • wlan-ssid: collects statistics about a service set bound to a specific AP radio.

  • wlan-ap-wiredport: collects statistics on an AP wired port.

NOTE:

The S6720-SI and S6720S-SI only support the uni-mng-as-port.

all

Binds all instances.

When all is specified, instance-type can only be ipfpm.

-

instance instance-name

Specifies the name of an instance of a specific type.

The value is a string of 1 to 255 case-insensitive characters.
  • When instance-type is ipfpm, the instance-name value is configured using the instance (IPFPM-MCP view) command.

  • When instance-type is uni-mng-as-port, the instance-name value is AS name+interface number, for example, as1 gigabitethernet0/0/1.

  • When instance-type is wlan-ap, the instance-name value is ap-id. For example, 1 indicates AP 1.

  • When instance-type is wlan-radio, the instance-name value is ap-id.radio-id. For example, 0.1 indicates radio 1 of AP 0.

  • When instance-type is wlan-ssid, the instance-name value is ap-id.radio-id.SSID name length.SSID name ASCII code. For example, 1.0.5.98.99.100.101.102 indicates the SSID with the name bcdef and name length 5 of radio 0 of AP 1.

  • When instance-type is wlan-ap-wiredport, the instance-name value is ap-id.port type x 100+port number. For example, 0.101 indicates FE port 1 of AP 0. The port type can be 1 (an FE port) or 2 (a GE port). The port number ranges from 0 to 99.

Views

Performance statistics collection task view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The binding command is used to bind an instance to a performance statistics task so that the system can collect the performance statistics about the instance. Multiple instances can be bound to a performance statistics collection task.

Prerequisites

The traffic statistics function has been enabled using the statistics enable command. Otherwise, the binding command cannot take effect.

Precautions

If multiple performance statistics tasks are bound to the same interface to collect interface statistics, the peak values of the tasks are inaccurate.

If instance-type is set to uni-mng-as-port, performance statistics on interfaces of the AS are collected. The interval for collecting traffic statistics on interfaces configured by the set flow-stat interval interval-time command must be shorter than the interval for collecting performance statistics configured by the statistics-cycle cycle command. If the value of interval-time is greater than the value of cycle, performance statistics on interfaces are incorrect. This is because the statistics about the rate and bandwidth usage on interfaces remain the same within the interval specified by interval-time.

Example

# Bind all instances in IP FPM to performance statistics collection task task1.

<HUAWEI> system-view
[HUAWEI] nqa ipfpm mcp
[HUAWEI-nqa-ipfpm-mcp] instance 1
[HUAWEI-nqa-ipfpm-mcp-instance-1] quit
[HUAWEI-nqa-ipfpm-mcp] quit
[HUAWEI] pm
[HUAWEI-pm] statistics-task task1
[HUAWEI-pm-statistics-task1] binding instance-type ipfpm all
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >