4 port channel examples, Hannel, Xamples – PLANET XGS3-24040 User Manual

Page 108

Advertising
background image

Chapter 12 Port Channel Configuration

12-5

12.4 Port Channel Examples

Scenario 1: Configuring Port Channel in LACP.

Figure 12-2 Configuring Port Channel in LACP

The switches in the description below are all switch and as shown in the figure, ports 1, 2, 3, 4 of SwitchA are

access ports that belong to VLAN1. Add those four ports to group1 in active mode. Ports 6, 8, 9, 10 of SwitchB

are access ports that also belong to VLAN1. Add these four ports to group2 in passive mode. All the ports

should be connected with cables.

The configuration steps are listed below:

SwitchA#config

SwitchA (config)#interface ethernet 1/1-4

SwitchA (Config-If-Port-Range)#port-group 1 mode active

SwitchA (Config-If-Port-Range)#exit

SwitchA (config)#interface port-channel 1

SwitchA (Config-If-Port-Channel1)#

SwitchB#config

SwitchB (config)#port-group 2

SwitchB (config)#interface ethernet 1/6

SwitchB (Config-If-Ethernet1/6)#port-group 2 mode passive

SwitchB (Config-If-Ethernet1/6)#exit

SwitchB (config)#interface ethernet 1/8-10

SwitchB (Config-If-Port-Range)#port-group 2 mode passive

SwitchB (Config-If-Port-Range)#exit

SwitchB (config)#interface port-channel 2

SwitchB (Config-If-Port-Channel2)#

SwitchA

SwitchB

Advertising