--- title: "erp" slug: "cli-as-erp" tags: ["Assurance Sensor CLI"] updated: 2025-06-30T06:45:53Z published: 2025-09-04T19:23:07Z canonical: "docs.crossworkassurance.cisco.com/cli-as-erp" --- > ## 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. # erp ## erp add erp add - Create an Ethernet Ring Protection **Description:** Create an Ethernet Ring Protection. **Syntax:** ``` erp add { {aps-vid <1-4095>} | {guard } | {hold-off } | {index } | {lag } | {level {0-7}} | {mep0-idx } | {mep0-identifier | {mep1-identifier } | {port0 } | {port1 } | {revertive {yes | no}} | {rpl-port } | {rpl-role } | {subring-without-vc {yes | no}} | {version } | {vid-list } | {vlan-type } | {wtr }}+ ``` **Parameters:** | Parameter | Description | | --- | --- | | | The ERP instance name. | | aps-vid | The APS VLAN ID ranging (1 - 4095). | | guard | Guard timer duration in milliseconds. | | hold-off | Hold-off timer duration in milliseconds. | | index | ERP instance index. | | lag | LAG name. | | level | MEG level. | | mep0-identifier | MEP name or index for ring port 0. | | mep1-identifier | MEP name or index for ring port 1. | | name | ERP instance name. | | port0 | Name of the physical port 0 used in the ERP. | | port1 | Name of the physical port 1 used in the ERP. | | revertive | Revertive mode of operation. | | rpl-port | Ring protection link port. | | rpl-role | Ring protection link role (`none`, `owner`, `neighbour`). | | subring-without-vc | Member of a sub-ring without a virtual channel. | | version | G.8032 protocol version. | | vid-list | VLAN ID list. | | vlan-type | C-VLAN, S-VLAN, or T-VLAN type. | | wtr | Wait-to-restore timer in minutes. | ## erp clear command erp clear command - Sends a clear command to an ERP instance **Description:** Sends a clear command to an ERP instance. **Syntax:** ``` erp clear command ``` **Parameters:** | Parameter | Description | | --- | --- | | identifier | The ERP index or name. | ## erp clear statistics erp clear statistics - Clear statistics of an ERP instance **Description:** Clear statistics of an ERP instance. **Syntax:** ``` erp clear statistics ``` **Parameters:** | Parameter | Description | | --- | --- | | identifier | The ERP index or name. | ## erp delete erp delete - Delete and Ethernet Ring Protection **Description:** Delete an Ethernet Ring Protection. **Syntax:** ``` erp delete ``` **Parameters:** | Parameter | Description | | --- | --- | | identifier | The ERP index or name. | ## erp edit erp edit - Edit an Ethernet Ring Protection **Description:** Edit an Ethernet Ring Protection. **Syntax:** ``` erp edit { {guard } | {hold-off } | {mep0-identifier | {mep1-identifier } | {name } | {revertive {yes | no}} | {rpl-port } | {rpl-role } | {version } | {vid-list } | {wtr }}+ ``` **Parameters:** | Parameter | Description | | --- | --- | | guard | Guard timer duration in milliseconds. | | hold-off | Hold-off timer duration in milliseconds. | | mep0-identifier | MEP name or index for ring port 0. | | mep1-identifier | MEP name or index for ring port 1. | | name | ERP instance name. | | revertive | Revertive mode of operation. | | rpl-port | Ring protection link port. | | rpl-role | Ring Protection Link (RPL) role. | | version | G.8032 protocol version. | | vid-list | VLAN ID list. | | wtr | Wait-to-restore timer in minutes. | ## erp flush-fdb erp flush-fdb - Flush forwarding DB. **Description:** Remove all learned MAC addresses from the filtering database. **Syntax:** ``` erp flush-fdb ``` ## erp force-switch erp force-switch - Forced Switching of a ring port **Description:** Forced switching of a ring port. **Syntax:** ``` erp force-switch port ``` **Parameters:** | Parameter | Description | | --- | --- | | identifier | The ERP index or name. | | port | The port to block. | ## erp manual-switch erp manual-switch - Manual switching of a ring port **Description:** Manual switching of a ring port. **Syntax:** ``` erp manual-switch port ``` **Parameters:** | Parameter | Description | | --- | --- | | identifier | The ERP index or name. | | port | The port to block. | ## erp show configuration erp show configuration - Show the configuration of ERP instances **Description:** Shows the configuration of ERP instances. **Syntax:** ``` erp show configuration [] ``` **Parameters:** | Parameter | Description | | --- | --- | | identifier | The ERP index or name. | ## erp show statistics erp show statistics - Shows the statistics of ERP instances **Description:** Shows the statistics of ERP instances. **Syntax:** ``` erp show statistics [] ``` **Parameters:** | Parameter | Description | | --- | --- | | identifier | The ERP index or name. | ## erp show status erp show status - Shows the status of ERP instances **Description:** Shows the status of ERP instances. **Syntax:** ``` erp show status [] ``` **Parameters:** | Parameter | Description | | --- | --- | | identifier | The ERP index or name. | ## erp show vlan-fdb erp show vlan-fdb - Shows the vlan-fdb of ERP instances **Description:** Shows the vlan-fdb of ERP instances. **Syntax:** ``` erp show vlan-fdb ``` **Parameters:** | Parameter | Description | | --- | --- | | identifier | The ERP index or name. | **© 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)