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:
Cisco Nexus 1000V implements a loop detection mechanism based on source and destination MAC address and will drop packets coming in on uplink ports if the source MAC is already present on a local vEthernet interface. As a result, the protocols such as Virtual Router Redundancy Protocol (VRRP), Common Address Redundancy Protocol (CARP), Hot Standby Router Protocol (HSRP), and other similar protocols would fail on virtual machines associated to Cisco Nexus 1000V.
Disabling loop detection provides a flexible way of supporting these protocols on virtual machines associated to 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 virtual machine.
Supporting the redundant routing protocols feature has the following guidelines and limitations:
Supporting Redundant Routing Protocols
Use this procedure to configure a vEthernet interface to support redundant routing protocols.
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: Fri Nov 4 02:21:24 2011 version 4.2(1)SV1(5.1) interface Vethernet5 inherit port-profile vm59 description Fedora117, Network Adapter 2 disable-loop-detection carp disable-loop-detection custom-rp dest-ip 224.0.0.12 port 2234 disable-loop-detection hsrp disable-loop-detection vrrp vmware dvport 32 dvswitch uuid "ea 5c 3b 50 cd 00 9f 55-41 a3 2d 61 84 9e 0e c4" vmware vm mac 0050.56B3.00B2 switch#
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)# vmware port-group 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: hsrp-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
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)# vmware port-group 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 |
Feature Name |
Releases |
---|---|---|
Supporting Redundant Routing Protocol |
4.2(1)SV1(5.1) |
This feature was introduced |