DGS-6604
m
erpi type
CLI Reference Guide
193
erpi type
Use the erpi type command to create an ERP instance with ring type in an ERPS
domain. Use the no form of this command to delete an ERP instance.
erpi
INSTANCE-ID
type {major | sub}
no erpi
INSTANCE-ID
Default
No ERP instance is created.
Command Mode
ERPS domain configuration mode
Usage Guideline
Use the erpi type command to create an ERP instance before doing other
configuration for the ERP instance. Use the no erpi command to delete an ERP
instance. All configured settings for the ERP instance are thus removed.
An ERPS domain can contain multiple ERP instances. Generally, the instances
in the same domain protect the same set of VLANs or the set of VLANs protected
by one instance is a subset of the set of VLANs protected by another instance.
If multiple ERP instances are configured, then one of them should be the major
instance and the rest of them are sub instances.
The ID of ERP instances in different domains are global significant.
To change the type of an instance, remove the instance first and re-create the
instance.
Example
The following example shows how to create ERP instance 1 as the major ring:
The following example shows how to create ERP instance 2 as a sub ring:
The following example shows how to delete ERP instance 1:
Syntax Description
INSTANCE-ID
Specifies the identifier of the ERP instance. The valid range is 1 to 4095.
major
Specifies the ring as a major-ring.
sub
Specifies the ring as a sub-ring.
Switch(config-erps-domain)# erpi 1 type major
Switch(config-erps-domain)#
Switch(config-erps-domain)# erpi 2 type sub
Switch(config-erps-domain)#