读书人

交换机端口绑定如何做

发布时间: 2012-02-25 10:01:48 作者: rapoo

交换机端口绑定怎么做?
在二层交换机上二个端口绑定在一起,数据同时走二条线路,

如果一条线路DOWN,就走另一条。

也叫做端口冗余



大家手上有没有这种配置


[解决办法]
sorry,没看到要求是二层交换机,那就是端口汇聚:
interface Ethernet 0/1
duplex full
speed 100
interface Ethernet 0/2
duplex full
speed 100

link-aggregation Ethernet 0/1 to Ethernet 0/2 both
[解决办法]
我以Cisco2950为例:
在Cisco中成为以太通道技术。

Assembly code
在Switch1上配置(举例用的是fa0/1和fa0/2):Switch1>enableSwitch1#configure terminalEnter configuration commands, one per line.  End with CNTL/Z.Switch1(config)#interface port-channel 1Switch1(config-if)#switchport mode trunkSwitch1(config-if)#exiSwitch1(config)#interface range fa0/1 , fa0/2Switch1(config-if-range)#channel-group 1 mode onSwitch1(config-if-range)#exitSwitch1(config)#port-channel load-balance dst-mac//dst-mac:负载均衡方式中的一种在Switch2上配置Switch2(config)#interface port-channel 1Switch2(config-if)#switchport mode trunkSwitch2Switch2(config)#interface range fa0/1 , fa0/2Switch2(config-if-range)#channel-group 1 mode onSwitch2(config-if-range)#exiSwitch2(config)#port-channel load-balance dst-mac 

读书人网 >电脑技能

热点推荐