CISCO交换机端口汇聚

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

• Creates a port-channel interface
Switch(config-if)#ip address address mask
• Assigns an IP address and subnet mask to the EtherChannel
Switch(config)#interface interface slot/port
© All Rights Reserved, Copyright 2003, Advanced Digital Technology CO.,Ltd
Configuring EtherChannel Load Balancing
Switch(config)#port-channel load-balance type
Q - Quit timer is running. I - Interface timer is running.
Local information: Port Gi0/9 Flags State SC U6/S7 Timers H Hello Partner PAgP Interval Count Priority 30s 1 128 Learning Group Method Ifindex Any 15
© All Rights Reserved, Copyright 2003, Advanced Digital Technology CO.,Ltd
EtherChannel
– 同类链路聚合 – 视为一个逻辑端口 – 交换层负载均衡 – 线路冗余
© All Rights Reserved, Copyright 2003, Advanced Digital Technology CO.,Ltd
Configuring EtherChannel
Switch(config)#interface port-channel port-channel-number
Flags:
S A d Timers: H S
-
Device is sending Slow hello. Device is in Auto mode. PAgP is down. Hello timer is running. Switching timer is running.
C - Device is in Consistent state. P - Device learns on physical port.
© All Rights Reserved, Copyright 2003, Advanced Digital Technology CO.,Ltd
Verifying EtherChannel
Switch#show running-config interface port-channel num
• Configures EtherChannel load balancing
Switch#show etherchannel load-balance Source XOR Destination IP address
© All Rights Reserved, Copyright 2003, Advanced Digital Technology CO.,Ltd
Switch#show etherchannel 1 port-channel Port-channels in the group: ---------------------PoAge of the Port-channel = 01d:01h:31m:38s Logical slot/port = 1/0 Number of ports = 2 GC = 0x00020001 HotStandBy port = null Port state = Port-channel Ag-Inuse Ports in the Port-channel: Index Load Port EC state ------+------+------+-----------0 00 Gi0/9 desirable-sl 0 00 Gi0/10 desirable-sl Time since last port bundled: 00d:20h:04m:38s Gi0/9 Time since last port Gi0/10 © All Rights Un-bundled: Reserved, Copyright00d:21h:17m:20s 2003, Advanced Digital Technology CO.,Ltd
• Displays port-channel information
Switch#show running-config interface interface x/y
• Displays interface information
Switch#show run interface port-channel 1 Building configuration... Current configuration: ! interface Port-channel1 no ip address no ip directed-broadcast end Switch#show run interface gig 0/9 Building configuration... Current configuration: ! interface GigabitEthernet 0/9 no ip address channel-group 1 mode desirable end
© All Rights Reserved, Copyright 2003, Advanced Digital Technology CO.,Ltd
Verifying EtherChannel (Cont.)
Switch#show etherchannel num port-channel
• Displays port-channel information after configuration
Verifying PAgP and LACP
Switch#show interfaces gigabitethernet 0/9 etherchannel Port state = Up Mstr In-Bndl Channel group = 1 Mode = Desirable-Sl Gcchange = 0 Port-channel = Po2 GC = 0x00020001 Pseudo port-channel = Po1 Port index = 0 Load = 0x00
Switch(config)#lacp system-priority priority_value
• Configures the LACP system priority
© All Rights Reserved, Copyright 2003, Advanced Digital Technology CO.,Ltd
• Restricts the channel-group command to the specified EtherChannel protocol for this port
Switch(config-if)#lacp port-priority priority_value
• Configures the LACP port priority
• Specifies an interface to configure
Switch(config-if)#channel-group number mode {auto | desirable | on}
• Configures the interface in a port-channel and specifies the PAgP mode
– Defined in IEEE 802.3ad
© All Rights Reserved, Copyright 2003, Advanced Digital Technology CO.,Ltd
Configuring PAgP and LACP
Switch(config-if)#channel-protocol {lacp | pagp}
Partner's information: Partner Name DSW122 Partner Device ID 0005.313e.4780 Partner Port Gi0/9 Partner Group Age Flags Cap. 18s SC 20001
Port Gi0/9
Age of the port in the current state: 00d:20h:00m:49s
EtherChannel使用指导
– 通道中所有端口分配到同一VLAN,或将他们配置成 TRUNK – 如配置成TRUNK,则要求两端干道模式相同. – 通道中所有端口使用同一速率和双工模式 – 如端口配置成TRUNK,所有端口允许的VLAN范围必须相 同。 – 不要将通道中的端口配置成动态VLAN端口,这样会严重 影响交换机性能
38sgi09portandlinkaggregation?通过数据包的交换迅速的完成快速以太通道的自动建立动态的学习相邻交换机和它们的成组能力并告知相邻交换机自己的成组
端口汇聚
© All Rights Reserved, Copyright 2003, Advanced Digital Technology CO.,Ltd
Port and Link Aggregation
•通过数据包的交换,迅速的完成快速以太通道的自 动建立,动态的学习相邻交换机和它们的成组能力, 并告知相邻交换机自己的成组。 •Port Aggregation Protocol (PAgP)
– Cisco私有协议
•Link Aggregation Control Protocol (LACP)
相关文档
最新文档