No relevant resource is found in the selected language.
Your browser version is too early. Some functions of the website may be unavailable. To obtain better user experience, upgrade the browser to the latest version.
CloudEngine 12800 and 12800E V200R019C10 Configuration Guide - Ethernet Switching
This document describes the configuration of Ethernet services, including configuring MAC address table, link aggregation, M-LAG, VLAN, QinQ, VLAN mapping, GVRP, STP/RSTP, MSTP, VBST, ERPS (G.8032), LBDT, and Layer 2 protocol transparent transmission.
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document.
Note: Even the most advanced machine translation cannot match the quality of professional translators.
Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Collecting Traffic Statistics Collection in a VLAN
Collecting Traffic Statistics Collection in a VLAN
Context
You can enable traffic statistics collection on a VLAN or on a VLANIF interface to monitor VLAN traffic.
If the port is added to a VLAN that is bound to a VLL and another VLAN that has VLANIF traffic statistics collection enabled, VLANIF traffic statistics collection does not take effect on the port.
Procedure
Configure traffic statistics collection in a VLAN.
Run the system-view command to enter the system view.
Run the vlanvlan-id command to enter the VLAN view.
In the VLAN view, run the statistics enable command to enable traffic statistics collection in a VLAN.
By default, traffic statistics collection is disabled in a VLAN.
Traffic statistics collection in a VLAN and traffic statistics collection on a Layer 2 sub-interface are mutually exclusive on CE12800 series switches.
Run the commit command to commit the configuration.
Configure traffic statistics collection on the VLANIF interface.
Run the system-view command to enter the system view.
Run the interface vlanifvlan-id command to enter the VLANIF interface view.
(Optional) Run the ipv6 enable command to enable the IPv6 function on the interface.
By default, the IPv6 function is disabled on an interface.
Before enabling IPv6 packet statistics collection on a VLANIF interface, enable the IPv6 function on the interface.
Enable traffic statistics collection on the VLANIF interface.
For the CE12800E equipped with the ED-E/EG-E/EGA-E series cards, run the statistics enable command.
For the CE12800E equipped with the FD-X series cards, run the statistics [ ipv4 | ipv6 ] enable command.
For CE12800 series switches, run the statistics [ ipv6 ] enable [ inbound | outbound ] command.
By default, traffic statistics collection is disabled on a VLANIF interface.
Run the commit command to commit the configuration.
Follow-up Procedure
Run the display vlanvlan-idstatistics command in any view to check traffic statistics in a specified VLAN.
Run the display interface vlanif [ vlan-id ] command in any view to check traffic statistics on a VLANIF interface.