Configuration procedure, Configuration example, Network requirements – H3C Technologies H3C S12500 Series Switches User Manual

Page 100

Advertising
background image

87

Enabling the VLAN Ignore feature for a VLAN can make ports of the VLAN forward packets

correctly rather than comply with the spanning tree calculation result.

Configuration procedure

To configure the VLAN Ignore feature:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enable VLAN Ignore for the
specified VLANs.

stp ignored vlan vlan-list

By default, VLAN Ignore is
disabled.

3.

Display VLAN Ignore-enabled
VLANs.

display stp ignored-vlan [ |
{ begin | exclude | include }

regular-expression ]

Optional.
Available in any view.

Configuration example

Network requirements

As shown in

Figure 23

:

Device A and Device B are directly connected.

GigabitEthernet 4/0/1 on Device A and GigabitEthernet 4/0/1 on Device B allow the traffic of
VLAN 1 to pass through. GigabitEthernet 4/0/2 on Device A and GigabitEthernet 4/0/2 on

Device B allow the traffic of VLAN 2 to pass through.

Device A is the root bridge, and Device A and Device B both run a spanning tree protocol.
GigabitEthernet 4/0/2 on Device B is blocked, causing traffic of VLAN 2 to be blocked.

Configure VLAN Ignore to keep GigabitEthernet 4/0/2 of Device B in the forwarding state.

Figure 23 Network diagram

Configuration procedure

# Enable VLAN Ignore for VLAN 2 on Device B.

<DeviceB> system-view

[DeviceB] stp ignored vlan 2

# Display the VLAN Ignore-enabled VLAN.

[DeviceB] display stp ignored-vlan

STP-Ignored VLAN: 2

GE4/0/1

Device A

Device B

VLAN 1

VLAN 2

GE4/0/2

GE4/0/1

GE4/0/2

Root port

Designated port

Normal link

Blocked link

Blocked port

Root

bridge

Advertising
This manual is related to the following products: