组网说明:
本案例采用H3C S5500与思科3750对接二层链路聚合的典型组网。
H3C S5500的版本信息如下:
<H3C>dis version
H3C Comware Platform Software
Comware Software, Version 5.20, Release 5206
Copyright (c) 2004-2013 Hangzhou H3C Tech. Co., Ltd. All rights reserved.
H3C S5500-58C-HI uptime is 0 week, 0 day, 0 hour, 5 minutes
H3C S5500-58C-HI with 2 Processors
1024M bytes SDRAM
4096K bytes Nor Flash Memory
512M bytes Nand Flash Memory
Hardware Version is REV.C
CPLD Version is 003
Bootrom Version is 211
[SubSlot 0] 48GE+4SFP+2SFP PLUS Hardware Version is REV.C
<H3C>
思科3750的版本信息如下:
Switch#sh version
Cisco IOS Software, C3750 Software (C3750-IPSERVICES-M), Version 12.2(35)SE5, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Thu 19-Jul-07 19:15 by nachen
Image text-base: 0x00003000, data-base: 0x01280000
ROM: Bootstrap program is C3750 boot loader
BOOTLDR: C3750 Boot Loader (C3750-HBOOT-M) Version 12.2(25r)SEE4, RELEASE SOFTWARE (fc1)
Switch uptime is 21 minutes
System returned to ROM by power-on
System image file is "flash:c3750-ipservices-mz.122-35.SE5/c3750-ipservices-mz.122-35.SE5.bin"
cisco WS-C3750G-48TS (PowerPC405) processor (revision H0) with 118784K/12280K bytes of memory.
Processor board ID FOC1446Y09V
Last reset from power-on
1 Virtual Ethernet interface
52 Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.
512K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address : F0:25:72:81:F3:00
Motherboard assembly number : 73-10218-10
Power supply part number : 341-0107-01
Motherboard serial number : FOC14453BA2
Power supply serial number : AZS143207R7
Model revision number : H0
Motherboard revision number : A0
Model number : WS-C3750G-48TS-E
System serial number : FOC1446Y09V
Top Assembly Part Number : 800-27483-05
Top Assembly Revision Number : D0
Version ID : V07
CLEI Code Number : CMMAN00ARA
Hardware Board Revision Number : 0x09
Switch Ports Model SW Version SW Image
------ ----- ----- ---------- ----------
* 1 52 WS-C3750G-48TS 12.2(35)SE5 C3750-IPSERVICES-M
Configuration register is 0xF
Switch#
H3C S5500与思科3750分别使用交换机的1口和2口进行互联。
H3C S5500链路聚合配置如下:
<H3C>sys
System View: return to User View with Ctrl+Z.
[H3C]int Bridge-Aggregation 1
[H3C-Bridge-Aggregation1]port link-type trunk
[H3C-Bridge-Aggregation1]port trunk permit vlan all
[H3C-Bridge-Aggregation1]quit
[H3C]int range GigabitEthernet 1/0/1 to GigabitEthernet 1/0/2
[H3C-if-range]port link-type trunk
[H3C-if-range]port trunk permit vlan all
[H3C-if-range]port link-aggregation group 1
[H3C-if-range]quit
思科3750链路聚合配置如下:
Switch(config)#interface port-channel 1
Switch(config-if)#switchport trunk encapsulation dot1q
Switch(config-if)#switchport mode trunk
Switch(config-if)#switchport trunk allowed vlan all
Switch(config-if)#exit
Switch(config)#int range gigabitEthernet 1/0/1-2
Switch(config-if-range)#switchport trunk encapsulation dot1q
Switch(config-if-range)#switchport mode trunk
Switch(config-if-range)#switchport trunk allowed vlan all
Switch(config-if-range)#channel-group 1 mode on
Switch(config-if-range)#exit
查看思科3750的链路聚合状态:
Switch#show interfaces port-channel 1 status
Port Name Status Vlan Duplex Speed Type
Po1 connected trunk a-full a-1000
Switch#show interfaces port-channel 1 etherchannel
Age of the Port-channel = 0d:00h:05m:45s
Logical slot/port = 10/1 Number of ports = 2
GC = 0x00000000 HotStandBy port = null
Port state = Port-channel Ag-Inuse
Protocol = -
Ports in the Port-channel:
Index Load Port EC state No of bits
------+------+------+------------------+-----------
0 00 Gi1/0/1 On 0
0 00 Gi1/0/2 On 0
Time since last port bundled: 0d:00h:02m:33s Gi1/0/1
Switch#
查看S5500的链路聚合状态均为S:
<H3C>dis link-aggregation verbose
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Port Status: S -- Selected, U -- Unselected
Flags: A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation,
D -- Synchronization, E -- Collecting, F -- Distributing,
G -- Defaulted, H -- Expired
Aggregation Interface: Bridge-Aggregation1
Aggregation Mode: Static
Loadsharing Type: Shar
Port Status Priority Oper-Key
--------------------------------------------------------------------------------
GE1/0/1 S 32768 1
GE1/0/2 S 32768 1
<H3C>
至此,S5500与思科3750对接二层链路聚合典型组网配置案例已完成!
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作