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

[求助] GLBP的权重值指的是不是就是优先级呀?

[复制链接]
发表于 2016-9-19 21:18:35 | 显示全部楼层 |阅读模式
5鸿鹄币
有一个配置值,最低和最高,这和优先级包括对象追踪有什么关系呢?

最佳答案

查看完整内容

首先需要先了解AVF, AVG 的作用: AVG 用于选举出AVF, AVF 相当于HSRP/VRRP 中的Active/Master, 一个组中最多可以有4个AVF. 每个AVF 都会对应组内唯一的Virtual MAC. 当收到发住Virtual IP的ARP 请求时,由AVG 应答.AVG 将把某个AVF 的Virtual MAC地址发给PC. 其次你说的Weight : 当组中的AVF 超过4台路由器时, 可以给这些路由器配置权重,只有权重高的路由器可以成为AVF Weighting 有最大和最小值, 如果当前Weighting 值 ...
发表于 2016-9-19 21:18:36 | 显示全部楼层
首先需要先了解AVF, AVG 的作用:
AVG 用于选举出AVF, AVF 相当于HSRP/VRRP 中的Active/Master, 一个组中最多可以有4个AVF.
每个AVF 都会对应组内唯一的Virtual MAC.
当收到发住Virtual IP的ARP 请求时,由AVG 应答.AVG 将把某个AVF 的Virtual MAC地址发给PC.
其次你说的Weight :
当组中的AVF 超过4台路由器时, 可以给这些路由器配置权重,只有权重高的路由器可以成为AVF
Weighting 有最大和最小值, 如果当前Weighting 值小于最小值,该设备放弃成为AVF.
沙发 2016-9-19 21:18:36 回复 收起回复
回复

使用道具 举报

 楼主| 发表于 2016-9-20 19:09:29 | 显示全部楼层
yaoting 发表于 2016-9-20 14:43
首先需要先了解AVF, AVG 的作用:
AVG 用于选举出AVF, AVF 相当于HSRP/VRRP 中的Active/Master, 一个组中 ...

那这个权重值默认是多少?另外什么情况下才会降低到所配置的最小值?另外最大值有什么意义?
板凳 2016-9-20 19:09:29 回复 收起回复
回复

使用道具 举报

发表于 2016-9-21 12:00:42 | 显示全部楼层
ccnafasttrack 发表于 2016-9-20 19:09
那这个权重值默认是多少?另外什么情况下才会降低到所配置的最小值?另外最大值有什么意义?

Default value is 100
为了让该设备放弃成为AVF的情况下才配置最小值.
最大值的意义:(默认为Round-robin 轮询方式);根据权重的分配,权重高的被分配数据转发就越多.
地板 2016-9-21 12:00:42 回复 收起回复
回复

使用道具 举报

发表于 2016-9-21 12:00:55 | 显示全部楼层
ccnafasttrack 发表于 2016-9-20 19:09
那这个权重值默认是多少?另外什么情况下才会降低到所配置的最小值?另外最大值有什么意义?

Default value is 100
为了让该设备放弃成为AVF的情况下才配置最小值.
最大值的意义:(默认为Round-robin 轮询方式);根据权重的分配,权重高的被分配数据转发就越多.
5# 2016-9-21 12:00:55 回复 收起回复
回复

使用道具 举报

发表于 2016-9-21 12:02:18 | 显示全部楼层
glbp weighting

To specify the initial weighting value of the Gateway Load Balancing Protocol (GLBP) gateway, use the glbp weighting command in interface configuration mode. To restore the default values, use the no form of this command.

glbp group weighting maximum [lower lower] [upper upper]

no glbp group weighting
Syntax Description

group
       

GLBP group number in the range from 0 to 1023.

maximum
       

Maximum weighting value in the range from 1 to 254. Default value is 100.

lower lower
       

(Optional) Specifies a lower weighting value in the range from 1 to the specified maximum weighting value. Default value is 1.

upper upper
       

(Optional) Specifies an upper weighting value in the range from the lower weighting to the maximum weighting value. The default value is the specified maximum weighting value.

Defaults

The default gateway weighting value is 100 and the default lower weighting value is 1.
Command Modes

Interface configuration
Command History
Release
       
