聚合链路配置

更新时间:2023-03-18 20:27:02 阅读量: 人文社科 文档下载

说明:文章内容仅供预览,部分内容可能不全。下载后的文档,内容与下面显示的完全一致。下载之前请确认下面内容是否您想要的,是否完整无缺。

聚合链路的一些基本配置配置

Switch1#config

Switch1 (Config)#interface eth 0/0/1-3

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

Switch1 (Config-Port-Range)#exit

Switch1 (Config)#interface port-channel 1

Switch1 (Config-If-Port-Channel1)#

Switch2#config

Switch2 (Config)#port-group 2

Switch2 (Config)#interface eth 0/0/6

Switch2 (Config-Ethernet0/0/6)#port-group 2 mode passive

Switch2 (Config-Ethernet0/0/6)#exit

Switch2 (Config)# interface eth 0/0/8-9

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

Switch2 (Config-Port-Range)#exit

Switch2 (Config)#interface port-channel 2

Switch2 (Config-If-Port-Channel2)#

方法2:以ON 方式配置Port Channel.

配置步骤如下:

Switch1#config

Switch1 (Config)#interface eth 0/0/1

Switch1 (Config-Ethernet0/0/1)# port-group 1 mode on

Switch1 (Config-Ethernet0/0/1)#exit

Switch1 (Config)#interface eth 0/0/2

Switch1 (Config-Ethernet0/0/2)# port-group 1 mode on

Switch1 (Config-Ethernet0/0/2)#exit

Switch1 (Config)#interface eth 0/0/3

Switch1 (Config-Ethernet0/0/3)# port-group 1 mode on

Switch1 (Config-Ethernet0/0/3)#exit

Switch2#config

Switch2 (Config)#port-group 2

Switch2 (Config)#interface eth 0/0/6

Switch2 (Config-Ethernet0/0/6)#port-group 2 mode on

Switch2 (Config-Ethernet0/0/6)#exit

Switch2 (Config)# interface eth 0/0/8-9

Switch2 (Config-Port-Range)#port-group 2 mode on

Switch2 (Config-Port-Range)#exit

聚合链路的一些基本配置配置

配置密码可以提高交换机的安全性,另外,telnet登录交换机的时候,必须要求有telnet管理密码。

switch (config)#enable secret level 1 0 rg //配置telnet管理密码为rg,其中1表示telnet密码,0表示密码不加密

switch (config)#enable secret level 15 0 rg //配置特权模式下的管理密码rg,其中15表示为特权密码

本文来源:https://www.bwwdw.com/article/r1fj.html

Top