H3C Technologies H3C S10500 Series Switches User Manual

Page 95

Advertising
background image

86

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

configuration.

<DeviceB> system-view

[DeviceB] vlan 1 to 2

[DeviceB] stp region-configuration

[DeviceB-mst-region] instance 1 vlan 1

[DeviceB-mst-region] instance 2 vlan 2

[DeviceB-mst-region] active region-configuration

[DeviceB-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 VLAN 1 and VLAN 2.

[DeviceB] interface gigabitethernet 1/0/1

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

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

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

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

[DeviceB-GigabitEthernet1/0/1] quit

[DeviceB] interface gigabitethernet 1/0/2

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

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

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

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

[DeviceB-GigabitEthernet1/0/2] quit

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

the spanning tree feature. Configure the port as a trunk port, and assign it to VLAN 2.

[DeviceB] interface gigabitethernet 1/0/3

[DeviceB-GigabitEthernet1/0/3] undo link-delay

[DeviceB-GigabitEthernet1/0/3] undo stp enable

[DeviceB-GigabitEthernet1/0/3] port link-type trunk

[DeviceB-GigabitEthernet1/0/3] port trunk permit vlan 2

[DeviceB-GigabitEthernet1/0/3] quit

# Cancel the physical state change suppression interval setting on GigabitEthernet 1/0/4, and disable
the spanning tree feature. Configure the port as a trunk port, and assign it to VLAN 1.

[DeviceB] interface gigabitethernet 1/0/4

[DeviceB-GigabitEthernet1/0/4] undo link-delay

[DeviceB-GigabitEthernet1/0/4] undo stp enable

[DeviceB-GigabitEthernet1/0/4] port link-type trunk

[DeviceB-GigabitEthernet1/0/4] port trunk permit vlan 1

[DeviceB-GigabitEthernet1/0/4] quit

# Create RRPP domain 1. Configure VLAN 100 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.

[DeviceB] rrpp domain 1

[DeviceB-rrpp-domain1] control-vlan 100

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

# Configure Device B as a transit node of primary ring 1 in RRPP domain 1, with GigabitEthernet 1/0/1

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

Advertising