--- title: "loopback" slug: "cli-as-loopback" tags: ["Assurance Sensor CLI"] updated: 2025-07-01T10:58:20Z published: 2025-09-04T19:22:30Z canonical: "docs.crossworkassurance.cisco.com/cli-as-loopback" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.crossworkassurance.cisco.com/llms.txt > Use this file to discover all available pages before exploring further. # loopback ## loopback edit loopback edit - Edit an OAM loopback configuration **Description:** loopback edit allows you to edit OAM loopback configurations. **Syntax:** ``` loopback edit {{timeout } | { type {iometrix-l1 | exfo-l2 | exfo-l3 | anacise-l2 | anacise-l3 | custom}} | { state {enable | disable}} | { filter {l2 | ipv4 | ipv6} } | { swap_mac {enable | disable}} | { swap-ip {enable | disable}} | { swap-port {enable | disable}} | { drop-opposite-traffic {enable | disable}} | { remote-lpbk-acterna {enable | disable}} | { remote-lpbk-sunrise {enable | disable}} | { remote-lpbk-veex {enable | disable}} | { remote-lpbk-oam {enable | disable}} | { discovery-lpbk {enable | disable}} | { tagged-cmds {enable | disable} }} | { persistent {enable | disable} }} | ``` **Parameters:** | Parameter | Description | | --- | --- | | | | | | | | type | Set loopback type to: - iometrix-l1: Loop back all frames that have a destination MAC address of `00:30:79:FF:FF:FF`. - exfo-l2: Loop back all frames that have a source MAC OUI of `00:03:01`. - exfo-l3: Loop back all UDP echo service packets. - anacise-l2: Loop back all frames that have a source MAC OUI of `00:18:75`. - anacise-l3: Loop back all UDP echo service packets. - custom: Loop back all traffic that matches a user-defined filter. | | timeout | Set a timeout period for the loopback to stay active. | | state | Enable or disable the OAM loopback. | | filter | Specify an associated filter type and name. | | swap-mac | Enable or disable MAC address swapping. | | swap-ip | Enable or disable IP address swapping. | | swap-port | Enable or disable port swapping. | | drop-opposite-traffic | Enable or disable dropping of opposite traffic. | | remote-lpbk-acterna | Enable or disable remote loopback for JDSU/Acterna. | | remote-lpbk-sunrise | Enable or disable remote loopback for Sunrise. | | remote-lpbk-veex | Enable or disable remote loopback for VeEX. | | remote-lpbk-oam | Enable or disable remote loopback for OAM 802.3ah. | | discovery-lpbk | Enable (accept) or disable (discard) JDSU/Acterna discovery loopback commands. | | tagged-cmds | Enable (accept) or disable (discard) tagged loopback commands. | | persistent | Enable or disable loopback at startup time. This option can only be set for manual loopbacks with no timeouts. | **Note:** swap-* actions apply only to custom loopbacks (user defined filter). ## loopback show loopback show - Show an OAM loopback configuration **Description:** loopback show allows you to see the configuration of the OAM loopback. **Syntax:** ``` loopback show [] ``` **Parameters:** | Parameter | Description | | --- | --- | | | | **© 2026 Cisco and/or its affiliates. All rights reserved.** For more information about trademarks, please visit: [Cisco trademarks](https://www.cisco.com/c/en/us/about/legal/trademarks.html)[](https://www.cisco.com/c/en/us/about/legal/trademarks.html) For more information about legal terms, please visit: [Cisco legal terms](https://www.cisco.com/c/en/us/about/legal/terms-conditions.html)