Modification

12.2(14)S
       

This command was introduced.

12.2(15)T
       

This command was integrated into Cisco IOS Release 12.2(15)T.

Usage Guidelines

The weighting value of a virtual gateway is a measure of the forwarding capacity of the gateway. If a tracked interface on the router fails, the weighting value of the router may fall from the maximum value to below the lower threshold, causing the router to give up its role as a virtual forwarder. When the weighting value of the router rises above the upper threshold, the router can resume its active virtual forwarder role.

Use the glbp weighting track and track commands to configure parameters for an interface to be tracked. If an interface on a router goes down, the weighting for the router can be reduced by a specified value.
Examples

The following example shows the weighting of the gateway for GLBP group 10 being set to a maximum of 110 with a lower weighting limit of 95 and an upper weighting limit of 105:

interface fastethernet 0/0

ip address 10.21.8.32 255.255.255.0

glbp 10 weighting 110 lower 95 upper 105

Related Commands
Command
       
Description

glbp weighting track
       

Specifies an object to be tracked that affects the weighting of a GLBP gateway.

track
       

Configures an interface to be tracked where changes in the state of the interface affect the weighting of a GLBP gateway.

glbp weighting track

To specify a tracking object where the Gateway Load Balancing Protocol (GLBP) weighting changes based on the availability of the object being tracked, use the glbp weighting track command in interface configuration mode. To remove the tracking, use the no form of this command.

glbp group weighting track object-number [decrement value]

no glbp group weighting track object-number [decrement value]
Syntax Description

group
       

GLBP group number in the range from 0 to 1023.

object-number
       

Object number representing an item to be tracked. Use the track command to configure the tracked object.

decrement value
       

(Optional) Specifies an amount by which the GLBP weighting for the router is decremented (or incremented) when the interface goes down (or comes back up). The value range is from 1 to 254, with a default value of 10.

Defaults

The default decrement value is 10.
Command Modes

Interface configuration
Command History
Release
       
Modification

12.2(14)S
       

This command was introduced.

12.2(15)T
       

This command was integrated into Cisco IOS Release 12.2(15)T.

Usage Guidelines

This command ties the weighting of the GLBP gateway to the availability of its interfaces. It is useful for tracking interfaces that are not configured for GLBP.

When a tracked interface goes down, the GLBP gateway weighting decreases by 10. If an interface is not tracked, its state changes do not affect the GLBP gateway weighting. For each GLBP group, you can configure a separate list of interfaces to be tracked.

The optional value argument specifies by how much to decrement the GLBP gateway weighting when a tracked interface goes down. When the tracked interface comes back up, the weighting is incremented by the same amount.

When multiple tracked interfaces are down, the configured weighting decrements are cumulative.

Use the track command to configure each interface to be tracked.
Examples

In the following example, Fast Ethernet interface 0/0 tracks two interfaces represented by the numbers 1 and 2. If interface 1 goes down, the GLBP gateway weighting decreases by the default value of 10. If interface 2 goes down, the GLBP gateway weighting decreases by 5.

interface fastethernet 0/0

ip address 10.21.8.32 255.255.255.0

glbp 10 weighting track 1

glbp 10 weighting track 2 decrement 5


Related Commands
Command
       
Description

glbp weighting
       

Specifies the initial weighting value of a GLBP gateway.

track
       

Configures an interface to be tracked where changes in the state of the interface affect the weighting of a GLBP gateway.
6# 2016-9-21 12:02:18 回复 收起回复
回复

使用道具 举报

 楼主| 发表于 2016-9-22 08:40:26 | 显示全部楼层
yaoting 发表于 2016-9-21 12:00
Default value is 100
为了让该设备放弃成为AVF的情况下才配置最小值.
最大值的意义:(默认为Round-rob ...

哦,好像有点明白了。优先级决定谁成为AVG,这个权重值呢决定谁成为转发者
7# 2016-9-22 08:40:26 回复 收起回复
回复

使用道具 举报

发表于 2016-9-23 11:05:38 | 显示全部楼层
好厉害的
8# 2016-9-23 11:05:38 回复 收起回复
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-4-30 08:50 , Processed in 0.461192 second(s), 27 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

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