advertisement
Preface
The Preface contains the following sections:
•
•
•
Related Documentation for Cisco Nexus 5600 Series NX-OS Software, page xvii
•
Documentation Feedback, page xviii
•
Obtaining Documentation and Submitting a Service Request, page xviii
Audience
This publication is for network administrators who configure and maintain Cisco Nexus devices and Cisco
Nexus 2000 Series Fabric Extenders.
Document Conventions
Note
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.
Command descriptions use the following conventions:
Convention bold
Description
Bold text indicates the commands and keywords that you enter literally as shown.
Italic
Italic text indicates arguments for which the user supplies the values.
[x] Square brackets enclose an optional element (keyword or argument).
Cisco Nexus 5600 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x xv OL-31636-01
Preface
Document Conventions
Convention
[x | y]
{x | y}
[x {y | z}] variable string
Description
Square brackets enclosing keywords or arguments separated by a vertical bar indicate an optional choice.
Braces enclosing keywords or arguments separated by a vertical bar indicate a required choice.
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.
Indicates a variable for which you supply values, in context where italics cannot be used.
A nonquoted set of characters. Do not use quotation marks around the string or the string will include the quotation marks.
Examples use the following conventions:
Convention
screen font
Description
Terminal sessions and information the switch displays are in screen font.
boldface screen font
italic screen font
Information you must enter is in boldface screen font.
Arguments for which you supply values are in 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:
Note
Means reader take note. Notes contain helpful suggestions or references to material not covered in the manual.
Caution
Means reader be careful. In this situation, you might do something that could result in equipment damage or loss of data.
xvi
Cisco Nexus 5600 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
OL-31636-01
Preface
Related Documentation for Cisco Nexus 5600 Series NX-OS Software
Related Documentation for Cisco Nexus 5600 Series NX-OS
Software
The entire Cisco NX-OS 5600 Series documentation set is available at the following URL: http://www.cisco.com/c/en/us/support/switches/nexus-5000-series-switches/ tsd-products-support-series-home.html
Release Notes
The release notes are available at the following URL: http://www.cisco.com/c/en/us/support/switches/nexus-5000-series-switches/products-release-notes-list.html
Configuration Guides
These guides are available at the following URL: http://www.cisco.com/c/en/us/support/switches/nexus-5000-series-switches/ products-installation-and-configuration-guides-list.html
The documents in this category include:
• Cisco Nexus 5600 Series NX-OS Adapter-FEX Configuration Guide
• Cisco Nexus 5600 Series NX-OS FabricPath Configuration Guide
• Cisco Nexus 5600 Series NX-OS Fibre Channel over Ethernet Configuration Guide
• Cisco Nexus 5600 Series NX-OS Fundamentals Configuration Guide
• Cisco Nexus 5600 Series NX-OS Interfaces Configuration Guide
• Cisco Nexus 5600 Series NX-OS Layer 2 Switching Configuration Guide
• Cisco Nexus 5600 Series NX-OS Multicast Routing Configuration Guide
• Cisco Nexus 5600 Series NX-OS Quality of Service Configuration Guide
• Cisco Nexus 5600 Series NX-OS SAN Switching Configuration Guide
• Cisco Nexus 5600 Series NX-OS Security Configuration Guide
• Cisco Nexus 5600 Series NX-OS System Management Configuration Guide
• Cisco Nexus 5600 Series NX-OS Unicast Routing Configuration Guide
Licensing Guide
The License and Copyright Information for Cisco NX-OS Software is available at http://www.cisco.com/en/
US/docs/switches/datacenter/sw/4_0/nx-os/license_agreement/nx-ossw_lisns.html
.
Command References
These guides are available at the following URL: http://www.cisco.com/c/en/us/support/switches/nexus-5000-series-switches/ products-command-reference-list.html
Cisco Nexus 5600 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x xvii OL-31636-01
Preface
Documentation Feedback
The documents in this category include:
• Cisco Nexus 5600 Series NX-OS Fabric Extender Command Reference
• Cisco Nexus 5600 Series NX-OS FabricPath Command Reference
• Cisco Nexus 5600 Series NX-OS Fibre Channel Command Reference
• Cisco Nexus 5600 Series NX-OS Fundamentals Command Reference
• Cisco Nexus 5600 Series NX-OS Interfaces Command Reference
• Cisco Nexus 5600 Series NX-OS Layer 2 Interfaces Command Reference
• Cisco Nexus 5600 Series NX-OS Multicast Routing Command Reference
• Cisco Nexus 5600 Series NX-OS QoS Command Reference
• Cisco Nexus 5600 Series NX-OS Security Command Reference
• Cisco Nexus 5600 Series NX-OS System Management Command Reference
• Cisco Nexus 5600 Series NX-OS TrustSec Command Reference
• Cisco Nexus 5600 Series NX-OS Unicast Routing Command Reference
• Cisco Nexus 5600 Series NX-OS Virtual Port Channel Command Reference
Error and System Messages
The Cisco Nexus 5600 Series NX-OS System Message Guide is available at http://www.cisco.com/en/US/docs/ switches/datacenter/nexus5500/sw/system_messages/reference/sl_nxos_book.html
.
Troubleshooting Guide
The Cisco Nexus 5600 Series NX-OS Troubleshooting Guide is available at http://www.cisco.com/c/en/us/ support/switches/nexus-5000-series-switches/products-troubleshooting-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.
Obtaining Documentation and Submitting a Service Request
For information on obtaining documentation, using the Cisco Bug Search Tool (BST), submitting a service request, and gathering additional information, see What's New in Cisco Product Documentation .
To receive new and revised Cisco technical content directly to your desktop, you can subscribe to the What's
New in Cisco Product Documentation RSS feed . RSS feeds are a free service.
xviii
Cisco Nexus 5600 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
OL-31636-01
advertisement
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Related manuals
advertisement
Table of contents
- 1 Cisco Nexus 5600 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
- 3 Contents
- 15 Preface
- 15 Audience
- 15 Document Conventions
- 17 Related Documentation for Cisco Nexus 5600 Series NX-OS Software
- 18 Documentation Feedback
- 18 Obtaining Documentation and Submitting a Service Request
- 19 New and Changed Information
- 19 New and Changed Information
- 21 Overview
- 21 Layer 2 Ethernet Switching Overview
- 21 VLANs
- 22 Private VLANs
- 22 Spanning Tree
- 22 STP Overview
- 23 Rapid PVST+
- 23 MST
- 23 STP Extensions
- 25 Configuring Ethernet Interfaces
- 25 Information About Ethernet Interfaces
- 25 Interface Command
- 26 Information About Unified Ports
- 26 Guidelines and Limitations for Unified Ports
- 27 Unidirectional Link Detection Parameter
- 28 Default UDLD Configuration
- 28 UDLD Aggressive and Nonaggressive Modes
- 29 Interface Speed
- 29 Cisco Discovery Protocol
- 29 Default CDP Configuration
- 29 Error-Disabled State
- 30 About Port Profiles
- 31 Guidelines and Limitations for Port Profiles
- 31 Debounce Timer Parameters
- 32 MTU Configuration
- 32 Configuring Ethernet Interfaces
- 32 Configuring a Layer 3 Interface on a Cisco Nexus Device
- 33 Configuring Unified Ports
- 35 Configuring the UDLD Mode
- 36 Configuring Interface Speed
- 36 Disabling Link Negotiation
- 37 Configuring the CDP Characteristics
- 38 Enabling or Disabling CDP
- 39 Enabling the Error-Disabled Detection
- 40 Enabling the Error-Disabled Recovery
- 40 Configuring the Error-Disabled Recovery Interval
- 41 Port Profiles
- 41 Creating a Port Profile
- 42 Modifying a Port Profile
- 43 Enabling a Specific Port Profile
- 44 Inheriting a Port Profile
- 46 Removing an Inherited Port Profile
- 47 Assigning a Port Profile to a Range of Interfaces
- 47 Removing a Port Profile from a Range of Interfaces
- 48 Configuration Examples for Port Profiles
- 49 Configuring the Debounce Timer
- 50 Configuring the Description Parameter
- 50 Disabling and Restarting Ethernet Interfaces
- 51 Displaying Interface Information
- 53 Default Physical Ethernet Settings
- 55 Configuring VLANs
- 55 Information About VLANs
- 55 Understanding VLANs
- 56 Understanding VLAN Ranges
- 58 Creating, Deleting, and Modifying VLANs
- 58 About the VLAN Trunking Protocol
- 59 Guidelines and Limitations for VTP
- 59 About VLAN Translation
- 62 Guidelines and Limitations for Configuring VLANs
- 64 Configuring a VLAN
- 64 Creating and Deleting a VLAN
- 65 Configuring VLAN Long-Name
- 66 Changing the Range of Reserved VLANs
- 68 Configuring a VLAN
- 69 Adding Ports to a VLAN
- 69 Configuring VTP
- 71 Configuring VLAN Translation on a Trunk Port
- 72 Configuring VLAN Translation with a FEX
- 74 Verifying the VLAN Configuration
- 74 Feature History for Configuring VLANs
- 75 Configuring Private VLANs
- 75 Information About Private VLANs
- 76 Primary and Secondary VLANs in Private VLANs
- 76 Private VLAN Ports
- 77 Primary, Isolated, and Community Private VLANs
- 78 Associating Primary and Secondary VLANs
- 79 Private VLAN Promiscuous Trunks
- 79 Private VLAN Isolated Trunks
- 80 Broadcast Traffic in Private VLANs
- 80 Private VLAN Port Isolation
- 80 Guidelines and Limitations for Private VLANs
- 81 Configuring a Private VLAN
- 81 Enabling Private VLANs
- 81 Configuring a VLAN as a Private VLAN
- 82 Associating Secondary VLANs with a Primary Private VLAN
- 83 Configuring an Interface as a Private VLAN Host Port
- 84 Configuring an Interface as a Private VLAN Promiscuous Port
- 85 Configuring a Promiscuous Trunk Port
- 86 Configuring an Isolated Trunk Port
- 87 Configuring Private VLANs on FEX Trunk Ports
- 88 Configuring the Allowed VLANs for PVLAN Trunking Ports
- 89 Configuring Native 802.1Q VLANs on Private VLANs
- 89 Verifying the Private VLAN Configuration
- 91 Configuring Rapid PVST+
- 91 Information About Rapid PVST+
- 91 Understanding STP
- 91 STP Overview
- 92 Understanding How a Topology is Created
- 92 Understanding the Bridge ID
- 92 Bridge Priority Value
- 93 Extended System ID
- 93 STP MAC Address Allocation
- 94 Understanding BPDUs
- 95 Election of the Root Bridge
- 95 Creating the Spanning Tree Topology
- 96 Understanding Rapid PVST+
- 96 Rapid PVST+ Overview
- 97 Rapid PVST+ BPDUs
- 98 Proposal and Agreement Handshake
- 99 Protocol Timers
- 99 Port Roles
- 100 Port States
- 100 Rapid PVST+ Port State Overview
- 101 Blocking State
- 101 Learning State
- 101 Forwarding State
- 102 Disabled State
- 102 Summary of Port States
- 102 Synchronization of Port Roles
- 103 Processing Superior BPDU Information
- 104 Processing Inferior BPDU Information
- 104 Spanning-Tree Dispute Mechanism
- 104 Port Cost
- 105 Port Priority
- 105 Rapid PVST+ and IEEE 802.1Q Trunks
- 105 Rapid PVST+ Interoperation with Legacy 802.1D STP
- 106 Rapid PVST+ Interoperation with 802.1s MST
- 106 Configuring Rapid PVST+
- 106 Enabling Rapid PVST+
- 107 Enabling Rapid PVST+ per VLAN
- 108 Configuring the Root Bridge ID
- 109 Configuring a Secondary Root Bridge
- 110 Configuring the Rapid PVST+ Port Priority
- 111 Configuring the Rapid PVST+ Path-Cost Method and Port Cost
- 111 Configuring the Rapid PVST+ Bridge Priority of a VLAN
- 112 Configuring the Rapid PVST+ Hello Time for a VLAN
- 113 Configuring the Rapid PVST+ Forward Delay Time for a VLAN
- 113 Configuring the Rapid PVST+ Maximum Age Time for a VLAN
- 113 Specifying the Link Type
- 114 Restarting the Protocol
- 114 Verifying the Rapid PVST+ Configuration
- 117 Configuring Multiple Spanning Tree
- 117 Information About MST
- 117 MST Overview
- 118 MST Regions
- 118 MST BPDUs
- 119 MST Configuration Information
- 119 IST, CIST, and CST
- 119 IST, CIST, and CST Overview
- 120 Spanning Tree Operation Within an MST Region
- 120 Spanning Tree Operations Between MST Regions
- 121 MST Terminology
- 122 Hop Count
- 122 Boundary Ports
- 123 Spanning-Tree Dispute Mechanism
- 124 Port Cost and Port Priority
- 124 Interoperability with IEEE 802.1D
- 125 Interoperability with Rapid PVST+: Understanding PVST Simulation
- 125 Configuring MST
- 125 MST Configuration Guidelines
- 125 Enabling MST
- 126 Entering MST Configuration Mode
- 127 Specifying the MST Name
- 128 Specifying the MST Configuration Revision Number
- 128 Specifying the Configuration on an MST Region
- 130 Mapping and Unmapping VLANs to MST Instances
- 130 Mapping Secondary VLANs to Same MSTI as Primary VLANs for Private VLANs
- 131 Configuring the Root Bridge
- 132 Configuring a Secondary Root Bridge
- 133 Configuring the Port Priority
- 134 Configuring the Port Cost
- 134 Configuring the Switch Priority
- 135 Configuring the Hello Time
- 136 Configuring the Forwarding-Delay Time
- 136 Configuring the Maximum-Aging Time
- 137 Configuring the Maximum-Hop Count
- 137 Configuring PVST Simulation Globally
- 138 Configuring PVST Simulation Per Port
- 139 Specifying the Link Type
- 139 Restarting the Protocol
- 140 Verifying the MST Configuration
- 141 Configuring STP Extensions
- 141 Overview
- 141 Information About STP Extensions
- 141 Understanding STP Port Types
- 141 Spanning Tree Edge Ports
- 142 Spanning Tree Network Ports
- 142 Spanning Tree Normal Ports
- 142 Understanding Bridge Assurance
- 142 Understanding BPDU Guard
- 143 Understanding BPDU Filtering
- 144 Understanding Loop Guard
- 145 Understanding Root Guard
- 145 Configuring STP Extensions
- 145 STP Extensions Configuration Guidelines
- 145 Configuring Spanning Tree Port Types Globally
- 146 Configuring Spanning Tree Edge Ports on Specified Interfaces
- 147 Configuring Spanning Tree Network Ports on Specified Interfaces
- 148 Enabling BPDU Guard Globally
- 149 Enabling BPDU Guard on Specified Interfaces
- 150 Enabling BPDU Filtering Globally
- 151 Enabling BPDU Filtering on Specified Interfaces
- 152 Enabling Loop Guard Globally
- 152 Enabling Loop Guard or Root Guard on Specified Interfaces
- 153 Configuring FEX Port Spanning Tree BPDU Transmit Interval
- 154 Verifying the STP Extension Configuration
- 155 Configuring LLDP
- 155 Configuring LLDP
- 156 Configuring Interface LLDP
- 159 Configuring MAC Address Tables
- 159 Information About MAC Addresses
- 159 RMAC Learning
- 160 Configuring MAC Addresses
- 160 Configuring Static MAC Addresses
- 160 Configuring the Aging Time for the MAC Table
- 161 Configuring MAC Move Loop Detection
- 162 Clearing Dynamic Addresses from the MAC Table
- 162 Enabling RMAC Learning Feature
- 162 Verifying the MAC Address Configuration
- 163 Verifying RMAC Learning Feature
- 165 Configuring IGMP Snooping
- 165 Information About IGMP Snooping
- 166 IGMPv1 and IGMPv2
- 167 IGMPv3
- 167 IGMP Snooping Querier
- 167 IGMP Forwarding
- 168 Configuring IGMP Snooping Parameters
- 171 Verifying the IGMP Snooping Configuration
- 173 Configuring MVR
- 173 Information About MVR
- 173 MVR Overview
- 174 MVR Interoperation with Other Features
- 174 Licensing Requirements for MVR
- 174 Guidelines and Limitations for MVR
- 175 Default MVR Settings
- 175 Configuring MVR
- 175 Configuring MVR Global Parameters
- 177 Configuring MVR Interfaces
- 178 Verifying the MVR Configuration
- 181 Configuring VTP V3
- 181 Configuring VTP V3
- 181 VTP V3 Overview
- 181 VTP V3 Modes
- 182 VTP V3 Pruning
- 183 VTP V3 Per Interface
- 183 VTP V3 Pruning and Spanning Tree Protocol
- 183 Configuring VTP V3
- 186 Configuring VTP V3 Pruning
- 187 Configuring Traffic Storm Control
- 187 Information About Traffic Storm Control
- 189 Guidelines and Limitations for Traffic Storm Control
- 190 Configuring Traffic Storm Control
- 190 Verifying the Traffic Storm Control Configuration
- 191 Traffic Storm Control Example Configuration
- 191 Default Settings for Traffic Storm Control
- 193 Configuring the Fabric Extender
- 194 Information About the Cisco Nexus 2000 Series Fabric Extender
- 194 Fabric Extender Terminology
- 195 Fabric Extender Features
- 195 Layer 2 Host Interfaces
- 196 Host Port Channel
- 196 VLANs and Private VLANs
- 196 Virtual Port Channels
- 198 Fibre Channel over Ethernet Support
- 198 Protocol Offload
- 198 Quality of Service
- 198 Access Control Lists
- 199 IGMP Snooping
- 199 Switched Port Analyzer
- 199 Fabric Interface Features
- 199 Oversubscription
- 199 Management Model
- 200 Forwarding Model
- 200 Connection Model
- 201 Static Pinning Fabric Interface Connection
- 202 Port Channel Fabric Interface Connection
- 203 Port Numbering Convention
- 203 Fabric Extender Image Management
- 203 Fabric Extender Hardware
- 203 Chassis
- 203 Ethernet Interfaces
- 204 Speed and Duplex Mode
- 206 Example: Configuring the Interface Speed Parameters
- 207 Associating a Fabric Extender to a Fabric Interface
- 207 Associating a Fabric Extender to an Ethernet Interface
- 208 Associating a Fabric Extender to a Port Channel
- 210 Disassociating a Fabric Extender from an Interface
- 210 Configuring Fabric Extender Global Features
- 212 Enabling the Fabric Extender Locator LED
- 212 Redistributing the Links
- 213 Changing the Number of Links
- 213 Maintaining the Pinning Order
- 214 Redistributing Host Interfaces
- 214 Verifying the Fabric Extender Configuration
- 217 Verifying the Chassis Management Information
- 221 Configuring the Cisco Nexus N2248TP-E Fabric Extender
- 222 Configuring the Shared Buffer
- 222 Configuring the Queue Limit at the Global Level
- 223 Configuring the Queue Limit at the Port Level
- 224 Configuring the Uplink Distance
- 225 Configuring the Cisco Nexus N2248PQ Fabric Extender
- 225 Configuring the Shared Buffer
- 226 Configuring the Uplink Distance
- 227 Configuring Slow Drain
- 227 Load-balancing queues at the FEX global level
- 229 Configuring VM-FEX
- 229 Information About VM-FEX
- 229 VM-FEX Overview
- 229 VM-FEX Components
- 230 VM-FEX Terminology
- 231 Licensing Requirements for VM-FEX
- 231 Default Settings for VM-FEX
- 232 Configuring VM-FEX
- 232 Overview of the VM-FEX Configuration Steps
- 233 Enabling Features Required for VM-FEX
- 234 Configuring the Fixed Static Interfaces
- 236 Configuring a Port Profile for the Dynamic Interfaces
- 237 Configuring an SVS Connection to the vCenter Server
- 239 Activating an SVS Connection to the vCenter Server
- 239 Verifying the VM-FEX Configuration
- 239 Verifying the Status of the Virtual Interfaces
- 242 Verifying the Connection to the vCenter Server
- 243 Configuring MAC/ARP Hardware Resource Carving Template
- 243 Information About MAC/ARP Hardware Resource Carving Template
- 244 Configuring the MAC/ARP Hardware Resource Template
- 245 Applying the Default Template
- 245 Verifying the MAC/ARP Hardware Resource Carving Template Configuration
- 247 Configuring VN-Segment
- 247 Information About VN-Segment
- 249 Guidelines and Limitations for VN-Segment
- 249 Enabling VN-Segment
- 250 Configuring VN-Segment for a VLAN
- 251 Configuring VN-Segment for VLAN in Configure Sync
- 251 Configuring VN-Segment in Transit Mode
- 252 Configuring VN-Segment in Non-Transit Mode
- 252 Disabling VN-Segment
- 253 Verifying VN-Segment Configuration
- 255 Configuring VXLANs
- 255 Information About VXLAN
- 258 Cisco Nexus Device Overlays
- 260 VXLAN Tunnel Endpoint
- 260 VXLAN Tunnel Endpoint Peers
- 261 vPC Considerations
- 262 QoS/ACL Support
- 262 TTL Handling
- 262 Multipathing Support
- 262 MTU
- 262 Guidelines and Limitations for VXLAN
- 265 Enabling VXLAN
- 266 Configuring a VNI
- 266 Configuring a Network Virtualization Endpoint Interface
- 267 Configuring a Switch in the Store-and-Forward Mode
- 268 Disabling VXLAN
- 268 Verifying VXLAN Configuration
- 269 Example of VXLAN Bridging Configuration
- 275 INDEX