SlideShare a Scribd company logo
1 of 4
Download to read offline
Cấu hình EtherChannels với Switch left0Trong chương này các bạn sẽ được mô tả cách cấu hình EtherChannels trên các port của Catalyst 2960 Switch. EtherChannels cung cấp khả năng chịu lỗi với những kết nối tốc độ cao giữa switch-to-switch, routers-to-switch, và các servers. Bạn có thể sử dụng EtherChannels để tăng thêm băng thông giữa các thiết bị của hệ thống trung tâm dữ liệu (data center), và bạn cũng có thể triển khai EtherChannels cho mọi hệ thống mạng.,[object Object],Dưới đây sẽ là các câu lệnh các bạn cần phải thực hiện để cấu hình được EtherChannel.,[object Object],1. Core switch (2960),[object Object],- switch> enable,[object Object],- switch# configure terminal,[object Object],- switch(configure)# hostname Core,[object Object],- Core(configue)# no ip domain-lookup,[object Object],- Core(configue)# vtp mode server.,[object Object],- Core(configue)# vtp domain testdomain,[object Object],- Core(configue)# vlan 10,[object Object],  Core(configue-vlan)# name Accounting_VNE,[object Object],  Core(configue-vlan)# exit,[object Object], - Core(configue)# vlan 20,[object Object],   Core(configue-vlan)# name Marketing_VNE,[object Object],   Core(configue-vlan)# exit,[object Object],- Core(configue)# interface range fastethernet 0/1 - 4,[object Object],   Core(configue-if)# switchport trunk encapsulation dot1q,[object Object],   Core(configue-if)# switchport mode trunk.,[object Object],   Core(configue-if)# exit,[object Object],- Core(config)# interface range fastethernet 0/1 - 2,[object Object],  Core(config-if)# channel-protocol pagp,[object Object],  Core(config-if)# channel-group 1 mode desirable.,[object Object],  Core(configue-if)# exit.,[object Object],- Core(configue)# interface range fasethernet 0/3 - 4,[object Object],   Core(config-if)# channel-protocol pagp,[object Object],   Core(configue-if)# channel-group 2 mode desirable.,[object Object],   Core(configue-if)# exit.,[object Object],- Core# copy run start.,[object Object],2. ALSwitch1 switch (2960),[object Object],- switch> enable,[object Object],- switch# configure terminal,[object Object],- switch(configure)# hostname ALSwitch1,[object Object],- ALSwitch1(configue)# no ip domain-lookup,[object Object],- ALSwitch1(configue)# vtp mode client.,[object Object],- ALSwitch1(configue)# vtp domain testdomain,[object Object],- ALSwitch1(configue)# interface range fastethernet 0/5 - 8,[object Object],  ALSwitch1(configue-if)# switchport mode access.,[object Object],  ALSwitch1(configue-if)# switchport access vlan 10,[object Object],  ALSwitch1(configue-if)# exit.,[object Object],- ALSwitch1(configue)# interface range fastethernet 0/9 - 12,[object Object],  ALSwitch1(configue-if)# switchport mode access,[object Object],  ALSwitch1(configue-if)# switchport access vlan 20.,[object Object],  ALSwitch1(configue-if)# exit.,[object Object],- ALSwitch1(configue)# interface fastethernet range 0/1 - 2,[object Object],  ALSwitch1(configue-if)# switchport mode trunk,[object Object],  ALSwitch1(configue-if)#  channel-protocol pagp,[object Object],  ALSwitch1(configue-if)# channel-group 1 mode desirable,[object Object],  ALSwitch1(configue-if)# exit.,[object Object],- ALSwitch1# copy run start.,[object Object],3. ALSwitch 2 switch (2960),[object Object],- switch> enable,[object Object],- switch# configure terminal,[object Object],- switch(configure)# hostname ALSwitch1,[object Object],- ALSwitch2(configue)# no ip domain-lookup,[object Object],- ALSwitch2(configue)# vtp mode client.,[object Object],- ALSwitch2(configue)# vtp domain testdomain,[object Object],- ALSwitch2(configue)# interface range fastethernet 0/5 - 8,[object Object],  ALSwitch2(configue-if)# switchport mode access.,[object Object],  ALSwitch2(configue-if)# switchport access vlan 10,[object Object],  ALSwitch2(configue-if)# exit.,[object Object],- ALSwitch2(configue)# interface range fastethernet 0/9 - 12,[object Object],  ALSwitch2(configue-if)# switchport mode access,[object Object],  ALSwitch2(configue-if)# switchport access vlan 20.,[object Object],  ALSwitch2(configue-if)# exit.,[object Object],- ALSwitch2(configue)# interface fastethernet range 0/1 - 2,[object Object],  ALSwitch2(configue-if)# switchport mode trunk,[object Object],  ALSwitch2(configue-if)# channel-protocol pagp,[object Object],  ALSwitch2(configue-if)# channel-group 2 mode desirable,[object Object],  ALSwitch2(configue-if)# exit.,[object Object],- ALSwitch2# copy run start.,[object Object],4. Kiểm tra EtherChannel.,[object Object],- show run,[object Object],- show run interface fa0/12,[object Object],- show etherchannel,[object Object],- show ethterchannel 1 port-channel,[object Object],- show etherchannel summary,[object Object],- show pagp neighbor,[object Object],- clear pagp 1 counters,[object Object],- clear lacp 1 counters,[object Object],Only registered users can write comments.,[object Object],Please login or register,[object Object]
CấU HìNh Ether Channels VớI Switch
CấU HìNh Ether Channels VớI Switch
CấU HìNh Ether Channels VớI Switch

More Related Content

CấU HìNh Ether Channels VớI Switch

  • 1.