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 section describes how to configure a vEthernet interface and port profile to support redundant routing protocols, and includes the following topics:
•Information About Redundant Routing Protocols
•Supporting Redundant Routing Protocols
•Feature History for Supporting Redundant Routing Protocol
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:
•Disable IGMP Snooping on both Cisco Nexus 1000V and upstream switches between the servers to support most redundant routing protocols. See Enabling or Disabling IGMP Snooping Globally for the VSM.
•Disable loop detection configuration is not supported on PVLAN ports.
•Disable loop detection configuration is not supported on the port security ports.
This section includes the following topics:
•Configuring a vEthernet Interface to Support Redundant Routing Protocols
•Configuring a Port Profile to Support Redundant Routing Protocols
You can use this procedure to configure a vEthernet interface to support redundant routing protocols.
Before beginning this procedure, you must know or do the following:
•You are logged into the CLI in EXEC mode.
1. configure t
2. interface vethernet interface-number
3. disable-loop-detection {carp| hsrp | vrrp |custom-rp [src-mac-range s_mac end_mac] [dest-ip ip_address] [ip-proto no] [port port]}
4. show running-config interface vethernet interface-number
5. copy running-config startup-config
The following example shows how to configure a vEthernet interface to support VRRP, CERP, HSRP, and user defined protocols on a virtual machine:
n1000v(config)# int veth5
n1000v(config-if)# disable-loop-detection carp
n1000v(config-if)# disable-loop-detection vrrp
n1000v(config-if)# disable-loop-detection hsrp
n1000v(config-if)# disable-loop-detection custom-rp dest-ip 224.0.0.12 port 2234
n1000v(config-if)# end
n1000v# 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
n1000v#
You can 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.
Before beginning the procedure, you must know or do the following:
•You are logged in to the CLI in EXEC mode.
•You know which redundant routing protocol you want to disable.
1. configure terminal
2. port-profile name
3. switchport mode {access | trunk}
4. no shutdown
5. disable-loop-detection {carp| hsrp | vrrp |custom-rp [src-mac-range s_mac end_mac] [dest-ip ip_address] [ip-proto no] [port port]}
6. show port-profile [brief | expand-interface | usage] [name profile-name]
7. copy running-config startup-config
This example shows how to disable loop detection for the Hot Standby Router Protocol.
Example:
n1000v# config t
n1000v(config)# port-profile hsrp-1
n1000v(config-port-prof)# switchport mode trunk
n1000v(config-port-prof)# no shutdown
n1000v(config-port-prof)# disable-loop-detection hsrp
n1000v(config-port-prof)# state enabled
n1000v(config-port-prof)# vmware port-group
n1000v(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.
Example:
n1000v# config t
n1000v(config)# port-profile vrrp-1
n1000v(config-port-prof)# switchport mode trunk
n1000v(config-port-prof)# no shutdown
n1000v(config-port-prof)# disable-loop-detection vrrp
n1000v(config-port-prof)# state enabled
n1000v(config-port-prof)# vmware port-group
n1000v(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
This section provides the release history for the Redundant Routing Protocol support.
|
|
|
---|---|---|
Supporting Redundant Routing Protocol |
4.2(1)SV1(5.1) |
This feature was introduced. |