H3C Technologies H3C S12500 Series Switches User Manual

Page 136

Advertising
background image

125

[SwitchB-mtlk-group1] quit

4.

Configure Switch D:
# Create VLANs 1 through 30.

<SwitchD> system-view

[SwitchD] vlan 1 to 30

# Configure GigabitEthernet 4/0/1 and GigabitEthernet 4/0/2 as trunk ports, assign them to
VLANs 1 through 30. Disable the spanning tree feature on GigabitEthernet 4/0/2, and enable

flush message receiving on both ports.

[SwitchD] interface GigabitEthernet 4/0/1

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

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

[SwitchD-GigabitEthernet4/0/1] smart-link flush enable

[SwitchD-GigabitEthernet4/0/1] quit

[SwitchD] interface GigabitEthernet 4/0/2

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

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

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

[SwitchD-GigabitEthernet4/0/2] smart-link flush enable

[SwitchD-GigabitEthernet4/0/2] quit

# Create monitor link group 1, and then configure GigabitEthernet 4/0/1 as an uplink port and
GigabitEthernet 4/0/2 as a downlink port for monitor link group 1.

[SwitchD] monitor-link group 1

[SwitchD-mtlk-group1] port GigabitEthernet 4/0/1 uplink

[SwitchD-mtlk-group1] port GigabitEthernet 4/0/2 downlink

[SwitchD-mtlk-group1] quit

5.

Verify the configuration:
Use the display monitor-link group command display the monitor link group information on
devices. For example, when GigabitEthernet 4/0/2 on Switch A goes down due to a link fault:
# Check information about monitor link group 1 on Switch B.

<SwitchB> display monitor-link group 1

Monitor link group 1 information:

Group status: UP

Last-up-time: 16:37:20 2009/4/21

Last-down-time: 16:35:26 2009/4/21

Member Role Status

------------------------------------------

GigabitEthernet4/0/1 UPLINK UP

GigabitEthernet4/0/2 DOWNLINK UP

# Check information about monitor link group 1 on Switch D.

<SwitchD> display monitor-link group 1

Monitor link group 1 information:

Group status: DOWN

Last-up-time: 16:35:27 2009/4/21

Last-down-time: 16:37:19 2009/4/21

Member Role Status

------------------------------------------

GigabitEthernet4/0/1 UPLINK DOWN

Advertising
This manual is related to the following products: