Send document comments to nexus7k-docfeedback@cisco.com.
18-15
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 18 Configuring GLBP
Verifying GLBP Configuration
The following example shows how to enable GLBP on Ethernet 1/2:
switch# config t
switch(config)# interface ethernet 1/2
switch(config-if)# glbp 1
switch(config-if-glbp)# ip 192.0.2.10
Verifying GLBP Configuration
To display GLBP configuration information, perform one of the following tasks:
GLBP Example Configuration
The following example enables GLBP on an interface, with MD5 authentication, interface tracking, and
weighted load balancing:
Step 5
ip [
ip-address
[secondary]]
Example:
switch(config-if-glbp)# ip 192.0.2.10
Enables GLBP on an interface and identifies the virtual
IP address. The virtual IP should be in the same subnet as
the interface IP address.
After you identify a virtual 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 6
show glbp [group
group-number
]
[brief]
Example:
switch(config-if-glbp)# show glbp
brief
(Optional) Displays a brief summary of GLBP
information.
Step 7
copy running-config startup-config
Example:
switch(config-if-glbp)# copy
running-config startup-config
(Optional) Saves this configuration change.
Command or Action Purpose
Command Purpose
show glbp [group group-number] Displays the GLBP status for all or one group.
show glbp [group group-number] capability Displays the GLBP capability for all or one group.
show glbp [interface interface-type slot/port] Displays the GLBP status for an interface.
show glbp [group group-number] [interface
interface-type slot/port] [active] [disabled] [init]
[listen] [standby]
Displays the GLBP status for a group or interface
for virtual forwarders in the selected state.
show glbp [group group-number] [interface
interface-type slot/port] [active] [disabled] [init]
[listen] [standby] brief
Displays a brief summary of the GLBP status for
a group or interface for virtual forwarders in the
selected state.