The binding command binds an instance to a performance statistics task.
The undo binding command unbinds an instance from a performance statistics task.
By default, no instance is bound to a performance statistics task.
Parameter | Description | Value |
---|---|---|
instance-type instance-type |
Specifies the type of an instance bound to a performance statistics task. The instance type is predefined in each feature. Each instance type is defined in a feature. |
The value is a string of 1 to 63 case-insensitive characters, spaces not supported. |
all |
Specifies all instances of a specific type. |
This parameter is not necessarily supported by all instance types. For details, see the instance type help information. |
instance |
Specifies single instances of a specific type. |
This parameter is not necessarily supported by all instance types. For details, see the instance type help information. |
vpn-instance-name |
Specifies the name of an instance bound to a performance statistics task. |
The value is a string of 1 to 255 case-insensitive characters, spaces not supported. |
Usage Scenario
To bind an instance to a performance statistics task, run the binding command to allow the system to collect performance statistics about the instance.
Prerequisites
Precautions
If the bound instance is an Ethernet interface, GE interface, or Eth-Trunk interface, note the following aspects:
Traffic statistics on the interface are collected at the default interval (300s), meaning that the forwarding rate and bandwidth usage of the interface will not change within 300s. If the value of cycle specified in the statistics-cycle command is less than 300s (5 minutes), the performance statistics (the forwarding rate and bandwidth usage) about the interface remain unchanged, which cannot reflect the actual traffic on the interface.
To resolve this issue, use either of the following methods:
To collect and upload Y.1731 performance statistics using a performance statistics task, run the y1731 pm-mode enable command to switch to the PM mode in which Y.1731 performance statistics objects are configured.