EtherChannel 负载均衡

来源:本站原创 CISCO 超过3,656 views围观 0条评论

 

load-balance global configuration command.

Command Purpose

Step 1 configure terminal Enter global configuration mode.

Step 2 port-channel load-balance {dst-ip | dst-mac |

src-dst-ip | src-dst-mac | src-ip | src-mac}

Configure an EtherChannel load-balancing method.

The default is src-mac.

Select one of these load-distribution methods:

dst-ip—Load distribution is based on the destination-host IP

address.

dst-mac—Load distribution is based on the destination-host

MAC address of the incoming packet.

src-dst-ip—Load distribution is based on the

source-and-destination host-IP address.

src-dst-mac—Load distribution is based on the

source-and-destination host-MAC address.

src-ip—Load distribution is based on the source-host IP

address.

src-mac—Load distribution is based on the source-MAC

address of the incoming packet.

目标SW

sw3(config)#port-channel load-balance src-mac

其它SW

sw1(config)#port-channel load-balance dst-mac

sw2(config)#port-channel load-balance dst-mac

文章出自:CCIE那点事 http://www.jdccie.com/ 版权所有。本站文章除注明出处外,皆为作者原创文章,可自由引用,但请注明来源。 禁止全文转载。
本文链接:http://www.jdccie.com/?p=1696转载请注明转自CCIE那点事
如果喜欢:点此订阅本站