Send document comments to nexus7k-docfeedback@cisco.com.
18-12
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 18 Configuring GLBP
Configuring GLBP
The following example shows how to configure GLBP weighting and tracking on Ethernet 1/2:
switch# config t
switch(config)# track 2 interface ethernet 2/2 ip routing
switch(config)# interface ethernet 1/2
switch(config-if)# glbp 1
switch(config-if-glbp)# weighting 110 lower 95 upper 105
switch(config-if-glbp)# weighting track 2 decrement 20
switch(config-if-glbp)# copy running-config startup-config
Step 6
weighting
maximum
[lower
lower
]
[upper
upper
]
Example:
switch(config-if-glbp)# weighting
110 lower 95 upper 105
Specifies the initial weighting value and the upper and
lower thresholds for a GLBP gateway. The maximum range
is from 1 to 254. The default weighting value is 100. The
lower range is from 1 to 253. The upper range is from 1 to
254.
Step 7
weighting track
object-number
[decrement
value
]
Example:
switch(config-if-glbp)# weighting
track 2 decrement 20
Specifies an object to be tracked that affects the weighting
of a GLBP gateway. The value argument specifies a
reduction in the weighting of a GLBP gateway when a
tracked object fails. The range is from 1 to 255.
Step 8
forwarder preempt [delay minimum
seconds
]
Example:
switch(config-if-glbp)# forwarder
preempt delay minimum 60
(Optional) Configures the router to take over as AVF for a
GLBP group if the current AVF for a GLBP group falls
below its low weighting threshold. The range is from 0 to
3600 seconds.
This command is enabled by default with a delay of
30 seconds.
Step 9
ip [
ip-address
[secondary]]
Example:
switch(config-if-glbp)# ip
192.0.2.10
Enables GLBP on an interface and identifies the primary IP
address of the virtual gateway.
After you identify a primary IP address, you can use the
glbp group ip command again with the secondary keyword
to indicate additional IP addresses supported by this group.
If you only use the ip keyword, GLBP learns the virtual IP
address from the neighbors.
Step 10
show glbp
interface-type number
Example:
switch(config-if-glbp)# show glbp
ethernet 1/2
(Optional) Displays GLBP information for an interface.
Step 11
copy running-config startup-config
Example:
switch(config-if-glbp)# copy
running-config startup-config
(Optional) Saves this configuration change.
Command or Action Purpose