After ERPS is configured, add Layer 2 ports to an ERPS ring and configure port roles so that ERPS can work properly.
In the ERPS ring view, add a specified port to the ERPS ring and configure the port role.
In the interface view, add the current port to the ERPS ring and configure the port role.
A port can be added to a maximum of two ERPS rings.
An ERPS-enabled port needs to allow packets of control VLANs and data VLANs to pass through, so the link type of the port must be configured as trunk or hybrid.
Flush-FDB packets for updating MAC addresses cannot be separately sent, so do not configure a direct link between two upstream nodes as the RPL.
Before changing the port role, use the shutdown command to disable the port. When the port role is changed, use the undo shutdown command to enable the port. This prevents traffic interruptions.
The port is not a Layer 3 port. If the port is a Layer 3 port, run the portswitch command to switch the port to the Layer 2 mode.
The control-vlan command has been executed to configure a control VLAN and the protected-instance command has been executed to configure an ERP instance.
The system view is displayed.
Run interface interface-type interface-number
The interface view is displayed.
Run stp disable
STP is disabled on the ERPS-enabled port.
Run port link-type trunk
The link type of the ERPS-enabled port is configured as trunk.
Run port trunk allow-pass vlan { { vlan-id1 [ to vlan-id2 ] }&<1-10> | all }
The VLANs allowed by the ERPS-enabled port are specified.
After the control-vlan command is used in the ERPS ring view to configure a control VLAN and the port interface-type interface-number [ rpl { owner | neighbour } ] command is configured, the ports in the ERPS ring allow packets of the control VLAN to pass through. Therefore, you need to specify only the IDs of data VLANs in this step.
Run quit
The system view is displayed.
Run erps ring ring-id
The ERPS ring view is displayed.
Run port interface-type interface-number [ rpl { owner | neighbour } ]
The port is added to the ERPS ring and its role is configured.
Run interface interface-type interface-number
The specified interface view is displayed.
Run stp disable
STP is disabled on the ERPS-enabled port.
Run port link-type trunk
The link type of the ERPS-enabled port is configured as trunk.
Run port trunk allow-pass vlan { { vlan-id1 [ to vlan-id2 ] }&<1-10> | all }
The VLANs allowed by the ERPS-enabled port are specified.
After the control-vlan command is used in the ERPS ring view to configure a control VLAN and the port interface-type interface-number [ rpl { owner | neighbour } ] command is configured, the ports in the ERPS ring allow packets of the control VLAN to pass through. Therefore, you need to specify only the IDs of data VLANs in this step.
Run erps ring ring-id [ rpl { owner | neighbour } ]
The current port is added to the ERPS ring and its role is configured.