Cisco交换机作业2.1 以太通道

190 阅读1分钟

交换机以太通道


使用两条线路以保证安全
新增线路为F0/13

在这里插入图片描述

\

一、二层交换机操作


新增的线路设置为trunk

conf t
int f0/13
swi m t 
conf t
int port-channel ?   //查询
int port-channel 4   //1-6任意数字

port-channel:端口汇聚、链路聚合

conf t
int f0/13
channel-group 4 mode on
int f0/23
channel-group 4 mode on

\

二、三层交换机操作


conf t
int port-channel 4 
exit
//以上可以省略,不用进入,下面直接关联了
int f0/13
channel-group 4 mode on
int f0/23
channel-group 4 mode on

设置trunk

conf t
swi m t  //开启失败,用下面代码强制开启
switchport trunk encap dot1q  //dot"数字一"q
swi m t

\

三、拓展


sh eth sum    //查询以太通道
show etherchannel summary