Send document comments to nexus7k-docfeedback@cisco.com.
18-10
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 18 Configuring GLBP
Configuring GLBP
switch(config)# key chain glbp-keys
switch(config-keychain)# key 0
switch(config-keychain-key)# key-string 7 zqdest
switch(config-keychain-key) accept-lifetime 00:00:00 Jun 01 2008 23:59:59 Sep 12 2008
switch(config-keychain-key) send-lifetime 00:00:00 Jun 01 2008 23:59:59 Aug 12 2008
switch(config-keychain-key) key 1
switch(config-keychain-key) key-string 7 uaeqdyito
switch(config-keychain-key) accept-lifetime 00:00:00 Aug 12 2008 23:59:59 Dec 12 2008
switch(config-keychain-key) send-lifetime 00:00:00 Sep 12 2008 23:59:59 Nov 12 2008
switch(config)# interface ethernet 1/2
switch(config-if)# glbp 1
switch(config-if-glbp)# authenticate md5 key-chain glbp-keys
switch(config-if-glbp)# copy running-config startup-config
Configuring GLBP Load Balancing
You can configure GLBP to use load balancing based on round-robin, weighted, or host-dependent
methods (see the “GLBP Load Balancing and Tracking” section on page 18-5).
To configure GLBP load balancing, use the following command in GLBP configuration mode:
Configuring GLBP Weighting and Tracking
You can configure GLBP weighting values and object tracking to work with the GLBP weighted
load-balancing method.
You can optionally configure the interface to preempt an AVF if the interface was originally assigned
with the virtual MAC address or if this interface has a higher weight than the AVF.
BEFORE YOU BEGIN
Ensure that you are in the correct VDC (or use the switchto vdc command).
Enable the GLBP feature (see the “Enabling the GLBP Feature” section on page 18-7).
SUMMARY STEPS
1. config t
2. track object-id interface interface-type number {ip routing | line-protocol}
3. track object-id ip route ip-prefix/length reachability
4. interface interface-type slot/port
5. ip ip-address/length
6. glbp group-number
Command Purpose
load-balancing [host-dependent |
round-robin | weighted]
Example:
switch(config-if-glbp)# load-balancing
weighted
Sets the GLBP load-balancing method. The default
is round-robin.