beautypg.com

H3C Technologies H3C S7500E Series Switches User Manual

Page 103

background image

7-32

[DeviceB] rrpp enable

3) Configuration on Device C

# Create VLANs 1 and 2, map VLAN 1 to MSTI 1 and VLAN 2 to MSTI 2, and activate MST

region configuration.

system-view

[DeviceC] vlan 1 to 2

[DeviceC] stp region-configuration

[DeviceC-mst-region] instance 1 vlan 1

[DeviceC-mst-region] instance 2 vlan 2

[DeviceC-mst-region] active region-configuration

[DeviceC-mst-region] quit

# Set the physical state change suppression interval on GigabitEthernet2/0/1 and

GigabitEthernet2/0/2 to 0 seconds, disable STP, configure the two ports as trunk ports, and

assign them to VLAN 1 and VLAN 2.

[DeviceC] interface gigabitethernet 2/0/1

[DeviceC-GigabitEthernet2/0/1] link-delay 0

[DeviceC-GigabitEthernet2/0/1] undo stp enable

[DeviceC-GigabitEthernet2/0/1] port link-type trunk

[DeviceC-GigabitEthernet2/0/1] port trunk permit vlan 1 2

[DeviceC-GigabitEthernet2/0/1] quit

[DeviceC] interface gigabitethernet 2/0/2

[DeviceC-GigabitEthernet2/0/2] link-delay 0

[DeviceC-GigabitEthernet2/0/2] undo stp enable

[DeviceC-GigabitEthernet2/0/2] port link-type trunk

[DeviceC-GigabitEthernet2/0/2] port trunk permit vlan 1 2

[DeviceC-GigabitEthernet2/0/2] quit

# Set the physical state change suppression interval on GigabitEthernet2/0/3 to 0 seconds,

disable STP, configure the port as a trunk port, and assign it to VLAN 2.

[DeviceC] interface gigabitethernet 2/0/3

[DeviceC-GigabitEthernet2/0/3] link-delay 0

[DeviceC-GigabitEthernet2/0/3] undo stp enable

[DeviceC-GigabitEthernet2/0/3] port link-type trunk

[DeviceC-GigabitEthernet2/0/3] port trunk permit vlan 2

[DeviceC-GigabitEthernet2/0/3] quit

# Set the physical state change suppression interval on GigabitEthernet2/0/4 to 0 seconds,

disable STP, configure the port as a trunk port, and assign it to VLAN 1.

[DeviceC] interface gigabitethernet 2/0/4

[DeviceC-GigabitEthernet2/0/4] link-delay 0

[DeviceC-GigabitEthernet2/0/4] undo stp enable

[DeviceC-GigabitEthernet2/0/4] port link-type trunk

[DeviceC-GigabitEthernet2/0/4] port trunk permit vlan 1

[DeviceC-GigabitEthernet2/0/4] quit

# Create RRPP domain 1, configure VLAN 10 as the primary control VLAN of RRPP domain 1,

and configure the VLAN mapped to MSTI 1 as the protected VLAN of RRPP domain 1.

[DeviceC] rrpp domain 1

[DeviceC-rrpp-domain1] control-vlan 100

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

This manual is related to the following products: