首页 > 学技术 > 技术网文 > 网络技术 > 正文

[精彩] 请教Hsrp切换问题


来源 chinaunix.net 酷勤网整理

3550-EMI
A:
!
interface FastEthernet0/1
no switchport
ip address 10.253.100.2 255.255.255.0
no ip redirects
standby priority 110
standby preempt
standby track FastEthernet0/1
standby 100 ip 10.253.100.1
!

interface FastEthernet0/24
no switchport
ip address 172.16.10.2 255.255.255.0
no ip redirects
standby preempt
standby track FastEthernet0/24
standby 101 ip 172.16.10.1
!


B

!
interface FastEthernet0/1
no switchport
ip address 10.253.100.3 255.255.255.0
no ip redirects
standby preempt
standby track FastEthernet0/1
standby 100 ip 10.253.100.1
!


interface FastEthernet0/24
no switchport
ip address 172.16.10.3 255.255.255.0
no ip redirects
standby priority 110
standby preempt
standby track FastEthernet0/24
standby 101 ip 172.16.10.1



问题是

拔掉A的1口后,A转成Standby ,B为Active
接上A的1口后,A提示转为Active,B为Acitve,一会后又转为Standby,B还是Active---------问题1,为什么转为active后自动又转为standby

再拔掉B的1口后,A转为Active
在连接10.253.100.0网段的10.253.101.0
RA/B 10.253.100.1-----RC 10.253.100.254-------10.253.101.0

source-ip 10.253.101.254   
ping 172.16.10.1是目标不可到达-------------问题2
ping 10.253.100.1 ok


关掉B后恢复正常----------------------------问题3--为什么关掉B后A自动恢复正常
source-ip 10.253.101.254
ping 172.16.10.1  ok
ping 10.253.100.1 ok



感谢各路好汉了



 nfshanq 回复于:2003-12-07 16:03:19

http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fipr_c/ipcprt1/1cfip.htm#1001531

http://www.cisco.com/univercd/cc/td/doc/product/lan/c3550/1214ea1/3550scg/swhsrp.htm#xtocid208680
看看把。


 yanfengsn 回复于:2004-09-20 11:40:06

standby track FastEthernet0/1
为何是自己track自己呢?


 jacamar 回复于:2004-09-20 13:06:24

standby preempt 加权置


 asd2004 回复于:2004-10-08 00:15:32

我现在也遇到一个类似的问题,请问楼主最后如何解决了?


 yanfengsn 回复于:2004-10-08 09:11:55

standby 100 ip和standby preemt是2个hsrp组


 asd2004 回复于:2004-10-08 21:29:36

引用:原帖由 "yanfengsn"]standby 100 ip和standby preemt是2个hsrp组
 发表:




是不是说要配置成:
interface FastEthernet0/1 
no switchport 
ip address 10.253.100.2 255.255.255.0 
no ip redirects 
standby 100 priority 110 
standby 100 preempt 
standby track FastEthernet0/1 
standby 100 ip 10.253.100.1


 yanfengsn 回复于:2004-10-13 16:12:30

也要改成 standby 100 track FastEthernet0/1


 yanfengsn 回复于:2004-10-13 16:15:38

其实track只能track本机的端口,不能track另一台机器的端口




原文链接:http://bbs.chinaunix.net/viewthread.php?tid=217876
转载请注明作者名及原文出处



收藏本页到: