中文字幕日韩精品一区二区免费_精品一区二区三区国产精品无卡在_国精品无码专区一区二区三区_国产αv三级中文在线

快速生成樹配置-創(chuàng)新互聯(lián)

實驗名稱:端口聚合配置

10年積累的網(wǎng)站制作、網(wǎng)站建設(shè)經(jīng)驗,可以快速應(yīng)對客戶對網(wǎng)站的新想法和需求。提供各種問題對應(yīng)的解決方案。讓選擇我們的客戶得到更好、更有力的網(wǎng)絡(luò)服務(wù)。我雖然不認識你,你也不認識我。但先做網(wǎng)站設(shè)計后付款的網(wǎng)站建設(shè)流程,更有銅梁免費網(wǎng)站建設(shè)讓你可以放心的選擇與我們合作。

實驗?zāi)康模豪斫舛丝诰酆系墓ぷ髟?,掌握如何在交換機上配置端口聚合。

實驗原理:端口聚合(Aggregate-port)又稱鏈路聚合,是指兩臺交換機之間在物理上將多個端口

連接起來,將多條鏈路聚合成一條邏輯鏈路。從而增大鏈路帶寬,解決交換網(wǎng)絡(luò)中因帶寬引

起的網(wǎng)絡(luò)瓶頸問題。多條物理鏈路之間能夠相互冗余備份,其中任意一條鏈路斷開,不會影

響其他鏈路的正常轉(zhuǎn)發(fā)數(shù)據(jù)。

端口聚合遵循 IEEE 802.3ad 協(xié)議的標準。

快速生成樹配置

實驗設(shè)備:兩臺交換機(三層二層各一臺),兩臺電腦(配置生成樹信息)

實驗步驟:

第一步:配置兩臺交換機的主機名和管理 IP  地址

S3750#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

S3750(config)#hostname L3-SW

L3-SW(config)#interface vlan 1

L3-SW(config-if)#Dec 3 01:03:22 L3-SW %7:%LINE PROTOCOL CHANGE:

Interface VLAN 1, changed state to UP

L3-SW(config-if)#ip address 192.168.1.1 255.255.255.0

L3-SW(config-if)#no shutdown

L3-SW(config-if)#exit

Switch#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

Switch(config)#hostname L2-SW

L2-SW(config)#interface vlan 1

L2-SW(config-if)#ip address 192.168.1.2 255.255.255.0

L2-SW(config-if)#no shutdown

L2-SW(config-if)#exit

第二步:在兩臺交換機上配置聚合端口

L3-SW(config)#interface range fastEthernet 0/1-2

L3-SW(config-if-range)#port-group 1

!將端口 Fa0/1~2 加入聚合端口 1,同時創(chuàng)建該聚合端口

L3-SW(config-if-range)#Dec 3 01:03:57 L3-SW %7:%LINE PROTOCOL CHANGE:

Interface AggregatePort 1, changed state to UP

Dec 3 01:03:58 L3-SW %7:%LINK CHANGED: Interface FastEthernet 0/1, changed

state to administratively down

Dec 3 01:03:58 L3-SW %7:%LINE PROTOCOL CHANGE: Interface FastEthernet

0/1, changed state to DOWN

Dec 3 01:03:58 L3-SW %7:%LINK CHANGED: Interface FastEthernet 0/2, changed

state to administratively down

L3-SW(config-if-range)#exit

L3-SW(config)#

L2-SW(config)#interface range fastEthernet 0/1-2

L2-SW(config-if-range)#port-group 1

!將端口 Fa0/1~2 加入聚合端口 1,同時創(chuàng)建該聚合端口

L2-SW(config-if-range)#exit

L2-SW(config)#

第三步:將聚合端口設(shè)置為 Trunk

L3-SW(config)#interface aggregateport 1

L3-SW(config-if)#switchport mode trunk

L3-SW(config-if)#exit

L3-SW(config)#

L2-SW(config)#interface aggregatePort 1

L2-SW(config-if)#switchport mode trunk

L2-SW(config-if)#exit

L2-SW(config)#

第四步:設(shè)置聚合端口的負載平衡方式

L3-SW(config)#aggregateport load-balance ?

!查看交換機支持的負載平衡方式

dst-ip Destination IP address

dst-mac Destination MAC address

ip Source and destination IP address

src-dst-mac Source and destination MAC address

src-ip Source IP address

src-mac Source MAC address

L3-SW(config)#aggregateport load-balance dst-mac

!設(shè)置負載平衡方式為依據(jù)目的地址進行,默認是依據(jù)源和目的地址

L3-SW(config)#exit

L2-SW(config)#aggregatePort load-balance ?

!查看交換機支持的負載平衡方式

dst-mac Destination MAC address

ip Source and destination IP address

src-mac Source MAC address

L2-SW(config)#aggregatePort load-balance dst-mac

!設(shè)置負載平衡方式為依據(jù)目的地址進行,默認是依據(jù)源地址

L2-SW(config)#exit

第五步:查看聚合端口的配置

L3-SW#show aggregatePort load-balance

Load-balance : Destination MAC

L3-SW#

L3-SW#show aggregatePort summary

AggregatePort MaxPorts SwitchPort Mode Ports

------------- -------- ---------- ------ ----------------------------------

Ag1 8 Enabled TRUNK Fa0/1 ,Fa0/2

L3-SW#

L3-SW#show interfaces aggregateport 1

Index(dec):29 (hex):1d

AggregatePort 1 is UP , line protocol is UP

Hardware is Aggregate Link AggregatePort

Interface address is: no ip address

MTU 1500 bytes, BW 1000000 Kbit

Encapsulation protocol is Bridge, loopback not set

Keepalive interval is 10 sec , set

Carrier delay is 2 sec

