admin 管理员组文章数量: 1086019
2024年3月26日发(作者:java教程下载找微站网源码社区)
SA与Cisco 端口聚合配置案例
这些日子在一个用户那边部署的时候碰到Cisco交换机和SA端口汇聚,折腾了一番才找到
了解决方法,拿出来跟大家一起分享,以免后续碰到类似的问题时别在浪费时间了。
拓扑
拓扑比较简单,如下图所示。
Cisco交换机上配置
interface Port-channel1
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/1
switchport access vlan 10
switchport mode access
channel-group 1 mode on
!
interface GigabitEthernet1/0/2
switchport access vlan 10
switchport mode access
channel-group 1 mode on
!
interface Vlan10
ip address 192.168.2.2 255.255.255.0
!
SA上面的配置
interface aggregate1
zone "trust"
ip address 192.168.2.1 255.255.255.0
manage ping
manage https
exit
interface ethernet0/9
aggregate aggregate1
exit
interface ethernet0/10
aggregate aggregate1
exit
测试结果:
两边互相ping对方地址,任意一条线路断开都不会丢包
Cisco交换机上的测试
Switch#
01:19:17: %SYS-5-CONFIG_I: Configured from console by consoleping
Protocol [ip]:
Target IP address:
% Bad IP address
Switch#ping 192.168.2.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
Switch#ping 192.168.2.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/9 ms
Switch#
01:19:36: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/2, changed
state to down
01:19:37: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/2, changed state to downping
192.168.2.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
Switch#ping 192.168.2.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
版权声明:本文标题:cisco 端口汇聚 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://roclinux.cn/p/1711407944a592560.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论