Configuring a smart link device, Configuration prerequisites, Configuring protected vlans for a smart link group – H3C Technologies H3C S10500 Series Switches User Manual

Page 109

Advertising
background image

100

Configuring a Smart Link device

Configuration prerequisites

Before configuring a port as a smart link group member, shut down the port to prevent loops. You
can bring up the port only after completing the smart link group configuration.

Disable the spanning tree feature and RRPP on the ports that you want to add to the smart link group,
and make sure that the ports are not member ports of any aggregation group or service loopback

group.

NOTE:

A loop may occur on the network during the time when the spanning tree feature is disabled but Smart Link
has not yet taken effect on a port.

Configuring protected VLANs for a smart link group

You can configure protected VLANs through referencing Multiple Spanning Tree Instances (MSTIs).
Before configuring protected VLANs, configure the mappings between MSTIs and the VLANs to be

protected (a device working in PVST mode automatically maps VLANs to MSTIs). For more information

about MSTIs and PVST, see Layer 2—LAN Switching Configuration Guide.
Follow these steps to configure the protected VLANs for a smart link group:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter MST region view

stp region-configuration

Not required if the device works in
PVST mode.

instance instance-id vlan vlan-list

Configure the VLAN-to-instance
mapping table

vlan-mapping modulo modulo

Optional
Use either command.
All VLANs in an MST region are

mapped to CIST (MSTI 0) by
default.
Not required if the device works in
PVST mode.

Activate MST region configuration
manually

active region-configuration

Required
Not required if the device works in
PVST mode.

Display the currently activated
configuration information of the
MST region

display stp region-configuration [ |
{ begin | exclude | include }
regular-expression ]

Optional
Available in any view.

Return to system view

quit

Not required if the device works in

PVST mode.

Create a smart link group, and
enter smart link group view

smart-link group group-id

Configure protected VLANs for the
smart link group

protected-vlan reference-instance
instance-id-list

Required
By default, no protected VLAN is
configured for a smart link group.

Advertising