RXload is 1 ,Txload is 1

Queueing strategy: WFQ

Switchport attributes:

interface's description:""

medium-type is copper

lastchange time:337 Day: 1 Hour: 3 Minute:56 Second

Priority is 0

admin duplex mode is AUTO, oper duplex is Full

admin speed is AUTO, oper speed is 100M

flow control admin status is AUTO,flow control oper status is OFF

broadcast Strom Control is OFF,multicast Strom Control is OFF,unicast Strom

Control is OFF

Aggregate Port Informations:

Aggregate Number: 1

Name: "AggregatePort 1"

Refs: 2

Members: (count=2)

FastEthernet 0/1 Link Status: Up

FastEthernet 0/2 Link Status: Up

L3-SW#

L2-SW#show aggregatePort load-balance

Load-balance : Destination MAC address

L2-SW#

L2-SW#show aggregatePort summary

AggregatePort MaxPorts SwitchPort Mode Ports

------------- -------- ---------- ------ -----------------------

Ag1 8 Enabled Trunk Fa0/1 , Fa0/2

L2-SW#

L2-SW#show interfaces aggregatePort 1

Interface : AggregatePort 1

Description :

AdminStatus : up

OperStatus : up

Hardware : -

Mtu : 1500

LastChange : 0d:0h:0m:0s

AdminDuplex : Auto

OperDuplex : Full

AdminSpeed : Auto

OperSpeed : 100

FlowControlAdminStatus : Off

FlowControlOperStatus : Off

Priority : 0

Broadcast blocked :DISABLE

Unknown multicast blocked :DISABLE

Unknown unicast blocked :DISABLE

L2-SW#

第六步:驗證配置

在三層交換機 L3-SW 上配置另一個用于測試的 VLAN 10,配置 IP 地址為

192.168.10.1/24,然后在二層交換機 L2-SW 上配置默認網(wǎng)關(guān)(其作用相當于主機的網(wǎng)關(guān),

交換機可將發(fā)往其他網(wǎng)段的數(shù)據(jù)包提交給網(wǎng)關(guān)處理),這樣 L2-SW 可以 ping 通

192.168.1.1/24 和 192.168.10.1/24,說明聚合端口的 Trunk 配置已經(jīng)生效。

L3-SW(config)#vlan 10

L3-SW(config-vlan)#exit

L3-SW(config)#

L3-SW(config)#interface vlan 10

L3-SW(config-if)#iDec 3 01:16:02 L3-SW %7:%LINE PROTOCOL CHANGE:

Interface VLAN 10, changed state to UP

L3-SW(config-if)#ip address 192.168.10.1 255.255.255.0

L3-SW(config-if)#no shutdown

L3-SW(config-if)#exit

L2-SW(config)#ip default-gateway 192.168.1.1

!設(shè)置二層交換機的默認網(wǎng)關(guān)

L2-SW(config)#exit

L2-SW#

L2-SW#ping 192.168.1.1

Sending 5, 100-byte ICMP Echos to 192.168.1.1,

timeout is 2000 milliseconds.

!!!!!

Success rate is 100 percent (5/5)

Minimum = 1ms Maximum = 1ms, Average = 1ms

L2-SW#ping 192.168.10.1

Sending 5, 100-byte ICMP Echos to 192.168.10.1,

timeout is 2000 milliseconds.

!!!!!

Success rate is 100 percent (5/5)

Minimum = 1ms Maximum = 1ms, Average = 1ms

在三層交換機 L3-SW 上長時間的 ping 二層交換機 L2-SW,然后斷開聚合端口中的

Fa0/2 端口:

L3-SW#ping 192.168.1.2 ntimes 1000

Sending 1000, 100-byte ICMP Echoes to 192.168.1.2, timeout is 2 seconds:

< press Ctrl+C to break >

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Success rate is 100 percent (1000/1000), round-trip min/avg/max = 1/1/10 ms

可以看到在斷開聚合端口中的 Fa0/2 端口時是沒有丟包的。再次實驗,此次斷開 Fa0/1

端口:

L3-SW#ping 192.168.1.2 ntimes 1000

Sending 1000, 100-byte ICMP Echoes to 192.168.1.2, timeout is 2 seconds:

< press Ctrl+C to break >

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Success rate is 99 percent (999/1000), round-trip min/avg/max = 1/1/10 ms

實驗過程圖:

快速生成樹配置

快速生成樹配置

快速生成樹配置

快速生成樹配置

快速生成樹配置

快速生成樹配置

另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)scvps.cn,海內(nèi)外云服務(wù)器15元起步,三天無理由+7*72小時售后在線,公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國服務(wù)器、虛擬主機、免備案服務(wù)器”等云主機租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡單易用、服務(wù)可用性高、性價比高”等特點與優(yōu)勢,專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應(yīng)用場景需求。

新聞標題:快速生成樹配置-創(chuàng)新互聯(lián)
分享地址:http://www.rwnh.cn/article28/dgsecp.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供品牌網(wǎng)站建設(shè)、網(wǎng)站改版、搜索引擎優(yōu)化、App開發(fā)、微信公眾號網(wǎng)站收錄

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

成都做網(wǎng)站
汉中市| 会宁县| 尚义县| 宁南县| 上蔡县| 沧源| 汶川县| 莎车县| 新昌县| 巨野县| 岐山县| 永靖县| 崇义县| 通州区| 百色市| 伊金霍洛旗| 奉节县| 南陵县| 白水县| 卫辉市| 岐山县| 梅河口市| 山阳县| 平定县| 曲水县| 昌宁县| 祁阳县| 昌江| 于田县| 济阳县| 四会市| 龙海市| 凌云县| 利津县| 临湘市| 柘荣县| 尚志市| 绥滨县| 霍城县| 前郭尔| 漳州市|