13.8. ERPS Commands
13.8.1. erps
Command Purpose
Use this command to create ERPS domain instance.
Use the no form of this command to remove the ERPS domain instance.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
erps DOMAINID (ERPS_NAME| )
no erps DOMAINID
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
DOMAINID |
ERPS domain ID. |
1-255 |
ERPS_NAME |
ERPS domain name |
String with up to 15 characters |
Command Mode
Global Config
Default
None
Usage
This command is used to create or delete an ERPS domain. The command should the use first when config ERPS.
ERPS_NAME is optional. If no name is provided by command, system will generate the domain name automatically. The name format follows “ERPS001”, where 001 can be instead of any domain ID between 1-255 provided through the command.
Examples
This example shows how to create an ERPS domain with ID 11 and name test11:
Switch# configure terminal
Switch(config)# erps 11 test11
13.8.2. erps control vlan
Command Purpose
Use this command to specify ERPS domain’s control VLAN.
Use the no form of this command to remove the control VLAN.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
erps DOMAINID (primary|sub) control vlan VLANID
no erps DOMAINID (primary|sub) control vlan
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
DOMAINID |
ERPS domain ID. |
1-255 |
primary |
Primary ring |
|
sub |
Sub ring |
- |
VLANID |
VLAN ID |
2-4094 |
Command Mode
Global Config
Default
None
Usage
The ERPS protocol packet is transferred in the control VLAN.
It is best to add the control VLAN into the instance which is bound by the domain.
Examples
This example shows how to set VLAN 15 as primary control VLAN for ERPS domain 11:
Switch# configure terminal
Switch(config)# vlan database
Switch(config-vlan)# vlan 15
Switch(config-vlan)# exit
Switch(config)# erps 11 primary control vlan 15
Related Commands
show erps
13.8.3. erps hellotime
Command Purpose
Use this command to set hello timer interval for specific ERPS domain instance.
Use the no form of this command to restore the default value.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
erps DOMAINID hellotime HELLOTIME
no erps DOMAINID hellotime
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
DOMAINID |
ERPS domain ID. |
1-255 |
HELLOTIME |
Hello timer interval |
1-150 in the multiple of 100 ms |
Command Mode
Global Config
Default
The default hellotime is 10 second, unit is 100ms.
Usage
The timer should be the same of all nodes in the ring.
Examples
This example shows how to set hello timer interval of ERPS domain 11 to 20s:
Switch# configure terminal
Switch(config)# erps 11 hellotime 20
Related Commands
show erps
13.8.4. erps failtime
Command Purpose
Use this command to set the fail timer interval for specific ERPS domain instance.
Use the no form of this command to restore the default value.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
erps DOMAINID failtime FAILTIME
no erps DOMAINID failtime
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
DOMAINID |
ERPS domain ID. |
1-255 |
FAILTIME |
Fail timer interval |
3-450 in the multiple of 100 ms |
Command Mode
Global Config
Default
The default failtime is 30 (3 seconde), unit is 100ms.
Usage
The timer should be the same of all nodes in the ring.
Examples
This example shows how to set fail timer interval of ERPS domain 11 to 60s:
Switch# configure terminal
Switch(config)# erps 11 failtime 60
Related Commands
show erps
13.8.5. erps mstp instance
Command Purpose
Use this command to set the MSTP instance protected by ERPS.
Use the no form of this command to remove the protected MSTP instance.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
erps DOMAINID mstp instance INSTANCE_ID
no erps DOMAINID mstp instance
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
DOMAINID |
ERPS domain ID |
1-255 |
INSTANCE_ID |
MSTP instance. |
1-4094 |
Command Mode
Global Config
Default
None
Usage
No default instance is specified.
Examples
This example shows how to set instance 1 as ERPS11’s protected instance:
Switch# configure terminal
Switch(config)# erps 11 mstp instance 1
Related Commands
show erps
13.8.6. erps ring level
Command Purpose
Use this command to create an ERPS ring for specific ERPS domain.
Use the no form of this command to remove the ERPS ring.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
erps DOMAINID ring RINGID level (primary|sub)
no erps DOMAINID ring RINGID
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
DOMAINID |
ERPS domain ID |
1-255 |
RINGID |
ERPS ring ID |
1-255 |
primary |
Primary ring |
- |
sub |
Sub ring |
- |
Command Mode
Global Config
Default
None
Usage
The rings in the ERPS domain are divided into primary and subrings that are differentiated by the configuration.
Examples
This example shows how to create a sub ring with ID 1 for ERPS domain 11:
Switch# configure terminal
Switch(config)# erps 11 ring 1 level sub
Related Commands
show erps
13.8.7. erps ring mode
Command Purpose
Use this command to set specific ERPS ring instance node mode.
Use the no form of this command to restore the default mode.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
erps DOMAINID ring RINGID mode (master|transit)
no erps DOMAINID ring RINGID mode
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
DOMAINID |
ERPS domain ID |
1-255 |
RINGID |
ERPS ring ID |
1-255 |
master |
Master node |
- |
transit |
Transit node |
- |
Command Mode
Global Config
Default
The mode is not set by default.
Usage
The master node is used to send and receive ERPS protocol packet.
The transit node is used to transfer ERPS protocol packet to neighbor switch.
Examples
This example shows how to set node as ERPS domain 11 ring 1 transit node:
Switch# configure terminal
Switch(config)# erps 11 ring 1 mode transit
Related Commands
show erps
13.8.8. erps ring primary interface
Command Purpose
Use this command to set primary interface for specific ERPS ring instance.
Use the no form of this command to unset the primary interface.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
erps DOMAINID ring RINGID primary interface (IFPHYSICAL|IFAGG)
no erps DOMAINID ring RINGID primary interface
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
DOMAINID |
ERPS domain ID |
1-255 |
RINGID |
ERPS ring ID |
1-255 |
IFPHYSICAL |
Ethernet interface name |
|
IFAGG |
Link aggregation interface name |
Command Mode
Global Config
Default
None
Usage
For master node, the interface with type primary is used to send ERPS protocol packet.
Only the interface in trunk/dot1q-tunnel mode can be set as primary interface.
Examples
This example shows how to set interface eth-0-9 as primary interface for ERPS domain 11 ring 1:
Switch# configure terminal
Switch(config)# interface eth-0-9
Switch(config-if)# switchport mode trunk
Switch(config-if)# switchport trunk allowed vlan add 15
Switch(config-if)# exit
Switch(config)# erps 11 ring 1 primary interface eth-0-9
Related Commands
show erps
13.8.9. erps ring secondary interface
Command Purpose
Use this command to set secondary interface for specific ERPS ring instance.
Use the no form of this command to unset the secondary interface.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
erps DOMAINID ring RINGID secondary interface (IFPHYSICAL|IFAGG)
no erps DOMAINID ring RINGID secondary interface
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
DOMAINID |
ERPS domain ID |
1-255 |
RINGID |
ERPS ring ID |
1-255 |
IFPHYSICAL |
Ethernet interface name |
|
IFAGG |
Link aggregation interface name |
Command Mode
Global Config
Default
None
Usage
Only the interface in trunk/dot1q-tunnel mode can be set as secondary interface.
Examples
This example shows how to set interface eth-0-9 as primary interface for ERPS domain 11 ring 1:
Switch# configure terminal
Switch(config)# interface eth-0-9
Switch(config-if)# switchport mode trunk
Switch(config-if)# switchport trunk allowed vlan add 15
Switch(config-if)# exit
Switch(config)# erps 11 ring 1 secondary interface eth-0-9
Related Commands
show erps
13.8.10. erps ring interface
Command Purpose
Use this command to set interface for specific ERPS ring instance.
Use no form of this command to unset interface for specific ERPS ring instance.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
erps DOMAINID ring DOMAINID interface (IFPHYSICAL|IFAGG)
no erps DOMAINID ring DOMAINID interface
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
DOMAINID |
ERPS domain ID |
1-255 |
RINGID |
ERPS ring ID |
1-255 |
IFPHYSICAL |
Ethernet interface name |
|
IFAGG |
Link aggregation interface name |
Command Mode
Global Config
Default
None
Usage
None
Examples
This example shows how to set interface eth-0-9 as interface for ERPS domain 11 ring 1:
Switch# configure terminal
Switch(config)# interface eth-0-9
Switch(config-if)# switchport mode trunk
Switch(config-if)# switchport trunk allowed vlan add 15
Switch(config-if)# exit
Switch(config)# erps 11 ring 1 interface eth-0-9
Related Commands
show erps
13.8.11. erps ring edge-mode
Command Purpose
Use this command to set specific ERPS ring instance edge node mode.
Use the no form of this command to unset specific ERPS ring instance edge node mode.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
erps DOMAINID ring DOMAINID edge-mode (edge|assistant-edge)
no erps DOMAINID ring DOMAINID mode
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
DOMAINID |
ERPS domain ID |
1-255 |
RINGID |
ERPS ring ID |
1-255 |
edge |
Edge node |
|
assistant-edge |
Assistant-edge node |
Command Mode
Global Config
Default
None
Usage
Both the edge node and the assistant-edge node are special transit nodes.
Once a node is set to edge/assistant-edge node, it will be set to transit node automatically.
Examples
This example shows how to set node as ERPS domain 11 ring 1 edge node:
Switch# configure terminal
Switch(config)# erps 11 ring 1 edge-mode edge
Related Commands
show erps
13.8.12. erps ring edge interface
Command Purpose
Use this command to set edge interface for specific ERPS ring instance.
Use the no form of this command to unset the edge interface.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
erps DOMAINID ring DOMAINID edge interface (IFPHYSICAL|IFAGG)
no erps DOMAINID ring DOMAINID edge interface
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
DOMAINID |
ERPS domain ID |
1-255 |
RINGID |
ERPS ring ID |
1-255 |
IFPHYSICAL |
Ethernet interface name |
- |
IFAGG |
Link aggregation interface name |
- |
Command Mode
Global Config
Default
None
Usage
Of the two ports via which the edge node (assistant-edge node) accesses the subring, one is a common port and the other is an edge port. The common port is the port for the edge node (assistant-edge node) to access the primary ring and the subring, while the edge port is the port for the edge node to access the subring only.
This command is only available for edge/assistant-edge node.
Examples
This example shows how to set interface eth-0-9 as edge interface for ERPS domain 11 ring 1:
Switch# configure terminal
Switch(config)# interface eth-0-9
Switch(config-if)# switchport mode trunk
Switch(config-if)# switchport trunk allowed vlan add 15
Switch(config-if)# exit
Switch(config)# erps 11 ring 1 edge interface eth-0-9
Related Commands
show erps
13.8.13. erps ring common interface
Command Purpose
Use this command to set common interface for specific ERPS ring instance.
Use the no form of this command to set edge interface for specific ERPS ring instance.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
erps DOMAINID ring RINGID common interface (IFPHYSICAL|IFAGG)
no erps DOMAINID ring RINGID common interface
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
DOMAINID |
ERPS domain ID |
1-255 |
RINGID |
ERPS ring ID |
1-255 |
IFPHYSICAL |
Ethernet interface name |
- |
IFAGG |
Link aggregation interface name |
- |
Command Mode
Global Config
Default
None
Usage
Of the two ports via which the edge node (assistant-edge node) accesses the subring, one is a common port and the other is an edge port. The common port is the port for the edge node (assistant-edge node) to access the primary ring and the subring, while the edge port is the port for the edge node to access the subring only.
This command is only available for edge/assistant-edge node.
Examples
This example shows how to set interface eth-0-9 as edge interface for ERPS domain 11 ring 1:
Switch# configure terminal
Switch(config)# interface eth-0-9
Switch(config-if)# switchport mode trunk
Switch(config-if)# switchport trunk allowed vlan add 15
Switch(config-if)# exit
Switch(config)# erps 11 ring 1 common interface eth-0-9
Related Commands
show erps
13.8.14. erps ring srpt
Command Purpose
Use this command to enable/disable SRPT functionality for specific ERPS ring instance.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
erps DOMAINID ring RINGID srpt (enable|disable)
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
DOMAINID |
ERPS domain ID |
1-255 |
RINGID |
ERPS ring ID |
1-255 |
enable |
Enable the SRPT |
- |
disable |
Disable the SRP |
- |
Command Mode
Global Config
Default
None
Usage
None
Examples
This example shows how to enable SRPT functionality for ERPS domain 11 ring 1:
Switch# configure terminal
Switch(config)# erps 11 ring 1 srpt enable
Related Commands
show erps
13.8.15. erps ring enable
Command Purpose
Use this command to enable specific ERPS ring instance.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
erps DOMAINID ring RINGID enable
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
DOMAINID |
ERPS domain ID |
1-255 |
RINGID |
ERPS ring ID |
1-255 |
Command Mode
Global Config
Default
None
Usage
Upon the specific ERPS ring is enabled successfully, the ring state should leave the idle state.
Examples
This example shows how to enable ERPS domain 11 ring 1:
Switch# configure terminal
Switch(config)# erps 11 ring 1 enable
Related Commands
show erps
13.8.16. erps ring disable
Command Purpose
Use this command to disable specific ERPS ring instance.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
erps DOMAINID ring RINGID disable
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
DOMAINID |
ERPS domain ID |
1-255 |
RINGID |
ERPS ring ID |
1-255 |
Command Mode
Global Config
Default
None
Usage
Upon the specific ERPS ring is enabled successfully, the ring state should leave the idle state.
Examples
This example shows how to disable ERPS domain 11 ring 1:
Switch# configure terminal
Switch(config)# erps 11 ring 1 disable
Related Commands
show erps
13.8.17. erps enable
Command Purpose
Use this command to enable specific ERPS domain instance.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
erps DOMAINID enable
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
DOMAINID |
ERPS domain ID |
1-255 |
Command Mode
Global Config
Default
None
Usage
Use this command to enable all the ring of the ERPS domain.
Enable the domain will make all the rings within the domain be enabled.
Upon the specific ERPS ring is enabled successfully, the ring state should leave the idle state
Examples
This example shows how to enable ERPS domain 11:
Switch# configure terminal
Switch(config)# erps 11 enable
Related Commands
show erps
13.8.18. erps disable
Command Purpose
Use this command to disable specific ERPS domain instance.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
erps DOMAINID disable
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
DOMAINID |
ERPS domain ID |
1-255 |
Command Mode
Global Config
Default
None
Usage
Use this command to disable all the ring of the ERPS domain.
Enable the domain will make all the rings within the domain be enabled.
Upon the specific ERPS ring is enabled successfully, the ring state should leave the idle state.
Examples
This example shows how to disable ERPS domain 11:
Switch# configure terminal
Switch(config)# erps 11 disable
Related Commands
show erps
13.8.19. erps mode rrpp
Command Purpose
Use this command to compatible with RRPP.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
erps mode rrpp
no erps mode rrpp
Command Mode
Global Config
Default
None
Usage
This command to compatible with RRPP.
Examples
This example shows how to compatible with RRPP:
Switch# configure terminal
Switch(config)# erps mode rrpp
Related Commands
None
13.8.20. show erps
Command Purpose
Use this command to show the configuration for specific ERPS domain.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
show erps DOMAINID
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
DOMAINID |
ERPS domain ID |
1-255 |
Command Mode
Privileged EXEC
Default
None
Usage
None
Examples
This example shows how to display the configuration for ERPS domain 1:
Switch# show erps 1
ERPS domain ID: 1
ERPS domain name: ERPS001
ERPS domain mode: normal
ERPS domain primary control VLAN ID: 0
ERPS domain sub control VLAN ID: 0
ERPS domain hello timer interval: 1 second(s)
ERPS domain fail timer interval: 3 second(s)
Related Commands
None
13.8.21. show erps list
Command Purpose
Use this command to show the list of ERPS domain(s).
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
show erps list
Command Mode
Privileged EXEC
Default
None
Usage
None
Examples
This example shows how to display the ERPS domain list:
Switch# show erps list
ERPS Domain List
ID Name
==============================
11 ERPS0011
Related Commands
None
13.8.22. clear erps counters
Command Purpose
Use this command to clear the statistics for all domains or for single domain or for single ring.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
clear erps counters (all|(domain DOMAINID ( |ring RINGID)))
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
all |
All domain |
- |
domain DOMAINID |
ERPS domain ID |
1-255 |
ring RINGID |
ERPS ring ID |
1-255 |
Command Mode
Privileged EXEC
Default
None
Usage
None
Examples
This example shows how to clear all domain statistics:
Switch# clear erps counters all
Related Commands
None
13.8.23. debug erps
Command Purpose
Use this command to open the debug functions of ERPS.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
- |
AQ-N5000 |
7.0 |
Base |
- |
AQ-N6000 |
7.0 |
Base |
- |
Command Syntax
debug erps (all|dump|events)
no debug erps (all|dump|events)
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
all |
All debug information |
- |
dump |
Dump debug information |
- |
events |
Events debug information |
- |
Command Mode
Privileged EXEC
Default
None
Usage
None
Examples
This example shows how to open all debug functions:
Switch# debug erps all
Related Commands
None