You need to configure this command on all nodes of the Ethernet ring, so as to transmit its sub-ring’s
ERPS protocol packets in the Ethernet ring.
Configuring the association is mainly to make the sub-ring’s protocol packets transmit in the Ethernet
ring. Users can also adopt the configuration command provided by the VLAN module to configure
elaborately the VLAN and the relation between ports and VLAN, so as to transmit the sub-ring’s
protocol packets in other Ethernet rings and not leak the packets to the user network.
The following example associates the Ethernet sub-ring with other Ethernet rings:
#Enter the privileged EXEC mode
Ruijie# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
# Configure the link mode of the Ethernet ring port and the default VLAN.
Ruijie(config)# interface fastEthernet 0/1
Ruijie(config-if)# switchport mode trunk
Ruijie(config-if)# exit
Ruijie(config)# interface fastEthernet 0/2
Ruijie(config-if)# switchport mode trunk
Ruijie(config-if)# exit
# Enter the erps configuration mode.
Ruijie(config)# erps raps-vlan 4093
#Add the ports that participate in the ERPS protocol computing to the Ethernet ring.
Ruijie(config-erps4093)# ring-port west fastEthernet 0/1 east fastEthernet