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 chapter contains the following sections:
The Cisco Nexus 1000V implements a loop detection mechanism that is based on source and destination MAC addresses and drops packets that are coming in on uplink ports if the source MAC address is already present on a local vEthernet interface. As a result, such protocols as the Virtual Router Redundancy Protocol (VRRP), the Common Address Redundancy Protocol (CARP), the Hot Standby Router Protocol (HSRP), and other similar protocols fail on Virtual Machines (VMs) that are associated to the Cisco Nexus 1000V.
Disabling loop detection provides a flexible way of supporting these protocols on VMs that are associated to the Cisco Nexus 1000V. By disabling the loop detection mechanism, you can configure any combination of the above mentioned protocols on a port profile or a vEthernet interface. As a result, you can run multiple protocols on the same VM.
Supporting the redundant routing protocols feature has the following configuration guidelines and limitations:
Supporting Redundant Routing Protocols
Use this procedure to configure a vEthernet interface to support redundant routing protocols.
You are logged in to the CLI in EXEC mode.
You know which redundant routing protocol you want to disable.
VM interfaces that carry such traffic should have "spoofing enabled" in the HyperV VM settings, if the VM sends traffic using multiple MAC addresses. For information about enabling MAC spoofing, see Enabling MAC Spoofing.
The following example shows how to configure a vEthernet interface to support VRRP, CERP, HSRP, and user defined protocols on a virtual machine:
switch# configure terminal switch(config)# int veth5 switch(config-if)# disable-loop-detection carp switch(config-if)# disable-loop-detection vrrp switch(config-if)# disable-loop-detection hsrp switch(config-if)# disable-loop-detection custom-rp dest-ip 224.0.0.12 port 2234 switch(config-if)# end switch# show running-config interface vethernet 5 !Command: show running-config interface Vethernet5 !Time: Wed Feb 20 16:21:40 2013 version 5.2(1)SM1(5.1) interface Vethernet5 no mac auto-static-learn switch (config-if)#
Use this procedure to configure a port profile to support redundant routing protocols. Use this procedure when the master in a master/slave relationship has lost connectivity, the slave has taken over the master role, and the original master is attempting to overtake the master role.
Note | If you configure a vEthernet Interface and a port profile to run multiple protocols on the same virtual machine, then the configuration on the vEthernet Interface overrides the configuration on the port profile. |
This example shows how to disable loop detection for the Hot Standby Router Protocol:
switch# configure terminal switch(config)# port-profile hsrp-1 switch(config-port-prof)# switchport mode trunk switch(config-port-prof)# no shutdown switch(config-port-prof)# disable-loop-detection hsrp switch(config-port-prof)# state enabled switch(config-port-prof)# show port-profile name hsrp-1 port-profile hsrp-1 type: Vethernet description: status: enabled max-ports: 32 min-ports: 1 inherit: config attributes: switchport mode trunk disable-loop-detection hsrp no shutdown evaluated config attributes: switchport mode trunk disable-loop-detection hsrp no shutdown assigned interfaces: port-group: system vlans: none capability l3control: no capability iscsi-multipath: no capability vxlan: no capability l3-vn-service: no port-profile role: none port-binding: static switch(config-port-prof)#
This example shows how to disable loop detection for the Virtual Router Redundancy Protocol:
n1000v# configure terminal switch(config)# port-profile vrrp-1 switch(config-port-prof)# switchport mode trunk switch(config-port-prof)# no shutdown switch(config-port-prof)# disable-loop-detection vrrp switch(config-port-prof)# state enabled switch(config-port-prof)# show port-profile name vrrp-1 port-profile vrrp-1 type: Vethernet description: status: enabled max-ports: 32 min-ports: 1 inherit: config attributes: switchport mode trunk disable-loop-detection vrrp no shutdown evaluated config attributes: switchport mode trunk disable-loop-detection vrrp no shutdown assigned interfaces: port-group: vrrp-1 system vlans: none capability l3control: no capability iscsi-multipath: no capability vxlan: no capability l3-vservice: no port-profile role: none port-binding: static
Feature Name |
Releases |
Feature Information |
---|---|---|
Supporting Redundant Routing Protocol |
5.2(1)SM1(5.1) |
This feature was introduced |