The hardware copy function allows a device to forward the protocol packets to be broadcast through hardware instead of sending them to the CPU, achieving fast forwarding.
If a lot of VLANs are configured on a super VLANIF interface, a dot1q VLAN tag termination sub-interface, or a QinQ VLAN tag termination sub-interface, the protocol packets to be forwarded will be broadcast to all the configured VLANs, which burdens the CPU. The hardware copy function allows the protocol packets to be broadcast through hardware, which reduces CPU performance consumption.
The system view is displayed.
To enable hardware copy globally in the system view, run the broadcast-copy fast enable command.
Run interface interface-type interface-number . subinterface-number
The sub-interface view is displayed.
To configure the sub-interface as a dot1q VLAN tag termination sub-interface, run the encapsulation dot1q-termination command.
To configure the sub-interface as a QinQ VLAN tag termination sub-interface, run the encapsulation qinq-termination command.
Run broadcast-copy fast enable
The hardware copy function is enabled.
Run system-view
The interface view is displayed.
Run vlan vlan-id
The VLAN view is displayed.
Run aggregate-vlan
The VLAN is configured as a super VLAN.
Run interface vlanif vlanif-id
The VLANIF interface view is displayed.
Run broadcast-copy fast enable
The hardware copy function is enabled.
The configuration is committed.