H3C Technologies H3C S12500 Series Switches User Manual

Page 123

Advertising
background image

112

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

[SwitchC-mst-region] active region-configuration

[SwitchC-mst-region] quit

# Shut down GigabitEthernet 4/0/1 and GigabitEthernet 4/0/2, disable the spanning tree
feature on GigabitEthernet 4/0/1 and GigabitEthernet 4/0/2 separately, and configure them as

trunk ports that permit VLANs 1 through 30.

[SwitchC] interface gigabitethernet 4/0/1

[SwitchC-GigabitEthernet4/0/1] shutdown

[SwitchC-GigabitEthernet4/0/1] undo stp enable

[SwitchC-GigabitEthernet4/0/1] port link-type trunk

[SwitchC-GigabitEthernet4/0/1] port trunk permit vlan 1 to 30

[SwitchC-GigabitEthernet4/0/1] quit

[SwitchC] interface gigabitethernet 4/0/2

[SwitchC-GigabitEthernet4/0/2] shutdown

[SwitchC-GigabitEthernet4/0/2] undo stp enable

[SwitchC-GigabitEthernet4/0/2] port link-type trunk

[SwitchC-GigabitEthernet4/0/2] port trunk permit vlan 1 to 30

[SwitchC-GigabitEthernet4/0/2] quit

# Create smart link group 1, and configure all VLANs mapped to MSTI 1 as the protected VLANs.

[SwitchC] smart-link group 1

[SwitchC-smlk-group1] protected-vlan reference-instance 1

# Configure GigabitEthernet 4/0/1 as the master port and GigabitEthernet 4/0/2 as the slave
port for smart link group 1.

[SwitchC-smlk-group1] port gigabitethernet4/0/1 master

[SwitchC-smlk-group1] port gigabitethernet4/0/2 slave

# Enable flush message sending in smart link group 1, and configure VLAN 10 as the transmit
control VLAN.

[SwitchC-smlk-group1] flush enable control-vlan 10

[SwitchC-smlk-group1] quit

# Bring up GigabitEthernet 4/0/1 and GigabitEthernet 4/0/2 again.

[SwitchC] interface gigabitethernet 4/0/1

[SwitchC-GigabitEthernet4/0/1] undo shutdown

[SwitchC-GigabitEthernet4/0/1] quit

[SwitchC] interface gigabitethernet 4/0/2

[SwitchC-GigabitEthernet4/0/2] undo shutdown

[SwitchC-GigabitEthernet4/0/2] quit

2.

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

<SwitchD> system-view

[SwitchD] vlan 1 to 30

[SwitchD] stp region-configuration

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

[SwitchD-mst-region] active region-configuration

[SwitchD-mst-region] quit

Advertising
This manual is related to the following products: