思科实验6.4.1

思科6.24实验

实验简介

Objectives

Part 1: Build the network
Part 2: Configure EtherChannel

Background

You have been assigned the task of designing an EtherChannel implementation for a company that wants to improve the performance of their switch trunk links. You will try several different ways of implementing the EtherChannel links in order to evaluate which is the best for the company. You will build the topology, configure trunk ports, and implement LACP and PAgP EtherChannels.

Instructions

Part 1: Build the network.

Use the table below to build the switch topology.

Step 1: Obtain the devices that are required.

a. Click the Network Devices icon in the bottom tool bar.

b. Click the Switches entry in the submenu.

c. Locate the 2960 switch icon. Click and drag the icon for the 2960 switch into the topology area.

d. Repeat the step above so that there are three 2960 switches in the topology area.

e. Arrange the devices into a layout that you can work with by clicking and dragging.

Step 2: Name the devices.

The devices have default names that you will need to change. You will name the devices SWA, SWB, and SWC. You are changing the display names of the devices. This is the text label that appears below each device. It is not the host name. Your display names must match the names that are given in this step exactly. If a display name does not match, you will not be scored for your device configuration.

a. Click the device display name that is below the device icon. A text field should appear with a flashing insertion point. If the configuration window for the device appears, close it and try again by clicking a little further away from the device icon.

b. Replace the current display name with the appropriate display name.

c. Repeat until all devices are named.

Step 3: Connect the devices.

a. Click the orange lightning bolt Connections icon in the bottom toolbar.

b. Locate the Ethernet straight-through cable icon. It looks like a solid black diagonal line.

c. To connect the device, click the Ethernet straight-through cable icon and then click the first device that you want to connect. Select
the correct port and then click the second device. Select the correct port and the devices will be connected.

d. Connect the devices as specified in the table below.

Port Channel Devices Port Connections Type
1 SWA to SWB G0/1 to G0/1
G0/2 to G0/2
PAgP
2 SWA to SWC F0/21 to F0/21
F0/22 to F0/22
LACP
3 SWB to SWC F0/23 to F0/23
F0/24 to F0/24
LACP

Part 2: Configure EtherChannel

On each switch, configure the ports that will be used in the Port Channels as static trunk ports.

Step 1: Configure a PAgP EtherChannel.

Follow the procedure that was used in previous activities to configure Port Channel 1 as a PAgP EtherChannel between SWA and SWB. Both sides should negotiate the EtherChannel.

Step 2: Configure a LACP EtherChannel.

Configure Port Channel 2 as an LACP channel between SWA and SWC. Both sides should negotiate the EtherChannel.

Step 3: Configure a Backup LACP EtherChannel

Configure Port Channel 3 channel as an LACP channel between SWB and SWC. In this case, SWC initiates negotiation with SWB. SWB does not initiate negotiation of the channel.

实验思考

根据第二部分简介可知,需要将所有已使用的接口转化为trunk

第一步,将SWA和SWB连接端口通道需要配置为Cisco私有的端口聚合协议(Port Aggregation Protocol,PAgP),并且双方都进行协商,那么SWA和SWB的g0/1和g0/2端口都需要设置为Desirable(期望)模式.

第二步,给SWA和SWC配置常规使用的链路聚合控制协议(Link Aggregation Control Protocol,LACP),并且端口双方都需要协商,那么SWA和SWC的f0/21和f0/22端口都需要设置为Active(主动)模式.

第三步,将端口通道3通道配置为SWB和SWC之间的LACP通道。在这种情况下,SWC启动与SWB的协商。SWB不会启动通道的协商。所以SWC的f0/23和f0/24端口设置为Active(主动)模式,而SWB的f0/23和f0/24端口设置为Passive(被动)模式

实验操作

首先根据第一部分将基础设备及连线框架搭建好,并且备注交换机名称和端口号,方便整理思路
image
根据刚刚的思考我们得知实验需要将所有交换机使用接口转化为trunk,但是我们可以一边配置通道一边将他们转化为trunk

第一步、配置SWA和SWB的链路聚合,对SWA和SWB进行重命名,进入g0/1-2端口,设置trunk,将接口加入以太通道并配置模式
image


image

第二步、配置SWA和SWC,不同之处在于端口和以太通道名称及模式
image


image

第三步、配置SWB和SWC,
image


image

最后,看一下是否配置成功

image


image


实验总结

总体语句不是很多,但是要注意先配置trunk,再配置以太通道,否则开启trunk会报错

image

如果出错可以通过no channel-group 命令关闭以太通道,再进行trunk,

image

在进行实验时要先浏览实验全部要求,从总体出发来思考实验操作会节省很多时间,也会减少代码量
最后,英语题目实在太麻烦了,英语不好只能全部翻译一遍。

posted @ 2022-10-13 16:19  辛普森556  阅读(253)  评论(0)    收藏  举报