H3C Technologies H3C S10500 Series Switches User Manual

Page 92

Advertising
background image

83

[DeviceG-rrpp-domain1] control-vlan 4092

[DeviceG-rrpp-domain1] protected-vlan reference-instance 1

# Configure Device G as the master node of subring 4, with GigabitEthernet 1/0/1 as the primary port
and GigabitEthernet 1/0/2 as the secondary port, and enable subring 4.

[DeviceG-rrpp-domain1] ring 4 node-mode master primary-port gigabitethernet 1/0/1

secondary-port gigabitethernet 1/0/2 level 1

[DeviceG-rrpp-domain1] ring 4 enable

[DeviceG-rrpp-domain1] quit

# Enable RRPP.

[DeviceG] rrpp enable

8.

Configure Device H.

# Create VLANs 1 through 30, map these VLANs to MSTI 1, and activate the MST region configuration.

<DeviceH> system-view

[DeviceH] vlan 1 to 30

[DeviceH] stp region-configuration

[DeviceH-mst-region] instance 1 vlan 1 to 30

[DeviceH-mst-region] active region-configuration

[DeviceH-mst-region] quit

# Cancel the physical state change suppression interval setting on GigabitEthernet 1/0/1 and

GigabitEthernet 1/0/2, and disable the spanning tree feature. Configure the two ports as trunk ports,
and assign them to VLANs 1 through 30.

[DeviceH] interface gigabitethernet 1/0/1

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

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

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

[DeviceH-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30

[DeviceH-GigabitEthernet1/0/1] quit

[DeviceH] interface gigabitethernet 1/0/2

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

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

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

[DeviceH-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30

[DeviceH-GigabitEthernet1/0/2] quit

# Create RRPP domain 1. Configure VLAN 4092 as the primary control VLAN of RRPP domain 1, and
configure the VLANs mapped to MSTI 1 as the protected VLANs of RRPP domain 1.

[DeviceH] rrpp domain 1

[DeviceH-rrpp-domain1] control-vlan 4092

[DeviceH-rrpp-domain1] protected-vlan reference-instance 1

# Configure Device H as the master node of subring 5, with GigabitEthernet 1/0/1 as the primary port
and GigabitEthernet 1/0/2 as the secondary port, and enable subring 5.

[DeviceH-rrpp-domain1] ring 5 node-mode master primary-port gigabitethernet 1/0/1

secondary-port gigabitethernet 1/0/2 level 1

[DeviceH-rrpp-domain1] ring 5 enable

[DeviceH-rrpp-domain1] quit

# Enable RRPP.

[DeviceH] rrpp enable

Advertising