Configuring Local MAC Swap Loopback
Context
Before performing a local 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.
When a local MAC swap test is performed on an interface, services on the interface are interrupted, but services on other interfaces are not affected. However, if a large number of test packets are sent, test packets occupy bandwidth of other services on the interface that sends test packets back to the tester.
Procedure
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The interface view is displayed.
- Run loopback local swap-mac source-mac source-mac-address dest-mac dest-mac-address vlan vlan-id [ inner-vlan inner-vlan-id ] interface interface-type interface-number [ timeout { time-value | none } ]
SA cards support loopback of only single-tagged Ethernet frames.
If the single VLAN tag option is configured on any card except LE0MG24CA or LE0MG24SA, the test packets cannot be double-tagged.