SR66和Cisco三层聚合配置
静态聚合和动态聚合两种模式下的配置如下所示:
静态模式的链路聚合
SR66的版本和配置:
[SR6602]display version
H
Comware Software, Version 5.20, Release 2420P04
Copyright
(c) 2004-2010 Hangzhou H
H
配置:
interface GigabitEthernet0/0
combo enable fiber
port link-aggregation group 1
#
interface GigabitEthernet0/1
combo enable fiber
port link-aggregation group 1
#
interface Route-Aggregation1
ip address 192.168.11.1 255.255.255.252
#
[SR6602]display link-aggregation verbose
Aggregation Interface: Route-Aggregation1
Aggregation Mode: Static
Loadsharing Type: Share
Port Status Oper-Key
------------------------------------------------------------------------------
GE0/0 S 1
GE0/1 S 1
[SR6602]
Cisco的版本和配置:
=============
Router#show version
Cisco Internetwork Operating System Software
IOS (tm) c6sup2_rp Software (c6sup2_rp-PS-M), Version 12.2(18)SXD4, RELEASE SOFT
WARE (fc1)
ROM: System Bootstrap, Version 12.1(4r)E, RELEASE SOFTWARE (fc1)
BOOTLDR: c6sup2_rp Software (c6sup2_rp-PS-M), Version 12.2(18)SXD4, RELEASE SOFT
WARE (fc1)
Cisco WS-C6509 (R7000) processor (revision 3.0) with 112640K/18432K bytes of mem
ory.
Processor board ID SAL0807UDH9
R7000 CPU at 300Mhz, Implementation 0x27, Rev 2.1, 256KB L2, 1024KB L3 Cache
Last reset from power-on
X.25
software, Version
Bridging software.
配置:
interface Port-channel1
ip address 192.168.11.2 255.255.255.252
!
interface GigabitEthernet5/1
no ip address
channel-group 1 mode on
!
interface GigabitEthernet5/2
no ip address
channel-group 1 mode on
!
Router#show interfaces port-channel 1 etherchannel
Ports in the Port-channel:
Index Load Port EC state No of bits
------+------+------+------------------+-----------
0 55 Gi5/1 On/FEC 4
1 AA Gi5/2 On/FEC 4
Time
since last port bundled:
0d:00h:
动态聚合
SR6602 dynamic的配置:
#
interface Route-Aggregation1
link-aggregation mode dynamic
ip address 192.168.11.1 255.255.255.252
#
interface GigabitEthernet0/0
combo enable fiber
port link-aggregation group 1
#
interface GigabitEthernet0/1
combo enable fiber
port link-aggregation group 1
Cisco dynamic:
===============
Router#show running inter port-channel 1
!
interface Port-channel1
ip address 192.168.11.2 255.255.255.252
end
!
interface GigabitEthernet5/1
no ip address
channel-group 1 mode active
end
!
interface GigabitEthernet5/2
no ip address
channel-group 1 mode active
end
在上述两种模式,两端都可以互相ping通,且ARP学习正常:
====================================
[SR6602]ping 192.168.11.2
Reply from 192.168.11.2: bytes=56 Sequence=1 ttl=255 time=2 ms
Reply from 192.168.11.2: bytes=56 Sequence=2 ttl=255 time=1 ms
Reply from 192.168.11.2: bytes=56 Sequence=3 ttl=255 time=1 ms
Reply from 192.168.11.2: bytes=56 Sequence=4 ttl=255 time=1 ms
Reply from 192.168.11.2: bytes=56 Sequence=5 ttl=255 time=1 ms
--- 192.168.11.2 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max =
[SR6602]display arp all
Type: S-Static D-Dynamic A-Authorized
IP Address MAC Address VLAN ID Interface Aging Type
192.168.11.2 000e-d
[SR6602]
Router#ping 192.168.11.01
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.11.1, timeout is 2 seconds:
!!!!!
Success
rate is 100 percent (5/5), round-trip min/avg/max =
Router#show arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 192.168.11.2
- 000e.d
Internet 192.168.11.1 0 0002.0001.0001 ARPA Port-channel1
Router#
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作