Cisco Nexus 9000 Series NX-OS Interfaces Configuration Guide, Release 9.3(X)
Total Page:16
File Type:pdf, Size:1020Kb
Cisco Nexus 9000 Series NX-OS Interfaces Configuration Guide, Release 9.3(x) First Published: 2019-07-20 Last Modified: 2021-07-26 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 REFERENCED IN THIS DOCUMENTATION ARE SUBJECT TO CHANGE WITHOUT NOTICE. EXCEPT AS MAY OTHERWISE BE AGREED BY CISCO IN WRITING, ALL STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS DOCUMENTATION ARE PRESENTED WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. The Cisco End User License Agreement and any supplemental license terms govern your use of any Cisco software, including this product documentation, and are located at: http://www.cisco.com/go/softwareterms.Cisco product warranty information is available at http://www.cisco.com/go/warranty. US Federal Communications Commission Notices are found here http://www.cisco.com/c/en/us/products/us-fcc-notice.html. 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 products and features described herein as in development or available at a future date remain in varying stages of development and will be offered on a when-and if-available basis. Any such product or feature roadmaps are subject to change at the sole discretion of Cisco and Cisco will have no liability for delay in the delivery or failure to deliver any products or feature roadmap items that may be set forth in this document. 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. 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. 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: 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) © 2019–2021 Cisco Systems, Inc. All rights reserved. CONTENTS PREFACE Preface xix Audience xix Document Conventions xix Related Documentation for Cisco Nexus 9000 Series Switches xx Documentation Feedback xx Communications, Services, and Additional Information xx CHAPTER 1 New and Changed Information 1 New and Changed Information 1 CHAPTER 2 Overview 7 Licensing Requirements 7 About Interfaces 7 Ethernet Interfaces 8 Access Ports 8 Routed Ports 8 Management Interface 8 Port-Channel Interfaces 8 Subinterfaces 9 Loopback Interfaces 9 Breakout Interfaces 9 Module Level Breakout 9 Dynamic Breakout (Per-port Level Breakout) 9 About the Lane Selector 10 Notes About Breakout Interfaces 11 Virtual Device Contexts 17 Cisco Nexus 9000 Series NX-OS Interfaces Configuration Guide, Release 9.3(x) iii Contents High Availability for Interfaces 17 CHAPTER 3 Configuring Basic Interface Parameters 19 About the Basic Interface Parameters 19 Description 19 Beacon 19 Error Disabled 19 MDIX 20 Interface Status Error Policy 20 Modifying Interface MTU Size 20 Bandwidth 21 Throughput Delay 21 Administrative Status 22 Unidirectional Link Detection Parameter 22 UDLD Overview 22 Default UDLD Configuration 23 UDLD Aggressive and Nonaggressive Modes 23 Port-Channel Parameters 24 Port Profiles 24 Cisco QSFP+ to SFP+ Adapter Module Support 26 Cisco SFP+ Adapter Module Support 27 Cisco SFP-10G-T-X Module Support 27 Guidelines and Limitations 27 Default Settings 30 Configuring the Basic Interface Parameters 31 Specifying the Interfaces to Configure 31 Configuring the Description 33 Configuring the Beacon Mode 34 Configuring the Error-Disabled State 36 Enabling the Error-Disable Detection 36 Enabling the Error-Disabled Recovery 37 Configuring the Error-Disabled Recovery Interval 38 Configuring the MDIX Parameter 39 Configuring Media-Type for SFP-10G-T-X 40 Cisco Nexus 9000 Series NX-OS Interfaces Configuration Guide, Release 9.3(x) iv Contents Verifying Media-Type 41 Configuring the MTU Size 42 Configuring the Interface MTU Size 42 Configuring the System Jumbo MTU Size 44 Configuring the Bandwidth 45 Configuring the Throughput Delay 46 Shutting Down and Activating the Interface 48 Configuring the UDLD Mode 49 Configuring Debounce Timers 52 Configuring Port Profiles 54 Creating a Port Profile 54 Entering Port-Profile Configuration Mode and Modifying a Port Profile 55 Assigning a Port Profile to a Range of Interfaces 56 Enabling a Specific Port Profile 57 Inheriting a Port Profile 58 Removing a Port Profile from a Range of Interfaces 58 Removing an Inherited Port Profile 59 Configuring 25G Autonegotiation 60 Guidelines and Limitations for 25G Autonegotiation 60 FEC selection with 25G Autonegotiation 60 Enabling Autonegotiation 61 Disabling Autonegotiation 62 Verifying the Basic Interface Parameters 63 Monitoring the Interface Counters 63 Displaying Interface Statistics 63 Clearing Interface Counters 65 Configuration Example for QSA 65 CHAPTER 4 Configuring Layer 2 Interfaces 67 Information About Access and Trunk Interfaces 67 About Access and Trunk Interfaces 67 IEEE 802.1Q Encapsulation 68 Access VLANs 69 Native VLAN IDs for Trunk Ports 69 Cisco Nexus 9000 Series NX-OS Interfaces Configuration Guide, Release 9.3(x) v Contents Tagging Native VLAN Traffic 70 Allowed VLANs 70 Switchport Isolated for up to 3967 VLANs on Trunk Interfaces 71 Default Interfaces 71 Switch Virtual Interface and Autostate Behavior 71 SVI Autostate Exclude 71 SVI Autostate Disable 72 High Availability 72 Virtualization Support 72 Counter Values 72 Prerequisites for Layer 2 Interfaces 73 Guidelines and Limitations for Layer 2 Interfaces 74 Default Settings for Layer 2 Interfaces 78 Configuring Access and Trunk Interfaces 78 Guidelines for Configuring Access and Trunk Interfaces 78 Configuring a VLAN Interface as a Layer 2 Access Port 78 Configuring Access Host Ports 80 Configuring Trunk Ports 82 Configuring the Native VLAN for 802.1Q Trunking Ports 83 Configuring the Allowed VLANs for Trunking Ports 85 Configuring MAC Addresses Limitation on a Port 86 Configuring switchport isolated 88 Configuring a Default Interface 89 Configuring SVI Autostate Exclude 90 Configuring SVI Autostate Disable for the System 92 Configuring SVI Autostate Disable Per SVI 93 Configuring the Device to Tag Native VLAN Traffic 94 Configuring Interface Breakout Profile for 50-G Interfaces in a 16-Slot Chassis 96 Changing the System Default Port Mode to Layer 2 97 Verifying the Interface Configuration 98 Monitoring the Layer 2 Interfaces 99 Configuration Examples for Access and Trunk Ports 99 Related Documents 100 Cisco Nexus 9000 Series NX-OS Interfaces Configuration Guide, Release 9.3(x) vi Contents CHAPTER 5 Configuring Layer 3 Interfaces 101 About Layer 3 Interfaces 101 Routed Interfaces 101 Subinterfaces 102 Limitations for Subinterfaces 102 VLAN Interfaces 103 Changing VRF Membership for an Interface 103 Notes About Changing VRF Membership for an Interface 104 Loopback Interfaces 104 IP Unnumbered 105 MAC-Embedded IPv6 Address 105 High Availability 105 Virtualization Support 105 DHCP Client 106 Limitations for Using DHCP Client on Interfaces 106 Prerequisites for Layer 3 Interfaces 106 Guidelines and Limitations for Layer 3 Interfaces 106 Default Settings 108 Configuring Layer 3 Interfaces 108 Configuring a Routed Interface 108 Configuring a Subinterface on a Routed Interface 110 Configuring a Subinterface on a Port-Channel Interface 112 Configuring a VLAN Interface 113 Enabling Layer 3 Retention During VRF Membership Change 115 Configuring a Loopback Interface 115 Configuring IP Unnumbered on an Ethernet Interface 116 Configuring OSPF for an IP Unnumbered Interface 117 Configuring ISIS for an IP Unnumbered Interface 119 Configuring PBR on SVI on the Gateway 120 Configuring IP Unnumbered on SVI Secondary VLAN on the Gateway 123 Configuring SVI TCAM Region 124 Assigning an Interface to a VRF 126 Configuring a MAC-Embedded IPv6 Address 127 Cisco Nexus 9000 Series NX-OS Interfaces Configuration Guide, Release 9.3(x) vii Contents Configuring a DHCP Client on an Interface 130 Configuring SVI and Subinterface Ingress/Egress Unicast Counters 131 Configuring Subinterface Multicast and Broadcast Counters 132 Configuring Hardware Forwarded IPv4/IPv6 Interface Statistics 134 Verifying the Layer 3 Interfaces Configuration 135 Monitoring the Layer 3 Interfaces 136 Configuration Examples for Layer 3 Interfaces 137 Example of Changing VRF Membership