From wikistone
| Line 18: | Line 18: | ||
===Commands=== | ===Commands=== | ||
| − | On all | + | On all GLBP aware routers for a network, declare the GLBP group and IP on the network interface. Then set priority (optional) and preemption (optional). |
<pre> | <pre> | ||
(config-if)# glbp [0..1023] ip [virtual_ip_addr] | (config-if)# glbp [0..1023] ip [virtual_ip_addr] | ||
Latest revision as of 16:38, 21 December 2012
GLBP
Gateway Load Balancing Protocol
Cisco Proprietary. Provides redundancy and load balancing across up to 4 routers per group.
Uses 224.0.0.102 UDP 3222. AVG assigns virtual MACs to all AVFs. Load Balancing is achieved by AVG responding to ARPs with one of the virtual MACs.
Weight: [1..254] Default weight is 100.
Roles:
- AVG: Active Virtual Gateway
- AVF: Active Virtual Forwarder
Load Balancing:
- Weighted: uses router's weight value
- Host-Dependent: balanced by source MACs
- Round-Robin: RR vMAC response to ARP. default
Commands
On all GLBP aware routers for a network, declare the GLBP group and IP on the network interface. Then set priority (optional) and preemption (optional).
(config-if)# glbp [0..1023] ip [virtual_ip_addr] (config-if)# glbp [0..1023] priority [1..255] (config-if)# glbp [0..1023] preempt [options]
Jack with timers to make it better.
(config-if)# glbp [0..1023] timers [msec] [hello#] [msec] [hold#]
Alter Load Balancing method:
(config-if)# glbp [0..1023] load-balancing [host | round | weight]
Track something. First weight the interface, then apply the track.
(config-if)# glbp [0..1023] weighting [1..254] (config-if)# glbp [0..1023] weighting track [1..500] decrement [1..255]
.