Follows the topology I configured:
Below the configurations:
EXOS-UPMEP-VM-05
#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-2
configure vr VR-Default add ports 1-2
configure vlan default delete ports 1-2
create vlan "c_vlan"
configure vlan c_vlan tag 10
create vlan "p_vlan_CSP"
configure vlan p_vlan_CSP tag 20
create vlan "p_vlan_Mgmt"
configure vlan p_vlan_Mgmt tag 30
configure vlan c_vlan add ports 1-2 tagged
configure vlan p_vlan_CSP add ports 1-2 tagged
configure vlan p_vlan_Mgmt add ports 1-2 tagged
#
# Module dot1ag configuration.
#
create cfm domain string "MD6" md-level 2
configure cfm domain "MD6" add association string "MDlevel6" vlan "c_vlan"
configure cfm domain "MD6" association "MDlevel6" ports 1 add end-point down 51
configure cfm domain "MD6" association "MDlevel6" ports 1 end-point down transmit-interval 100
configure cfm domain "MD6" association "MDlevel6" ports 2 add end-point down 52
configure cfm domain "MD6" association "MDlevel6" ports 2 end-point down transmit-interval 100
configure cfm domain "MD6" association "MDlevel6" ports 2 end-point down add group "L0506"
configure cfm domain "MD6" association "MDlevel6" ports 1 end-point down add group "RPL0507"
configure cfm group "L0506" add rmep 62
configure cfm group "RPL0507" add rmep 72
#
# Module erps configuration.
#
enable erps
create erps main_ring05-07
configure erps main_ring05-07 add control vlan c_vlan
configure erps main_ring05-07 ring-port east 2
configure erps main_ring05-07 ring-port west 1
configure erps main_ring05-07 protection-port 1
configure erps main_ring05-07 timer wait-to-restore 10000
configure erps main_ring05-07 cfm port east add group L0506
configure erps main_ring05-07 cfm port west add group RPL0507
enable erps main_ring05-07
configure erps main_ring05-07 add protected vlan p_vlan_CSP
configure erps main_ring05-07 add protected vlan p_vlan_Mgmt
configure erps main_ring05-07 add protected vlan c_mep_subring06-08
EXOS-UPMEP-VM-06
#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-3
configure vr VR-Default add ports 1-3
configure vlan default delete ports 1-3
create vlan "c_mep_subring06-08"
configure vlan c_mep_subring06-08 tag 68
create vlan "c_sr_vlan"
configure vlan c_sr_vlan tag 11
create vlan "c_vlan"
configure vlan c_vlan tag 10
create vlan "p_vlan_CSP"
configure vlan p_vlan_CSP tag 20
create vlan "p_vlan_Mgmt"
configure vlan p_vlan_Mgmt tag 30
configure vlan c_mep_subring06-08 add ports 1-3 tagged
configure vlan c_sr_vlan add ports 3 tagged
configure vlan c_vlan add ports 1-2 tagged
configure vlan p_vlan_CSP add ports 1-3 tagged
configure vlan p_vlan_Mgmt add ports 1-3 tagged
#
# Module dot1ag configuration.
#
create cfm domain string "MD6" md-level 2
create cfm domain string "MD3" md-level 3
create cfm domain string "MD5MEP" md-level 5
configure cfm domain "MD6" add association string "MDlevel6" vlan "c_vlan"
configure cfm domain "MD3" add association string "MDlevel3" vlan "c_sr_vlan"
configure cfm domain "MD5MEP" add association string "MDlevel5Mep" vlan "c_mep_subring06-08"
configure cfm domain "MD6" association "MDlevel6" ports 1 add end-point down 61
configure cfm domain "MD6" association "MDlevel6" ports 1 end-point down transmit-interval 100
configure cfm domain "MD6" association "MDlevel6" ports 2 add end-point down 62
configure cfm domain "MD6" association "MDlevel6" ports 2 end-point down transmit-interval 100
configure cfm domain "MD3" association "MDlevel3" ports 3 add end-point down 63
configure cfm domain "MD3" association "MDlevel3" ports 3 end-point down transmit-interval 100
configure cfm domain "MD5MEP" association "MDlevel5Mep" ports 3 add end-point up 663
configure cfm domain "MD6" association "MDlevel6" ports 2 end-point down add group "L0605"
configure cfm domain "MD6" association "MDlevel6" ports 1 end-point down add group "L0607"
configure cfm domain "MD3" association "MDlevel3" ports 3 end-point down add group "L0618"
configure cfm domain "MD5MEP" association "MDlevel5Mep" ports 3 end-point up add group "UPMEP663"
configure cfm group "L0605" add rmep 52
configure cfm group "L0607" add rmep 71
configure cfm group "L0618" add rmep 82
configure cfm group "UPMEP663" add rmep 773
#
# Module erps configuration.
#
enable erps
create erps sub_ring06-08
configure erps sub_ring06-08 subring-mode no-virtualChannel
configure erps sub_ring06-08 add control vlan c_sr_vlan
configure erps sub_ring06-08 ring-port east 3
configure erps sub_ring06-08 neighbor-port 3
configure erps sub_ring06-08 timer wait-to-restore 20000
configure erps sub_ring06-08 cfm port east add group L0618
configure erps sub_ring06-08 cfm protection primary add group UPMEP663
enable erps sub_ring06-08
create erps main_ring05-07
configure erps main_ring05-07 subring-mode no-virtualChannel
configure erps main_ring05-07 add control vlan c_vlan
configure erps main_ring05-07 ring-port east 1
configure erps main_ring05-07 ring-port west 2
configure erps main_ring05-07 timer wait-to-restore 10000
configure erps main_ring05-07 cfm port east add group L0607
configure erps main_ring05-07 cfm port west add group L0605
enable erps main_ring05-07
configure erps sub_ring06-08 add protected vlan p_vlan_CSP
configure erps sub_ring06-08 add protected vlan p_vlan_Mgmt
configure erps main_ring05-07 add protected vlan p_vlan_CSP
configure erps main_ring05-07 add protected vlan p_vlan_Mgmt
configure erps main_ring05-07 add protected vlan c_mep_subring06-08
configure erps main_ring05-07 add sub-ring sub_ring06-08
configure erps sub_ring06-08 add topology-change main_ring05-07
EXOS-UPMEP-VM-07
#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-3
configure vr VR-Default add ports 1-3
configure vlan default delete ports 1-3
create vlan "c_mep_subring06-08"
configure vlan c_mep_subring06-08 tag 68
create vlan "c_sr_vlan"
configure vlan c_sr_vlan tag 11
create vlan "c_vlan"
configure vlan c_vlan tag 10
create vlan "p_vlan_CSP"
configure vlan p_vlan_CSP tag 20
create vlan "p_vlan_Mgmt"
configure vlan p_vlan_Mgmt tag 30
configure vlan c_mep_subring06-08 add ports 1-3 tagged
configure vlan c_sr_vlan add ports 3 tagged
configure vlan c_vlan add ports 1-2 tagged
configure vlan p_vlan_CSP add ports 1-3 tagged
configure vlan p_vlan_Mgmt add ports 1-3 tagged
#
# Module dot1ag configuration.
#
create cfm domain string "MD6" md-level 2
create cfm domain string "MD3" md-level 3
create cfm domain string "MD5MEP" md-level 5
configure cfm domain "MD6" add association string "MDlevel6" vlan "c_vlan"
configure cfm domain "MD3" add association string "MDlevel3" vlan "c_sr_vlan"
configure cfm domain "MD5MEP" add association string "MDlevel5Mep" vlan "c_mep_subring06-08"
configure cfm domain "MD6" association "MDlevel6" ports 1 add end-point down 71
configure cfm domain "MD6" association "MDlevel6" ports 1 end-point down transmit-interval 100
configure cfm domain "MD6" association "MDlevel6" ports 2 add end-point down 72
configure cfm domain "MD6" association "MDlevel6" ports 2 end-point down transmit-interval 100
configure cfm domain "MD3" association "MDlevel3" ports 3 add end-point down 73
configure cfm domain "MD3" association "MDlevel3" ports 3 end-point down transmit-interval 100
configure cfm domain "MD5MEP" association "MDlevel5Mep" ports 3 add end-point up 773
configure cfm domain "MD6" association "MDlevel6" ports 1 end-point down add group "L0706"
configure cfm domain "MD3" association "MDlevel3" ports 3 end-point down add group "L0708"
configure cfm domain "MD6" association "MDlevel6" ports 2 end-point down add group "RPL0705"
configure cfm domain "MD5MEP" association "MDlevel5Mep" ports 3 end-point up add group "UPMEP773"
configure cfm group "L0706" add rmep 61
configure cfm group "L0708" add rmep 81
configure cfm group "RPL0705" add rmep 51
configure cfm group "UPMEP773" add rmep 663
#
# Module erps configuration.
#
enable erps
create erps sub_ring06-08
configure erps sub_ring06-08 subring-mode no-virtualChannel
configure erps sub_ring06-08 add control vlan c_sr_vlan
configure erps sub_ring06-08 ring-port east 3
configure erps sub_ring06-08 timer wait-to-restore 20000
configure erps sub_ring06-08 cfm port east add group L0708
configure erps sub_ring06-08 cfm protection primary add group UPMEP773
enable erps sub_ring06-08
create erps main_ring05-07
configure erps main_ring05-07 subring-mode no-virtualChannel
configure erps main_ring05-07 add control vlan c_vlan
configure erps main_ring05-07 ring-port east 2
configure erps main_ring05-07 ring-port west 1
configure erps main_ring05-07 neighbor-port 2
configure erps main_ring05-07 timer wait-to-restore 10000
configure erps main_ring05-07 cfm port east add group RPL0705
configure erps main_ring05-07 cfm port west add group L0706
enable erps main_ring05-07
configure erps sub_ring06-08 add protected vlan p_vlan_CSP
configure erps sub_ring06-08 add protected vlan p_vlan_Mgmt
configure erps main_ring05-07 add protected vlan p_vlan_CSP
configure erps main_ring05-07 add protected vlan p_vlan_Mgmt
configure erps main_ring05-07 add protected vlan c_mep_subring06-08
configure erps main_ring05-07 add sub-ring sub_ring06-08
configure erps sub_ring06-08 add topology-change main_ring05-07
EXOS-UPMEP-VM-08
#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-3
configure vr VR-Default add ports 1-3
configure vlan default delete ports 1-3
create vlan "c_sr2_vlan"
configure vlan c_sr2_vlan tag 12
create vlan "c_sr_vlan"
configure vlan c_sr_vlan tag 11
create vlan "p_vlan_CSP"
configure vlan p_vlan_CSP tag 20
create vlan "p_vlan_Mgmt"
configure vlan p_vlan_Mgmt tag 30
disable port 3
configure vlan c_sr2_vlan add ports 3 tagged
configure vlan c_sr_vlan add ports 1-2 tagged
configure vlan p_vlan_CSP add ports 1-3 tagged
configure vlan p_vlan_Mgmt add ports 1-3 tagged
#
# Module dot1ag configuration.
#
create cfm domain string "MD3" md-level 3
configure cfm domain "MD3" add association string "MDlevel3" vlan "c_sr_vlan"
configure cfm domain "MD3" association "MDlevel3" ports 1 add end-point down 81
configure cfm domain "MD3" association "MDlevel3" ports 1 end-point down transmit-interval 100
configure cfm domain "MD3" association "MDlevel3" ports 2 add end-point down 82
configure cfm domain "MD3" association "MDlevel3" ports 2 end-point down transmit-interval 100
configure cfm domain "MD3" association "MDlevel3" ports 1 end-point down add group "L0807"
configure cfm domain "MD3" association "MDlevel3" ports 2 end-point down add group "RPL0806"
configure cfm group "L0807" add rmep 73
configure cfm group "RPL0806" add rmep 63
#
# Module erps configuration.
#
enable erps
create erps sub_ring06-08
configure erps sub_ring06-08 subring-mode no-virtualChannel
configure erps sub_ring06-08 add control vlan c_sr_vlan
configure erps sub_ring06-08 ring-port east 1
configure erps sub_ring06-08 ring-port west 2
configure erps sub_ring06-08 protection-port 2
configure erps sub_ring06-08 timer wait-to-restore 20000
configure erps sub_ring06-08 cfm port east add group L0807
configure erps sub_ring06-08 cfm port west add group RPL0806
enable erps sub_ring06-08
configure erps sub_ring06-08 add protected vlan p_vlan_CSP
configure erps sub_ring06-08 add protected vlan p_vlan_Mgmt
Thank you for the help.
BR,
Luca.