網(wǎng)件全網(wǎng)管路由交換機(jī)如何設(shè)置MLAG功能
網(wǎng)件是全球領(lǐng)先的企業(yè)網(wǎng)絡(luò)解決方案,及數(shù)字家庭網(wǎng)絡(luò)應(yīng)用倡導(dǎo)者,那么你知道網(wǎng)件全網(wǎng)管路由交換機(jī)怎么設(shè)置MLAG功能嗎?下面是學(xué)習(xí)啦小編整理的一些關(guān)于網(wǎng)件全網(wǎng)管路由交換機(jī)如何設(shè)置MLAG功能的相關(guān)資料,供你參考。
網(wǎng)件全網(wǎng)管路由交換機(jī)設(shè)置MLAG功能的方法:
在二層網(wǎng)絡(luò),可以通過生成樹(STP)避免環(huán)路。但STP會把部分端口阻塞,導(dǎo)致這一部分的鏈路的帶寬造成浪費(fèi)。而且當(dāng)某些鏈路中斷而導(dǎo)致拓?fù)涓淖兊臅r候可能導(dǎo)致網(wǎng)絡(luò)振蕩,這個中斷的時間從幾毫秒到十幾秒不等。
使用MLAG技術(shù)可以使所有的鏈路都得以利用,而且在鏈路中斷導(dǎo)致拓?fù)涓淖兊臅r候不會導(dǎo)致網(wǎng)絡(luò)的震蕩。MLAG可以是多臺交換機(jī)上的端口組成一個LAG組,對端設(shè)備會認(rèn)為自己的LAG組連接的對端是同一臺設(shè)備,這樣可以利用LAG的特性的有點(diǎn)做到上文說所的鏈路的充分利用和無間斷轉(zhuǎn)發(fā)。
MLAG又稱為vPC。
目前Netgear的交換機(jī)當(dāng)中,M6100和M7100可以支持MLAG。
本文檔以兩臺M6100為例,說明如何配置MLAG,拓?fù)鋱D如下:
開啟MLAG功能
feature vpc
配置LAG1作為peer-link
interface lag 1
no spanning-tree port mode
vpc peer-link
exit
interface 1/0/41
udld enable
addport lag 1
exit
interface 1/0/42
udld enable
addport lag 1
exit
配置keepalive
interface vlan 1
ip address 192.168.1.1 255.255.255.0
exit
vpc domain 1
peer-keepalive enable
peer-keepalive destination 192.168.1.2 source 192.168.1.1
peer detection enable
exit
將LAG2和LAG3設(shè)置成MLAG鏈路
interface lag 2
vpc 1
exit
interface lag 3
vpc 2
exit
查看MLAG狀態(tài)
(M6100-3S) #show vpc brief
VPC domain ID.................................. 1
VPC admin status............................... Enabled
Keep-alive admin status........................ Enabled
VPC operational status......................... Enabled
Self role...................................... Primary
Peer role...................................... Secondary
Peer detection admin status.................... Peer not detected, VPC Operational
Operational VPC MAC............................ C0:FF:D4:A7:DA:01
Operational VPC system priority................ 32767
Peer-Link details
-----------------
Interface...................................... lag 1
Peer-link admin status......................... Up
Peer-link STP admin status..................... Disabled
Configured VLANs............................... 1
Egress tagged VLANs............................ none
VPC Details
-----------
Number of VPCs configured...................... 2
Number of VPCs operational..................... 2
VPC id# 1
-----------
Interface...................................... lag 2
Configured VLANs............................... 1
VPC interface state............................ Active
Local Members Status
----------------- ------
1/0/1 Up
Peer Members Status
---------------- ------
1/0/1 Up
VPC id# 2
-----------
Interface...................................... lag 3
Configured VLANs............................... 2
VPC interface state............................ Active
Local Members Status
----------------- ------
1/0/2 Up
Peer Members Status
---------------- ------
1/0/2 Up
另外一臺的M6100的配置除了peer-keepalive的源IP和目的IP對調(diào)以外,其他配置均一樣,這里就不在重復(fù)。
看過文章“網(wǎng)件全網(wǎng)管路由交換機(jī)如何設(shè)置MLAG功能”的人還看了: