The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This document describes how to configure Microsoft Network Load Balancing (NLB) on Nexus 7000.
There are no specific requirements for this document.
The information in this document is based on Cisco NX-OS Software, Release 5.2(x) or later.
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.
Note: Use the Command Lookup Tool (registered customers only) in order to obtain more information on the commands used in this section.
Network Load Balancing (NLB) technology is used to distribute client requests across a set of servers.
There are three primary modes of NLB: unicast, multicast, and Internet Group Management Protocol (IGMP) multicast:
This document covers how to configure Nexus 7000 series switches for multicast and IGMP multicast mode NLB. As previously referenced, multicast NLB requires that you have a unicast IP address mapped to a multicast MAC address. If you have a Catalyst switch, you can follow the configuration in Catalyst Switches for Microsoft Network Load Balancing Configuration Example. The Nexus 7000 follows the same concept, but the configurations are different.
The Nexus 7000 needs to be able to run Release 5.2(x) or later in order to perform these configurations:
Note: Release 6.2(2) or later is required for unicast mode NLB to exist at multiple sites across an Overlay Transport Virtualization (OTV) overlay. See the Unicast Mode NLB and OTV Configuration Consideration section for further information.
interface Vlan10
no shutdown
ip address 10.1.2.1/24
ip pim sparse-mode
ip arp 10.1.2.200 0100.5E01.0101
vlan configuration 10
layer-2 multicast lookup mac
You must use MAC-based lookups in VLANs where you want to constrain IP unicast packets with multicast MAC addresses.
When hosts (load balancing [LB] servers or firewalls) join an IP address multicast group that corresponds to the MAC address of the ARP entry, the system installs a snooping entry that constrains traffic destined to that group's MAC address to only those ports where a join was received.
Pros of Option 1: allows servers/firewalls to dynamically join/leave the corresponding group; enables/disables reception of the target traffic (for example, maintenance mode).
Cons of Option 1: constraint can only occur if at least one server/firewall is joined to the group address; if the last device leaves the group, the traffic floods to all ports in the VLAN.
interface Vlan10
no shutdown
ip address 10.1.2.1/24
ip arp 10.1.2.200 0100.5E01.0101
vlan configuration 10
ip igmp snooping querier 10.1.1.254
layer-2 multicast lookup mac
Pros of Option 1A: does not require PIM-enabled SVI. Otherwise, the pros are the same as in Option 1.
Cons of Option 1A: same as in Option 1.
interface Vlan10
no shutdown
ip address 10.1.2.1/24
ip arp 10.1.2.200 0100.5E01.0101
vlan configuration 10
layer-2 multicast lookup mac
You must use MAC-based lookups in VLANs where you want to constrain IP address unicast packets with multicast MAC addresses.
vlan configuration 10
ip igmp snooping static-group 239.1.1.1 interface Ethernet8/2
ip igmp snooping static-group 239.1.1.1 interface Ethernet8/4
ip igmp snooping static-group 239.1.1.1 interface Ethernet8/7
Pros of Option 2: does not require a PIM-enabled SVI or the IGMP snooping querier.
Cons of Option 2: constraint can only occur if at least one server/firewall port is in the UP state (link up); if none of the ports in the static-group interface set is UP, the traffic floods to all ports in the VLAN. If servers/firewalls move, the administrator must update the static-group configuration.
interface Vlan10
no shutdown
ip address 10.1.2.1/24
ip arp 10.1.2.200 03bf.0000.1111
vlan configuration 10
layer-2 multicast lookup mac
You must use MAC-based lookups in VLANs where you want to constrain IP address unicast packets with multicast MAC addresses.
mac address-table multicast 03bf.0000.1111 vlan 10 interface Ethernet8/2
mac address-table multicast 03bf.0000.1111 vlan 10 interface Ethernet8/4
mac address-table multicast 03bf.0000.1111 vlan 10 interface Ethernet8/7
Note: A static MAC entry should be applied on any device that shares the NLB VLAN that points to the server and redundant links. The specific configuration varies for each platform.
Pros of Option 2A: does not require a PIM-enabled SVI or the IGMP snooping querier; works with non-IP multicast applications (custom applications).
Cons of Option 2A: constraint can only occur if at least one server/firewall port is in the UP state (link up); if none of the ports in the interface set is UP, the traffic floods to all ports in the VLAN. If servers/firewalls move, the administrator must update the static multicast MAC table configuration.
Note: Multicast and IGMP multicast mode are treated as broadcasts over the OTV overlay. They work across OTV without additional configuration.
OTV allows the advertising of MAC addresses between the OTV edge devices, as well as the mapping of MAC address destinations to IP next hops that are reachable through the network transport. The consequence is that the OTV edge device starts to behave like a router instead of a Layer 2 bridge, because it forwards Layer 2 traffic across the overlay if it has previously received information on how to reach that remote MAC destination.
When the OTV edge device receives a frame destined to a MAC across the overlay, by default it performs a Layer 2 lookup in the MAC table. Because it does not have information for the MAC, the traffic is flooded out the internal interfaces (because they behave as regular Ethernet interfaces) but not via the overlay.
In releases earlier than 6.2(2), unicast mode NLB only works if the servers are on a single side of the OTV overlay. The OTV VDC at the site that these servers is placed is configured in this manner:
mac address-table static 02bf.0000.2222 vlan 10 interface <internal-interface>
In Release 6.2(2) and later, unicast mode NLB servers can exist on both sides of the OTV overlay. This is done through use of the selective unicast flood command on the OTV VDCs at all sites where the server exists:
otv flood mac 02bf.0000.2222 vlan 10
Note: When you use NLB for an OTV extended VLAN, you must disable ARP ND cache "no otv suppress-arp-nd" on the Overlay.
There are a few caveats related to NLB on the Nexus 7000:
This document was written specifically for the Nexus 7000. However, only these NX-OS platforms currently have support for NLB:
Here is some additional information in regards to NLB support:
Note: The Output Interpreter Tool (registered customers only) supports certain show commands. Use the Output Interpreter Tool in order to view an analysis of show command output.
Static ARP can be verified with this command:
show ip arp <Virtual IP>
IGMP snooping entries can be verified with this command:
show ip igmp snooping groups <multicast group> vlan <VLAN>
Static MAC address table entries can be verified with this command:
show ip igmp snooping mac-oif vlan <VLAN>
There is currently no specific troubleshooting information available for this configuration.