cisco 两台3750交换机hsrp 如何连接两台交换机

用光纤模块连接两台交换机 如何互联 是连接一条还是两条

hsrp不是这么用的,是核心层或者说是路由器备份使用,他们两台彼此可用一条光纤连接,启HSRP后两台路由器会虚拟出一个IP地址,如有损坏,备用设备自动切换,下面二层交换机通常使用STP防环,如果二层是cisco的,使用PVST+

组建HSRP关键是汇聚层交换机要有两根线分别接入到两台路由器上,但在节点设置网关时,只设置他们两台路由器公用的那个IP地址

配置如下
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname r1
!
enable password cisco
!
ip subnet-zero
!
!
!
!
interface Ethernet0
ip address 136.147.107.101 255.255.0.0
no ip redirects
no ip directed-broadcast
standby 150 timers 5 15 /* 定义150组5秒交换一次hello信息,15秒没收到
hello信息就开始切换 */
standby 150 priority 110 /* 定义150组的主路由器权值,值越大,为主路由
器希望越大 */
standby 150 preempt /* enable 150组的hsrp抢占功能 */
standby 150 authentication cisco /* 设置150组的router身份验证串 */
standby 150 ip 136.147.107.100 /* 定义150组的浮动地址,也是这台router
连接的网络的网关 */
standby 150 track Ethernet0 /* 定义监控的端口 */
!
interface Serial0
no ip address
no ip directed-broadcast
no ip mroute-cache
shutdown
no fair-queue
!
ip classless
!
!
line con 0
transport input none
line 1 16
line aux 0
line vty 0 4
password cisco
login
!
end
温馨提示:内容为网友见解,仅供参考
第1个回答  2009-01-23
其实,你可以用两条,然后做捆绑,做了捆绑后就在物理上被看成是一条链路了,如果不做捆绑,那会自动启用stp,会阻塞其中的一个端口,防止产生环路!
第2个回答  2009-01-27
不管是光 还是电 如果你仅仅是想互联的话,只需要一个模块(里面有2个接口)但是如果你想做一个完美的HSRP的话 我建议你再做一个etherchannl捆绑一下
第3个回答  2009-01-21
一条就可以..但两条可以聚合下 提高冗余
两条的话 记得启用stp
现丑了. :-)
相似回答