Configuring ERPS ring member port attributes

Follow these guidelines when you configure ERPS ring member port attributes:

To configure ERPS ring member port attributes:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter Layer 2 Ethernet interface view or Layer 2 aggregate interface view.

interface interface-type interface-number

N/A

3. Configure the port as a trunk port.

port link-type trunk

By default, a port is an access port.

For more information about this command, see Layer 2—LAN Switching Command Reference.

4. Assign the trunk port to protected VLANs.

port trunk permit vlan { vlan-id-list | all }

By default, a trunk port is assigned only to VLAN 1.

For more information about this command, see Layer 2—LAN Switching Command Reference.

5. Disable the spanning tree feature.

undo stp enable

By default, the spanning tree feature is enabled.

For more information about this command, see Layer 2—LAN Switching Command Reference.