Enabling the traffic statistics feature on an Ethernet subinterface
This command is resource intensive. When you use this feature, make sure you fully understand its impact on system performance.
To enable the traffic statistics feature on an Ethernet subinterface:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter Ethernet subinterface view. | interface interface-type interface-number.subnumber | N/A |
3. Enable the traffic statistics feature on the Ethernet subinterface. | traffic-statistic enable | By default, the traffic statistics feature is disabled on an Ethernet subinterface. |
4. (Optional.) Display the traffic statistics for an Ethernet subinterface. |
| Use the Input or Output fields in the display interface command output or use the display counters command to display the traffic statistics for the Ethernet subinterface. |