Cisco Nexus 9000 Series Switch VXLAN Routing Configuration

Configure VXLAN Routing on Cisco Nexus 9000 Series Switch

Question

An engineer must configure a VXLAN routing on a Cisco Nexus 9000 Series Switch.

The engineer requires a solution where all the leaf switches have the same gateway MAC and IP addresses.

Which configuration set accomplishes this task?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

A.

Sure, I'd be happy to help explain this question in detail!

To start, let's define some terms:

  • VXLAN: Virtual Extensible LAN, is a network overlay protocol that allows virtual networks to be extended across physical network boundaries.
  • Leaf Switch: A switch that connects end-user devices and other switches to the network.
  • Anycast Gateway: A single virtual gateway IP address that is shared by multiple switches in a VXLAN network.

The question is asking for a configuration set that will allow all the leaf switches in a VXLAN network to have the same gateway MAC and IP addresses. This can be achieved using the anycast gateway feature in the Cisco Nexus 9000 Series Switch.

Looking at the answer choices, we can see that all of them include the anycast-gateway-mac command, which sets the MAC address of the anycast gateway. The MAC address is set to AA:BB:AA:BB:AA:BB in all choices, which suggests that this is the desired value.

Option A includes the fabric forwarding mode anycast-gateway command, which enables anycast gateway mode for the VLAN interface specified. However, it does not specify which VRF (Virtual Routing and Forwarding) to use.

Option B includes the install feature-set fabric and feature-set fabric commands, but these are not required for configuring anycast gateway. The anycast gateway configuration can be done without these commands.

Option C includes the same commands as option B, but also includes the vrf member vrf-name command, which specifies the VRF to use for the VLAN interface. This is a necessary configuration step when using anycast gateway mode.

Option D includes the anycast-gateway-mac and fabric forwarding mode anycast-gateway commands, but does not specify a VRF.

Based on this analysis, the best answer choice is C:

  • NX9K(config)# install feature-set fabric
  • NX9K(config)# feature-set fabric
  • NX9K(config)# fabric forwarding anycast-gateway-mac AA:BB:AA:BB:AA:BB
  • NX9K(config)# interface VLAN-interface-name
  • NX9K(config-if)# vrf member vrf-name
  • NX9K(config-if)# fabric forwarding mode anycast-gateway

This configuration sets the MAC address of the anycast gateway, enables anycast gateway mode for the VLAN interface, specifies the VRF to use for the VLAN interface, and enables anycast gateway mode for the VRF.