设为首页收藏本站language 语言切换
查看: 1566|回复: 2
收起左侧

[已解决] 813题库_168题疑问

[复制链接]
发表于 2011-12-18 15:37:29 | 显示全部楼层 |阅读模式
本帖最后由 fjcf120146 于 2011-12-18 15:38 编辑

这一题说glbp active状态当优先级相同时,根据接口ip高的选举。但我在模拟器环境中,并没看到效果,当优先级相同时,默认抢占未开启,是根据谁先配置glbp谁成为active,后者也不会抢占。各位童鞋有什么看法吗?

168_.JPG




实验:sw2接口ip>sw1,优先级相同,但sw2任然为standby。
sw1#show running-config interface vlan 1
Building configuration...
Current configuration : 78 bytes
!
interface Vlan1
ip address 1.1.1.1 255.255.255.0
glbp 1 ip 1.1.1.252
end
sw1#
sw1#show glbp  
Vlan1 - Group 1
  State is Active
    2 state changes, last state change 00:27:41
  Virtual IP address is 1.1.1.252
  Hello time 3 sec, hold time 10 sec
    Next hello sent in 0.892 secs
  Redirect time 600 sec, forwarder timeout 14400 sec
  Preemption disabled
  Active is local
  Standby is 1.1.1.2, priority 100 (expires in 7.784 sec)
  Priority 100 (default)
  Weighting 100 (default 100), thresholds: lower 1, upper 100
  Load balancing: round-robin
  Group members:
    cc00.0c1c.0000 (1.1.1.1) local
    cc01.0c1c.0000 (1.1.1.2)
  There are 2 forwarders (1 active)
  Forwarder 1
    State is Active
      1 state change, last state change 00:27:31
    MAC address is 0007.b400.0101 (default)
    Owner ID is cc00.0c1c.0000
    Redirection enabled
    Preemption enabled, min delay 30 sec
    Active is local, weighting 100
  Forwarder 2
    State is Listen
    MAC address is 0007.b400.0102 (learnt)
    Owner ID is cc01.0c1c.0000
    Redirection enabled, 599.680 sec remaining (maximum 600 sec)
    Time to live: 14399.680 sec (maximum 14400 sec)
    Preemption enabled, min delay 30 sec
    Active is 1.1.1.2 (primary), weighting 100 (expires in 9.676 sec)
sw1#



sw2#show running-config interface vlan 1
Building configuration...
Current configuration : 78 bytes
!
interface Vlan1
ip address 1.1.1.2 255.255.255.0
glbp 1 ip 1.1.1.252
end
sw2#
sw2#sho
sw2#show glbp
sw2#show glbp
Vlan1 - Group 1
  State is Standby
    1 state change, last state change 00:22:52
  Virtual IP address is 1.1.1.252
  Hello time 3 sec, hold time 10 sec
    Next hello sent in 1.192 secs
  Redirect time 600 sec, forwarder timeout 14400 sec
  Preemption disabled
  Active is 1.1.1.1, priority 100 (expires in 8.316 sec)
  Standby is local
  Priority 100 (default)
  Weighting 100 (default 100), thresholds: lower 1, upper 100
  Load balancing: round-robin
  Group members:
    cc00.0c1c.0000 (1.1.1.1)
    cc01.0c1c.0000 (1.1.1.2) local
  There are 2 forwarders (1 active)
  Forwarder 1
    State is Listen
    MAC address is 0007.b400.0101 (learnt)
    Owner ID is cc00.0c1c.0000
    Time to live: 14398.316 sec (maximum 14400 sec)
    Preemption enabled, min delay 30 sec
    Active is 1.1.1.1 (primary), weighting 100 (expires in 7.360 sec)
  Forwarder 2
    State is Active
      1 state change, last state change 00:23:03
    MAC address is 0007.b400.0102 (default)
    Owner ID is cc01.0c1c.0000
    Preemption enabled, min delay 30 sec
    Active is local, weighting 100
sw2#

相关帖子

发表于 2011-12-19 20:41:35 | 显示全部楼层
是不是没配preemt,然后又在sw1上先开启glbp进程造成的问题,这道题应该是基于同时开启的吧

评分

参与人数 1鸿鹄币 +5 收起 理由
fulltimes + 5 赞一个!

查看全部评分

沙发 2011-12-19 20:41:35 回复 收起回复
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-12-21 23:22:44 | 显示全部楼层

我又试了,双方都开启抢占、优先级默认(还未配glbp ip)。之后ip低的先配glbp ip,再ip高的配glbp ip。最后ip高的任然是standby,无法抢占成为active
板凳 2011-12-21 23:22:44 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-2-4 13:41 , Processed in 0.096947 second(s), 22 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表