Enabling the MAC Swap Loopback Function
Context
A loopback test causes network performance to deteriorate. If a large number of test packets are sent, bandwidth of other services is occupied. To ensure satisfactory network performance, enable the MAC swap loopback function only when the loopback test begins and disable it immediately after the loopback test is complete.
Procedure
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The interface view is displayed.
- Run loopback swap-mac start
The MAC swap loopback function is enabled.
The loopback swap-mac start command is a one-time command and is not saved in the configuration file.
To ensure service provisioning on the interface, run the loopback swap-mac stop command to disable the MAC swap loopback function immediately after the test is complete.