(Optional) Enabling Hardware Copy

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.

Usage Scenario

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.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Enable hardware copy either globally or on an interface. This command is applicable only to the super VLANIF interface, dot1q VLAN tag termination sub-interface, and QinQ VLAN tag termination sub-interface.

    • To enable hardware copy globally in the system view, run the broadcast-copy fast enable command.

    • To enable hardware copy on an dot1q VLAN tag termination sub-interface or a QinQ VLAN tag termination sub-interface, run the following commands:
      1. Run interface interface-type interface-number . subinterface-number

        The sub-interface view is displayed.

      2. Run either of the following commands:
      3. Run broadcast-copy fast enable

        The hardware copy function is enabled.

    • To enable hardware copy on a super VLANIF interface, run the following commands:
      1. Run system-view

        The interface view is displayed.

      2. Run vlan vlan-id

        The VLAN view is displayed.

      3. Run aggregate-vlan

        The VLAN is configured as a super VLAN.

      4. Run interface vlanif vlanif-id

        The VLANIF interface view is displayed.

      5. Run broadcast-copy fast enable

        The hardware copy function is enabled.

  3. Run commit

    The configuration is committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >