Nexus 56128P Switch

Cisco Nexus 56128P Switch , Nexus 2000 Series Fabric Extenders, Nexus 5548P Switch , Nexus 5548UP Switch , Nexus 5596T Switch , Nexus 5596UP Switch , Nexus 5624Q Switch , Nexus 5648Q Switch , Nexus 5672UP Switch , Nexus 5672UP-16G Switch , Nexus 5696Q Switch Configuration Guide

  • Hello! I am an AI chatbot trained to assist you with the Cisco Nexus 56128P Switch Configuration Guide. I’ve already reviewed the document and can help you find the information you need or explain it in simple terms. Just ask your questions, and providing more details will help me assist you more effectively!
Cisco Nexus 5500 Series NX-OS Layer 2 Switching Configuration Guide,
Release 7.x
First Published: 2014-01-15
Last Modified: 2020-03-19
Americas Headquarters
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 527-0883
THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS,
INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS.
THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT SHIPPED WITH
THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE OR LIMITED WARRANTY,
CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY.
The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCB's public domain version of
the UNIX operating system. All rights reserved. Copyright ©1981, Regents of the University of California.
NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED “AS IS" WITH ALL FAULTS.
CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THOSE OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING, USAGE, OR TRADE PRACTICE.
IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUT
LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS SUPPLIERS
HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network
topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional
and coincidental.
All printed copies and duplicate soft copies of this document are considered uncontrolled. See the current online version for the latest version.
Cisco has more than 200 offices worldwide. Addresses and phone numbers are listed on the Cisco website at www.cisco.com/go/offices.
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL:
https://www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship
between Cisco and any other company. (1721R)
©2016–2020 Cisco Systems, Inc. All rights reserved.
CONTENTS
Preface xiii
PREFACE
Preface xiii
Audience xiii
Document Conventions xiii
Related Documentation xiv
Documentation Feedback xv
Communications, Services, and Additional Information xv
New and Changed Information xvii
Overview 1
CHAPTER 1
Layer 2 Ethernet Switching Overview 1
VLANs 1
Private VLANs 2
Spanning Tree 2
STP Overview 2
Rapid PVST+ 3
MST 3
STP Extensions 3
Configuring VLANs 5
CHAPTER 2
Finding Feature Information 5
Information About VLANs 5
Understanding VLANs 5
Understanding VLAN Ranges 6
Creating, Deleting, and Modifying VLANs 7
Cisco Nexus 5500 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
iii
About the VLAN Trunking Protocol 8
Guidelines and Limitations for VTP 8
Configuring a VLAN 9
Creating and Deleting a VLAN 9
Configuring VLAN Long-Name 10
Changing the Range of Reserved VLANs 12
Configuring a VLAN 13
Adding Ports to a VLAN 15
Configuring VTP 15
Verifying the VLAN Configuration 17
Feature History for Configuring VLANs 17
Configuring Private VLANs 19
CHAPTER 3
Information About Private VLANs 19
Primary and Secondary VLANs in Private VLANs 20
Private VLAN Ports 21
Primary, Isolated, and Community Private VLANs 22
Associating Primary and Secondary VLANs 23
Private VLAN Promiscuous Trunks 23
Private VLAN Isolated Trunks 24
Broadcast Traffic in Private VLANs 24
Private VLAN Port Isolation 24
Guidelines and Limitations for Private VLANs 24
Configuring a Private VLAN 25
Enabling Private VLANs 25
Configuring a VLAN as a Private VLAN 26
Associating Secondary VLANs with a Primary Private VLAN 27
Configuring an Interface as a Private VLAN Host Port 28
Configuring an Interface as a Private VLAN Promiscuous Port 29
Configuring a Promiscuous Trunk Port 30
Configuring an Isolated Trunk Port 32
Configuring Private VLANs on FEX Trunk Ports 33
Configuring the Allowed VLANs for PVLAN Trunking Ports 34
Configuring Native 802.1Q VLANs on Private VLANs 35
Cisco Nexus 5500 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
iv
Contents
Verifying the Private VLAN Configuration 36
Configuring Rapid PVST+ 37
CHAPTER 4
Information About Rapid PVST+ 37
Understanding STP 37
STP Overview 37
Understanding How a Topology is Created 38
Understanding the Bridge ID 38
Understanding BPDUs 40
Election of the Root Bridge 41
Creating the Spanning Tree Topology 41
Understanding Rapid PVST+ 41
Rapid PVST+ Overview 41
Rapid PVST+ BPDUs 43
Proposal and Agreement Handshake 43
Protocol Timers 44
Port Roles 45
Port States 46
Synchronization of Port Roles 48
Spanning-Tree Dispute Mechanism 49
Port Cost 50
Port Priority 51
Rapid PVST+ and IEEE 802.1Q Trunks 51
Rapid PVST+ Interoperation with Legacy 802.1D STP 51
Rapid PVST+ Interoperation with 802.1s MST 52
Configuring Rapid PVST+ 52
Enabling Rapid PVST+ 52
Enabling Rapid PVST+ per VLAN 53
Configuring the Root Bridge ID 54
Configuring a Secondary Root Bridge 55
Configuring the Rapid PVST+ Port Priority 56
Configuring the Rapid PVST+ Path-Cost Method and Port Cost 57
Configuring the Rapid PVST+ Bridge Priority of a VLAN 58
Configuring the Rapid PVST+ Hello Time for a VLAN 59
Cisco Nexus 5500 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
v
Contents
Configuring the Rapid PVST+ Forward Delay Time for a VLAN 59
Configuring the Rapid PVST+ Maximum Age Time for a VLAN 60
Specifying the Link Type 60
Restarting the Protocol 61
Verifying the Rapid PVST+ Configuration 61
Configuring Multiple Spanning Tree 63
CHAPTER 5
Information About MST 63
MST Overview 63
MST Regions 64
MST BPDUs 64
MST Configuration Information 65
IST, CIST, and CST 65
IST, CIST, and CST Overview 65
Spanning Tree Operation Within an MST Region 66
Spanning Tree Operations Between MST Regions 66
MST Terminology 67
Hop Count 68
Boundary Ports 68
Spanning-Tree Dispute Mechanism 69
Port Cost and Port Priority 69
Interoperability with IEEE 802.1D 70
Interoperability with Rapid PVST+: Understanding PVST Simulation 70
Configuring MST 71
MST Configuration Guidelines 71
Enabling MST 71
Entering MST Configuration Mode 72
Specifying the MST Name 73
Specifying the MST Configuration Revision Number 73
Specifying the Configuration on an MST Region 74
Mapping and Unmapping VLANs to MST Instances 76
Mapping Secondary VLANs to Same MSTI as Primary VLANs for Private VLANs 77
Configuring the Root Bridge 77
Configuring a Secondary Root Bridge 78
Cisco Nexus 5500 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
vi
Contents
Configuring the Port Priority 79
Configuring the Port Cost 80
Configuring the Switch Priority 81
Configuring the Hello Time 82
Configuring the Forwarding-Delay Time 83
Configuring the Maximum-Aging Time 83
Configuring the Maximum-Hop Count 84
Configuring PVST Simulation Globally 84
Configuring PVST Simulation Per Port 85
Specifying the Link Type 86
Restarting the Protocol 87
Verifying the MST Configuration 87
Configuring STP Extensions 89
CHAPTER 6
Overview 89
Information About STP Extensions 89
Understanding STP Port Types 89
Understanding Bridge Assurance 90
Understanding BPDU Guard 90
Understanding BPDU Filtering 91
Understanding Loop Guard 92
Understanding Root Guard 92
Configuring STP Extensions 93
STP Extensions Configuration Guidelines 93
Configuring Spanning Tree Port Types Globally 93
Configuring Spanning Tree Edge Ports on Specified Interfaces 94
Configuring Spanning Tree Network Ports on Specified Interfaces 96
Enabling BPDU Guard Globally 97
Enabling BPDU Guard on Specified Interfaces 97
Enabling BPDU Filtering Globally 98
Enabling BPDU Filtering on Specified Interfaces 99
Enabling Loop Guard Globally 100
Enabling Loop Guard or Root Guard on Specified Interfaces 101
Configuring FEX Port Spanning Tree BPDU Transmit Interval 102
Cisco Nexus 5500 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
vii
Contents
Verifying the STP Extension Configuration 103
Configuring Flex Links 105
CHAPTER 7
Information About Flex Links 105
Guidelines and Limitations for Flex Link 106
Default Settings for Flex Link 107
Configuring Flex Links 107
Configuring Flex Link Preemption 109
Verifying Flex Link Configuration 111
Flex Link Configuration Examples 111
Configuring LLDP 115
CHAPTER 8
Configuring LLDP 115
Configuring Interface LLDP 116
Configuring MAC Address Tables 121
CHAPTER 9
Information About MAC Addresses 121
Configuring MAC Addresses 121
Configuring Static MAC Addresses 121
Configuring the Aging Time for the MAC Table 122
Configuring MAC Move Loop Detection 123
Clearing Dynamic Addresses from the MAC Table 124
Verifying the MAC Address Configuration 124
Configuring IGMP Snooping 127
CHAPTER 10
Information About IGMP Snooping 127
IGMPv1 and IGMPv2 128
IGMPv3 128
IGMP Snooping Querier 129
IGMP Forwarding 129
Guidelines and Limitations for IGMP Snooping 129
Configuring IGMP Snooping Parameters 130
Verifying the IGMP Snooping Configuration 133
Cisco Nexus 5500 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
viii
Contents
Configuring MVR 135
CHAPTER 11
Information About MVR 135
MVR Overview 135
MVR Interoperation with Other Features 136
Licensing Requirements for MVR 136
Guidelines and Limitations for MVR 136
Default MVR Settings 137
Configuring MVR 137
Configuring MVR Global Parameters 137
Configuring MVR Interfaces 139
Verifying the MVR Configuration 140
Configuring VTP V3 145
CHAPTER 12
Configuring VTP V3 145
VTP V3 Overview 145
VTP V3 Modes 145
VTP V3 Pruning 146
VTP V3 Per Interface 146
VTP V3 Pruning and Spanning Tree Protocol 147
Configuring VTP V3 147
Configuring VTP V3 Pruning 150
Configuring Traffic Storm Control 151
CHAPTER 13
Information About Traffic Storm Control 151
Guidelines and Limitations for Traffic Storm Control 152
Configuring Traffic Storm Control 153
Verifying the Traffic Storm Control Configuration 154
Traffic Storm Control Example Configuration 154
Default Settings for Traffic Storm Control 154
Configuring the Fabric Extender 157
CHAPTER 14
Information About the Cisco Nexus 2000 Series Fabric Extender 157
Fabric Extender Terminology 158
Cisco Nexus 5500 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
ix
Contents
Fabric Extender Features 159
Layer 2 Host Interfaces 159
Host Port Channel 160
VLANs and Private VLANs 160
Virtual Port Channels 161
Fibre Channel over Ethernet Support 162
Protocol Offload 162
Quality of Service 162
Access Control Lists 163
IGMP Snooping 163
Switched Port Analyzer 163
Fabric Interface Features 164
Oversubscription 164
Management Model 166
Forwarding Model 166
Connection Model 167
Static Pinning Fabric Interface Connection 167
Port Channel Fabric Interface Connection 169
Port Numbering Convention 169
Fabric Extender Image Management 170
Fabric Extender Hardware 170
Chassis 170
Ethernet Interfaces 170
Speed and Duplex Mode 172
Example: Configuring the Interface Speed Parameters 174
Disabling Autonegotiation 175
Associating a Fabric Extender to a Fabric Interface 175
Associating a Fabric Extender to an Ethernet Interface 176
Associating a Fabric Extender to a Port Channel 177
Disassociating a Fabric Extender from an Interface 179
Configuring Fabric Extender Global Features 179
Enabling the Fabric Extender Locator LED 182
Redistributing the Links 182
Changing the Number of Links 183
Cisco Nexus 5500 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
x
Contents
Maintaining the Pinning Order 183
Redistributing Host Interfaces 184
Verifying the Fabric Extender Configuration 184
Verifying the Chassis Management Information 187
Configuring the Cisco Nexus N2248TP-E Fabric Extender 192
Configuring the Shared Buffer 193
Configuring the Queue Limit at the Global Level 194
Configuring the Queue Limit at the Port Level 195
Configuring the Uplink Distance 196
Configuring the Cisco Nexus N2248PQ Fabric Extender 196
Configuring the Shared Buffer 197
Configuring the Uplink Distance 198
Configuring Slow Drain 198
Load-balancing queues at the FEX global level 199
Configuring VM-FEX 201
CHAPTER 15
Information About VM-FEX 201
VM-FEX Overview 201
VM-FEX Components 201
VM-FEX Terminology 202
Licensing Requirements for VM-FEX 203
Default Settings for VM-FEX 203
Configuring VM-FEX 204
Overview of the VM-FEX Configuration Steps 204
Enabling Features Required for VM-FEX 205
Configuring the Fixed Static Interfaces 206
Configuring a Port Profile for the Dynamic Interfaces 209
Configuring an SVS Connection to the vCenter Server 210
Activating an SVS Connection to the vCenter Server 212
Verifying the VM-FEX Configuration 213
Verifying the Status of the Virtual Interfaces 213
Verifying the Connection to the vCenter Server 215
Cisco Nexus 5500 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
xi
Contents
Cisco Nexus 5500 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
xii
Contents
Preface
The preface contains the following sections:
•Preface, on page xiii
Preface
This preface describes the audience, organization, and conventions of the Book Title. It also provides
information on how to obtain related documentation.
This chapter includes the following topics:
Audience
This publication is for experienced network administrators who configure and maintain Cisco NX-OS on
Cisco Nexus 5000 Series Platform switches.
Document Conventions
• As part of our constant endeavor to remodel our documents to meet our customers' requirements, we
have modified the manner in which we document configuration tasks. As a result of this, you may find
a deviation in the style used to describe these tasks, with the newly included sections of the document
following the new format.
• The Guidelines and Limitations section contains general guidelines and limitations that are applicable
to all the features, and the feature-specific guidelines and limitations that are applicable only to the
corresponding feature.
Note
Command descriptions use the following conventions:
DescriptionConvention
Bold text indicates the commands and keywords that you enter literally
as shown.
bold
Italic text indicates arguments for which the user supplies the values.Italic
Cisco Nexus 5500 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
xiii
DescriptionConvention
Square brackets enclose an optional element (keyword or argument).[x]
Square brackets enclosing keywords or arguments separated by a vertical
bar indicate an optional choice.
[x | y]
Braces enclosing keywords or arguments separated by a vertical bar
indicate a required choice.
{x | y}
Nested set of square brackets or braces indicate optional or required
choices within optional or required elements. Braces and a vertical bar
within square brackets indicate a required choice within an optional
element.
[x {y | z}]
Indicates a variable for which you supply values, in context where italics
cannot be used.
variable
A nonquoted set of characters. Do not use quotation marks around the
string or the string will include the quotation marks.
string
Examples use the following conventions:
DescriptionConvention
Terminal sessions and information the switch displays are in screen font.screen font
Information you must enter is in boldface screen font.boldface screen font
Arguments for which you supply values are in italic screen font.italic screen font
Nonprinting characters, such as passwords, are in angle brackets.< >
Default responses to system prompts are in square brackets.[ ]
An exclamation point (!) or a pound sign (#) at the beginning of a line
of code indicates a comment line.
!, #
This document uses the following conventions:
Means reader take note. Notes contain helpful suggestions or references to material not covered in the manual.
Note
Means reader be careful. In this situation, you might do something that could result in equipment damage or
loss of data.
Caution
Related Documentation
Documentation for Cisco Nexus 5000 Series Switches is available at:
• Configuration Guides
Cisco Nexus 5500 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
xiv
Preface
Related Documentation
http://www.cisco.com/c/en/us/support/switches/nexus-5000-series-switches/
products-installation-and-configuration-guides-list.html
• Command Reference Guides
http://www.cisco.com/c/en/us/support/switches/nexus-5000-series-switches/
products-command-reference-list.html
• Release Notes
http://www.cisco.com/c/en/us/support/switches/nexus-5000-series-switches/products-release-notes-list.html
• Install and Upgrade Guides
http://www.cisco.com/c/en/us/support/switches/nexus-5000-series-switches/
products-installation-guides-list.html
• Licensing Guide
http://www.cisco.com/c/en/us/support/switches/nexus-5000-series-switches/
products-licensing-information-listing.html
Documentation for Cisco Nexus 5000 Series Switches and Cisco Nexus 2000 Series Fabric Extenders is
available at:
http://www.cisco.com/c/en/us/support/switches/nexus-2000-series-fabric-extenders/
products-installation-and-configuration-guides-list.html
Documentation Feedback
To provide technical feedback on this document, or to report an error or omission, please send your comments
to [email protected]. We appreciate your feedback.
Communications, Services, and Additional Information
• To receive timely, relevant information from Cisco, sign up at Cisco Profile Manager.
• To get the business impact you’re looking for with the technologies that matter, visit Cisco Services.
• To submit a service request, visit Cisco Support.
• To discover and browse secure, validated enterprise-class apps, products, solutions and services, visit
Cisco Marketplace.
• To obtain general networking, training, and certification titles, visit Cisco Press.
• To find warranty information for a specific product or product family, access Cisco Warranty Finder.
Cisco Bug Search Tool
Cisco Bug Search Tool (BST) is a web-based tool that acts as a gateway to the Cisco bug tracking system
that maintains a comprehensive list of defects and vulnerabilities in Cisco products and software. BST provides
you with detailed defect information about your products and software.
Cisco Nexus 5500 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
xv
Preface
Documentation Feedback
Cisco Nexus 5500 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
xvi
Preface
Communications, Services, and Additional Information
New and Changed Information
The table below summarizes the new and changed features for this document and shows the releases in which
each feature is supported. Your software release might not support all the features in this document. For the
latest caveats and feature information, see the Bug Search Tool at https://tools.cisco.com/bugsearch/ and the
release notes for your software release.
The new and changed information topic is added in the configuration guide from the Cisco Nexus Release
7.3(0)N1(1) onwards.
Note
Chapter/Topic Where
Documented
New/Enhanced
Features
Platform SupportedCisco NX-OS Release
Number
Configuring VLANs, on page
5
VLAN Long Name
support
Cisco Nexus 5500,
5600, and 6000 Series
Switches
7.3(0)N1(1)
Cisco Nexus 5500 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
xvii
Cisco Nexus 5500 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
xviii
New and Changed Information
New and Changed Information
CHAPTER 1
Overview
This chapter contains the following sections:
•Layer 2 Ethernet Switching Overview, on page 1
•VLANs, on page 1
•Private VLANs, on page 2
•Spanning Tree , on page 2
Layer 2 Ethernet Switching Overview
The device supports simultaneous, parallel connections between Layer 2 Ethernet segments. Switched
connections between Ethernet segments last only for the duration of the packet. New connections can be made
between different segments for the next packet.
The device assigns a domain (for example, a server) to each device to solve traffic congestion caused by
high-bandwidth devices and large number of users.
Because collisions cause significant congestion in Ethernet networks, an effective solution is full-duplex
communication. Typically, 10/100-Mbps Ethernet operates in half-duplex mode, which means that stations
can either receive or transmit. In full-duplex mode, which is configurable on these interfaces, two stations
can transmit and receive at the same time. When packets can flow in both directions simultaneously, the
effective Ethernet bandwidth doubles. 1/10-Gigabit Ethernet operates in full-duplex only.
VLANs
A VLAN is a switched network that is logically segmented by function, project team, or application, without
regard to the physical locations of the users. VLANs have the same attributes as physical LANs, but you can
group end stations even if they are not physically located on the same LAN segment.
Any switch port can belong to a VLAN, and unicast, broadcast, and multicast packets are forwarded and
flooded only to end stations in that VLAN. Each VLAN is considered as a logical network, and packets
destined for stations that do not belong to the VLAN must be forwarded through a bridge or a router.
All ports are assigned to the default VLAN (VLAN1) when the device comes up.
The devices support 4094 VLANs in accordance with the IEEE 802.1Q standard. These VLANs are organized
into several ranges, and you use each range slightly differently. Some of these VLANs are reserved for internal
use by the device and are not available for configuration.
Cisco Nexus 5500 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
1
Inter-Switch Link (ISL) trunking is not supported.
Note
Private VLANs
Private VLANs provide traffic separation and security at the Layer 2 level.
A private VLAN is one or more pairs of a primary VLAN and a secondary VLAN, all with the same primary
VLAN. The two types of secondary VLANs are isolated and community VLANs. Hosts on isolated VLANs
communicate only with hosts in the primary VLAN. Hosts in a community VLAN can communicate only
among themselves and with hosts in the primary VLAN but not with hosts in isolated VLANs or in other
community VLANs.
Regardless of the combination of isolated and community secondary VLANs, all interfaces within the primary
VLAN comprise one Layer 2 domain, and therefore, require only one IP subnet.
Spanning Tree
This section discusses the implementation of the Spanning Tree Protocol (STP). Spanning tree is used to refer
to IEEE 802.1w and IEEE 802.1s. When the IEEE 802.1D Spanning Tree Protocol is referred to in the
publication, 802.1D is stated specifically.
STP Overview
STP provides a loop-free network at the Layer 2 level. Layer 2 LAN ports send and receive STP frames,
which are called Bridge Protocol Data Units (BPDUs), at regular intervals. Network devices do not forward
these frames but use the frames to construct a loop-free path.
802.1D is the original standard for STP, and many improvements have enhanced the basic loop-free STP.
You can create a separate loop-free path for each VLAN, which is named Per VLAN Spanning Tree (PVST+).
Additionally, the entire standard was reworked to make the loop-free convergence process faster to keep up
with the faster equipment. This STP standard with faster convergence is the 802.1w standard, which is known
as Rapid Spanning Tree (RSTP).
Finally, the 802.1s standard, Multiple Spanning Trees (MST), allows you to map multiple VLANs into a
single spanning tree instance. Each instance runs an independent spanning tree topology.
Although the software can interoperate with legacy 802.1D systems, the device runs Rapid PVST+ and MST.
You can use either Rapid PVST+ or MST in a given VDC; you cannot mix both in one VDC. Rapid PVST+
is the default STP protocol.
STP L2 loop occurs when a Cisco Nexus 5000 switch in a vPC receives a frame with MACSEC Ethertype.
The switch in the vPC blocks one of its ports and the packet is forwarded even though there is an STP block
and thus creating a loop. This is a known limitation. To resolve this, troubleshoot the STP topology; identify
the STP port on the blocking switch; and perform a shut/no shut on the port. This helps to break the loop.
Cisco NX-OS uses the extended system ID and MAC address reduction; you cannot disable these features.
Note
Cisco Nexus 5500 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
2
Overview
Private VLANs
/