Configuring Remote MAC Swap Loopback
Context
Before performing a remote MAC swap loopback test, configure the source MAC address, destination MAC address, and VLAN ID of test packets on the Switch. Only the packets with the specified source MAC address, destination MAC address, and VLAN ID are looped back.
A remote MAC swap loopback test modifies only Ethernet frames matching the MAC swap loopback configuration on an interface, and other Ethernet frames can still be forwarded on the interface. However, if a large number of test packets are sent, test packets occupy bandwidth of other services on the interface.
Procedure
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The interface view is displayed.
- Configure remote MAC swap loopback.
loopback remote swap-mac source-mac source-mac-address dest-mac dest-mac-address vlan vlan-id [ inner-vlan inner-vlan-id ] [ timeout { time-value | none } ]
SA cards support loopback of only single-tagged Ethernet frames.
If the single VLAN tag option is configured on a card except EH1D2S24CSA0 or EH1D2G24SSA0, the test packets cannot be double-tagged.