Enabling Layer 3 Forwarding To The Gateway Mac Address Of The Vpc; Suspending Orphan Ports On A Secondary Switch In A Vpc Topology - Cisco Nexus 5000 Series Configuration Manual

Nx-os layer 2 switching configuration guide, release 5.0(3)n1(1)
Hide thumbs Also See for Nexus 5000 Series:
Table of Contents

Advertisement

Configuring Virtual Port Channels

Enabling Layer 3 Forwarding to the Gateway MAC Address of the vPC

Beginning with Cisco NX-OS Release 5.0(3)N1(1), this feature applies to Cisco Nexus 5500 Plaform switches.
The vPC peer-gateway feature allows a vPC switch to act as the active gateway for packets that are addressed
to the router MAC address of the vPC peer. You can enable local forwarding without the need to cross the
vPC peer-link. In this scenario, the feature optimizes use of the peer-link and avoids potential traffic loss.
You can enable Layer 3 forwarding for packets destined to the gateway MAC address of the virtual Port
Channel (vPC).
You must configure this feature on both vPC peer switches.
Note
SUMMARY STEPS
1. switch# configure terminal
2. switch(config)# vpc domain domain-id
3. switch(config-vpc-domain))# peer-gateway range
DETAILED STEPS
Command or Action
Step 1
switch# configure terminal
Step 2
switch(config)# vpc domain domain-id
Step 3
switch(config-vpc-domain))# peer-gateway
range
This example shows how to enable the vPC peer gateway:
switch(config)# vpc domain 20
switch(config-vpc-domain)# peer-gateway
switch(config-vpc-domain)#

Suspending Orphan Ports on a Secondary Switch in a vPC Topology

You can suspend a non-virtual port channel (vPC) port when a vPC secondary peer link goes down. A non-vPC
port, also known as an orphaned port, is a port that is not part of a vPC.
Before You Begin
Ensure that the vPC feature is enabled.
Enabling Layer 3 Forwarding to the Gateway MAC Address of the vPC
Purpose
Enters configuration mode.
Creates a vPC domain on the switch if it does not already exist,
and enters the vpc-domain configuration mode.
Enables Layer 3 forwarding for packets destined to the gateway
MAC address of the virtual Port Channel (vPC).
Cisco Nexus 5000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)N1(1)
127

Advertisement

Table of Contents
loading

Table of Contents