H3C Technologies H3C S12500 Series Switches User Manual

Page 99

Advertising
background image

88

[DeviceF-GigabitEthernet3/0/1] link-delay 0

[DeviceF-GigabitEthernet3/0/1] undo stp enable

[DeviceF-GigabitEthernet3/0/1] port link-type trunk

[DeviceF-GigabitEthernet3/0/1] port trunk permit vlan 1 to 30

[DeviceF-GigabitEthernet3/0/1] quit

[DeviceF] interface gigabitEthernet3/0/2

[DeviceF-GigabitEthernet3/0/2] link-delay 0

[DeviceF-GigabitEthernet3/0/2] undo stp enable

[DeviceF-GigabitEthernet3/0/2] port link-type trunk

[DeviceF-GigabitEthernet3/0/2] port trunk permit vlan 1 to 30

[DeviceF-GigabitEthernet3/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.

[DeviceF] rrpp domain 1

[DeviceF-rrpp-domain1] control-vlan 4092

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

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

[DeviceF-rrpp-domain1] ring 3 node-mode master primary-port gigabitEthernet3/0/1

secondary-port gigabitEthernet3/0/2 level 1

[DeviceF-rrpp-domain1] ring 3 enable

[DeviceF-rrpp-domain1] quit

# Enable RRPP.

[DeviceF] rrpp enable

7.

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

<DeviceG> system-view

[DeviceG] vlan 1 to 30

[DeviceG] stp region-configuration

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

[DeviceG-mst-region] active region-configuration

[DeviceG-mst-region] quit

# Set the physical state change suppression interval to 0 seconds on GigabitEthernet 3/0/1 and
GigabitEthernet 3/0/2, disable the spanning tree feature, configure the two ports as trunk ports,

and assign them to VLANs 1 through 30.

[DeviceG] interface gigabitEthernet3/0/1

[DeviceG-GigabitEthernet3/0/1] link-delay 0

[DeviceG-GigabitEthernet3/0/1] undo stp enable

[DeviceG-GigabitEthernet3/0/1] port link-type trunk

[DeviceG-GigabitEthernet3/0/1] port trunk permit vlan 1 to 30

[DeviceG-GigabitEthernet3/0/1] quit

[DeviceG] interface gigabitEthernet3/0/2

[DeviceG-GigabitEthernet3/0/2] link-delay 0

[DeviceG-GigabitEthernet3/0/2] undo stp enable

[DeviceG-GigabitEthernet3/0/2] port link-type trunk

[DeviceG-GigabitEthernet3/0/2] port trunk permit vlan 1 to 30

[DeviceG-GigabitEthernet3/0/2] quit

Advertising
This manual is related to the following products: