怎么做网站的seo排名知乎,茂名网站制作公司,优质网站的衡量标准,wordpress wizhi cms一、描述链路聚合是将多条链路聚合在一起形成一个汇聚组#xff0c;以实现负荷在各成员链路中的分担#xff0c;同时也提供了更高的连接可靠性。Cisco的链路聚合有几种方式#xff1a;手工、LACP(包括active和passive两种)、PAgP(Port-aggregation Protocol)#xff0c;其中…一、描述链路聚合是将多条链路聚合在一起形成一个汇聚组以实现负荷在各成员链路中的分担同时也提供了更高的连接可靠性。Cisco的链路聚合有几种方式手工、LACP(包括active和passive两种)、PAgP(Port-aggregation Protocol)其中PAgP是Cisco的私有协议不存在和我们互通的概念。我司的S5800交换机链路聚合有2种方式手工(manual)、LACP。经测试我司与Cisco链路聚合可以对接成功的有以下几种组合H3C模式cisco模式LACP手工(manual)ActiveOKPassiveOKONOK二、配置说明Cisco配置模板Switch#configure terminalSwitch(config)#interface interface-idSwitch(config-if)#switchport modeaccess/trunkSwitch(config-if)#switchport access vlan vlan-idSwitch(config-if)#channel-group Channel-group-number mode on/passive/active/…Switch(config-if)#endCisco交换机聚合命令说明如下命令行意义第一步Configure terminal进入全局配置模式第二步Interface interface-id指定端口并进入端口配置模式第三步Switchport mode {access | trunk}Swtichport access vlanvlan-id指定端口为access 或者为trunk如果端口配置为access模式指定vlan。范围为1-4094第四步Channel-groupChannel-group-number mode {auto [non-silent] | desirable [non-silent] | on } | {active | passive}配置端口加入聚合口并指定端口为PAgP或LACP模式。端口模式分为以下几种Auto在PAgP设备被检测到的情况下使能PAgP。端口为被动模式只回应PAgP报文而不主动发起PAgP协商。Desireable无条件使能PAgP。设置端口为主动协商模式在这种情况下端口主动发送PAgP报文与其它端口进行协商。On强制将端口加入聚合组为静态创建聚合组。在on模式下聚合组存在的模式为与该聚合组相连的对端聚合组也为on模式。Non-silent可选配置如果交换机与一个支持PAgP协议的交换机相连时则配置端口为non-silent模式。Silent为默认模式用于文件服务器或包分析器。Active使能LACP端口处于主动协商状态端口通过发送LACP报文与其它端口进行协商。Passive在端口上启用LACP模式并且把端口置于被动状态相应接收到的LACP报文但不会发送LACP包与其它端口进行协商。第五步End返回到特权模式取消端口聚合在接口视图下配置no channel-group即可。我司配置说明不再赘述。三、测试环境及简要配置测试拓扑测试设备为cisco C3550和H3C S5800交换机之间互联链路可以多条这里只以两条链路为例。测试目的很简单就是验证不同厂商聚合端口能否互通以及互通时端口的模式。Cisco端口聚合静态模式下的配置把端口划分在vlan 10 内。#interface FastEthernet0/23switchport access vlan 10switchport mode accesschannel-group 1 mode on#interface FastEthernet0/24switchport access vlan 10switchport mode accesschannel-group 1 mode onH3C 交换机端口聚合的配置静态模式不赘述。#interface Bridge-Aggregation1port access vlan 20#interface GigabitEthernet1/0/23port link-mode bridgeport access vlan 20port link-aggregation group 1#interface GigabitEthernet1/0/24port link-mode bridgeport access vlan 20port link-aggregation group 1分别在cisco、H3C交换机查看端口聚合状态手动模式。Switch#show etherchannel summaryFlags: D - down P - in port-channelI - stand-alone s - suspendedH - Hot-standby (LACP only)R - Layer3 S - Layer2U - in use f - failed to allocate aggregatoru - unsuitable for bundlingw - waiting to be aggregatedd - default portNumber of channel-groups in use: 2Number of aggregators: 2Group Port-channel Protocol Ports-----------------------------------------------------------------------------1 Po1(SU) - Fa0/23(P) Fa0/24(P)[H3C]display link-aggregation summaryAggregation Interface Type:BAGG -- Bridge-Aggregation, RAGG -- Route-AggregationAggregation Mode: S -- Static, D -- DynamicLoadsharing Type: Shar -- Loadsharing, NonS -- Non-LoadsharingActor System ID: 0x8000, 0023-8927-adf5AGG AGG Partner ID Select Unselect ShareInterface Mode Ports Ports Type-------------------------------------------------------------------------------BAGG1 S none 2 0 Shar在两台交换机聚合端口所在vlan内起三层口网段为1.1.1.0/24可以ping通。Switch#ping 1.1.1.2Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 1.1.1.2, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max 1/2/4 msCisco端口聚合动态模式下的配置把端口划分在vlan 10 内这里以LACP主动模式为例。!interface FastEthernet0/23switchport access vlan 10switchport mode accesschannel-group 1 mode active!interface FastEthernet0/24switchport access vlan 10switchport mode accesschannel-group 1 mode activeH3C 交换机端口聚合的配置动态模式不赘述。#interface Bridge-Aggregation1port access vlan 20link-aggregation mode dynamic#interface GigabitEthernet1/0/23port link-mode bridgeport access vlan 20port link-aggregation group 1#interface GigabitEthernet1/0/24port link-mode bridgeport access vlan 20port link-aggregation group 1分别在cisco、H3C交换机查看端口聚合状态LACP模式。Switch#show etherchannel summaryFlags: D - down P - in port-channelI - stand-alone s - suspendedH - Hot-standby (LACP only)R - Layer3 S - Layer2U - in use f - failed to allocate aggregatoru - unsuitable for bundlingw - waiting to be aggregatedd - default portNumber of channel-groups in use: 2Number of aggregators: 2Group Port-channel Protocol Ports-----------------------------------------------------------------------------1 Po1(SU) LACP Fa0/23(P) Fa0/24(P)[H3C]display link-aggregation summaryAggregation Interface Type:BAGG -- Bridge-Aggregation, RAGG -- Route-AggregationAggregation Mode: S -- Static, D -- DynamicLoadsharing Type: Shar -- Loadsharing, NonS -- Non-LoadsharingActor System ID: 0x8000, 0023-8927-adf5AGG AGG Partner ID Select Unselect ShareInterface Mode Ports Ports Type-------------------------------------------------------------------------------BAGG1 D 0x8000, 0015-fa90-7c80 2 0 Shar在两台交换机聚合端口所在vlan内起三层口网段为1.1.1.0/24可以ping通。Switch#ping 1.1.1.2Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 1.1.1.2, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max 1/8/16 ms