beautypg.com

H3C Technologies H3C S7500E Series Switches User Manual

Page 122

background image

8-51

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

[DeviceB-GigabitEthernet2/0/2] port trunk permit vlan 1 to 30

[DeviceB-GigabitEthernet2/0/2] smart-link flush enable

[DeviceB-GigabitEthernet2/0/2] quit

[DeviceB] interface gigabitethernet 2/0/3

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

[DeviceB-GigabitEthernet2/0/3] port trunk permit vlan 1 to 30

[DeviceB-GigabitEthernet2/0/3] smart-link flush enable

[DeviceB-GigabitEthernet2/0/3] quit

4) Configuration on Device E

# Create VLANs 1 through 30.

system-view

[DeviceE] vlan 1 to 30

# Configure GigabitEthernet 2/0/1, GigabitEthernet 2/0/2, and GigabitEthernet 2/0/3 as trunk ports that

permit VLANs 1 through 30 and enable flush message receiving on them.

[DeviceE] interface gigabitethernet 2/0/1

[DeviceE-GigabitEthernet2/0/1] port link-type trunk

[DeviceE-GigabitEthernet2/0/1] port trunk permit vlan 1 to 30

[DeviceE-GigabitEthernet2/0/1] smart-link flush enable

[DeviceE-GigabitEthernet2/0/1] quit

[DeviceE] interface gigabitethernet 2/0/2

[DeviceE-GigabitEthernet2/0/2] port link-type trunk

[DeviceE-GigabitEthernet2/0/2] port trunk permit vlan 1 to 30

[DeviceE-GigabitEthernet2/0/2] smart-link flush enable

[DeviceE-GigabitEthernet2/0/2] quit

[DeviceE] interface gigabitethernet 2/0/3

[DeviceE-GigabitEthernet2/0/3] port link-type trunk

[DeviceE-GigabitEthernet2/0/3] port trunk permit vlan 1 to 30

[DeviceE-GigabitEthernet2/0/3] smart-link flush enable

[DeviceE-GigabitEthernet2/0/3] quit

5) Configuration on Device A

# Create VLANs 1 through 30.

system-view

[DeviceA] vlan 1 to 30

# Configure GigabitEthernet 2/0/1, GigabitEthernet 2/0/2, and GigabitEthernet 2/0/3 as trunk ports that

permit VLANs 1 through 30 and enable flush message receiving on them.

[DeviceA] interface gigabitethernet 2/0/1

[DeviceA-GigabitEthernet2/0/1] port link-type trunk

[DeviceA-GigabitEthernet2/0/1] port trunk permit vlan 1 to 30

[DeviceA-GigabitEthernet2/0/1] smart-link flush enable

[DeviceA-GigabitEthernet2/0/1] quit

[DeviceA] interface gigabitethernet 2/0/2

[DeviceA-GigabitEthernet2/0/2] port link-type trunk

[DeviceA-GigabitEthernet2/0/2] port trunk permit vlan 1 to 30

[DeviceA-GigabitEthernet2/0/2] smart-link flush enable

[DeviceA-GigabitEthernet2/0/2] quit

6) Verifying the configurations

You can use the display smart-link group command to display the smart link group configuration on

each device. For example:

This manual is related to the following products: