H3C Technologies H3C S10500 Series Switches User Manual

Page 99

Advertising
background image

90

[DeviceD] rrpp domain 2

[DeviceD-rrpp-domain2] control-vlan 105

[DeviceD-rrpp-domain2] protected-vlan reference-instance 2

# Configure Device D as the transit node of primary ring 1 in RRPP domain 2, with GigabitEthernet
1/0/1 as the primary port and GigabitEthernet 1/0/2 as the secondary port, and enable ring 1.

[DeviceD-rrpp-domain2] ring 1 node-mode transit primary-port gigabitethernet 1/0/1

secondary-port gigabitethernet 1/0/2 level 0

[DeviceD-rrpp-domain2] ring 1 enable

[DeviceD-rrpp-domain2] quit

# Enable RRPP.

[DeviceD] rrpp enable

5.

Configure Device E.

# Create VLAN 2, map VLAN 2 to MSTI 2, and activate MST region configuration.

<DeviceE> system-view

[DeviceE] vlan 2

[DeviceE-vlan2] quit

[DeviceE] stp region-configuration

[DeviceE-mst-region] instance 2 vlan 2

[DeviceE-mst-region] active region-configuration

[DeviceE-mst-region] quit

# Cancel the physical state change suppression interval setting on GigabitEthernet 1/0/1 and
GigabitEthernet 1/0/2, disable the spanning tree feature, and configure the two ports as trunk ports.

Remove the two ports from VLAN 1, assign them to VLAN 2, and configure VLAN 2 as their default

VLAN.

[DeviceE] interface gigabitethernet 1/0/1

[DeviceE-GigabitEthernet1/0/1] undo link-delay

[DeviceE-GigabitEthernet1/0/1] undo stp enable

[DeviceE-GigabitEthernet1/0/1] port link-type trunk

[DeviceE-GigabitEthernet1/0/1] undo port trunk permit vlan 1

[DeviceE-GigabitEthernet1/0/1] port trunk permit vlan 2

[DeviceE-GigabitEthernet1/0/1] port trunk pvid vlan 2

[DeviceE-GigabitEthernet1/0/1] quit

[DeviceE] interface gigabitethernet 1/0/2

[DeviceE-GigabitEthernet1/0/2] undo link-delay

[DeviceE-GigabitEthernet1/0/2] undo stp enable

[DeviceE-GigabitEthernet1/0/2] port link-type trunk

[DeviceE-GigabitEthernet1/0/2] undo port trunk permit vlan 1

[DeviceE-GigabitEthernet1/0/2] port trunk permit vlan 2

[DeviceE-GigabitEthernet1/0/2] port trunk pvid vlan 2

[DeviceE-GigabitEthernet1/0/2] quit

# Create RRPP domain 2. Configure VLAN 105 as the primary control VLAN, and configure the VLAN
mapped to MSTI 2 as the protected VLAN.

[DeviceE] rrpp domain 2

[DeviceE-rrpp-domain2] control-vlan 105

[DeviceE-rrpp-domain2] protected-vlan reference-instance 2

# Configure Device E as the master mode of subring 2 in RRPP domain 2, with GigabitEthernet 1/0/2

as the primary port and GigabitEthernet 1/0/1 as the secondary port, and enable ring 2.

Advertising