加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

交换机链路聚合

发布时间:2020-12-13 19:59:18 所属栏目:百科 来源:网络整理
导读:650) this.width=650;" alt="" src="http://img.jb51.cc/vcimg/static/loading.png" border="0" src="http://img1.51cto.com/attachment/201212/154135942.png"> 650) this.width=650;" alt="" border="0" src="http://img.jb51.cc/vcimg/static/loading.png


SWA交换机配置内容:

Switch>en
Switch>enable
Switch#conf
Switch#configure
Configuring from terminal,memory,or network [terminal]?
Enter configuration commands,one per line. End with CNTL/Z.
Switch(config)#h
Switch(config)#hostname SWA
SWA(config)#in vl
SWA(config)#in vlan 1
SWA(config-if)#ip add 192.168.1.101 255.255.255.0
SWA(config-if)#no shu
SWA(config-if)#no shutdown

%LINK-5-CHANGED: Interface Vlan1,changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1,changed state to up

SWA(config-if)#ex
SWA(config)#sp
SWA(config)#spanning-tree m
SWA(config)#spanning-tree mode r
SWA(config)#spanning-tree mode rapid-pvst
SWA(config)#in f0/1
SWA(config-if)#channel-g
SWA(config-if)#channel-group 1 m
SWA(config-if)#channel-group 1 mode d
SWA(config-if)#channel-group 1 mode desirable

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1,changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1,changed state to up
SWA(config-if)#ex
SWA(config)#in f0/2
SWA(config-if)#channel-g
SWA(config-if)#channel-group 1 m
SWA(config-if)#channel-group 1 mode d
SWA(config-if)#channel-group 1 mode desirable

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2,changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2,changed state to up
SWA(config-if)#ex
SWA(config)#

SWB交换机配置内容:

Switch>en
Switch>enable
Switch#conf
Switch#configure
Configuring from terminal,one per line. End with CNTL/Z.
Switch(config)#h
Switch(config)#hostname SWB
SWB(config)#in vl
SWB(config)#in vlan 1
SWB(config-if)#ip add 192.168.1.102 255.255.255.0
SWB(config-if)#no shu
SWB(config-if)#no shutdown

%LINK-5-CHANGED: Interface Vlan1,changed state to up

SWB(config-if)#ex
SWB(config)#sp
SWB(config)#spanning-tree m
SWB(config)#spanning-tree mode
SWB(config)#spanning-tree mode r
SWB(config)#spanning-tree mode rapid-pvst
SWB(config)#in f0/1
SWB(config-if)#channel-g
SWB(config-if)#channel-group 1 m
SWB(config-if)#channel-group 1 mode d
SWB(config-if)#channel-group 1 mode desirable

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1,changed state to up
SWB(config-if)#
%LINK-5-CHANGED: Interface Port-channel 1,changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel 1,changed state to up

SWB(config-if)#ex
SWB(config)#in f0/2
SWB(config-if)#channel-g
SWB(config-if)#channel-group 1 m
SWB(config-if)#channel-group 1 mode d
SWB(config-if)#channel-group 1 mode desirable

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2,changed state to up SWB(config-if)#ex SWB(config)#

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读