The Cisco Nexus devices line-up at the time of writing this book consists of Cisco Nexus 9200, Cisco Nexus 9300, Cisco Nexus 9400, Cisco Nexus 9500, Cisco Nexus 9800 and the ultra-low latency Cisco Nexus 3550, as well as Nexus 3400 and 3600 switches.
Note:
In the first edition of this book were covered also the Cisco Nexus 7000/7700, Cisco Nexus 5000/5500/5600, and Cisco Nexus 3000 series of switches. In the current, updated version of the book the reference to these model families has been removed as much as possible. As the NX-OS has been and continues to be the operationg system for all the Cisco data center devices, the commands in the examples can be applied to the Cisco Nexus switches which are currently end-of-slae/end-of-life status, but are still in operation in multiple customers and lab facilities.
Cisco Nexus devices run the Cisco NX-OS operating system. It is a modular operating system, which allows you to enable and disable the needed functionality. This leads to an optimized utilization of the device’s hardware resources. To enable a feature not enabled by default is used the command feature, and to disable it is used the command no feature. With that said, to use and configure a routing protocol on a Cisco Nexus switch you must first enable the feature for that specific protocol and then to continue with the configuration. Without enabling the feature that you want to use you won’t be able to see the feature-specific command and to perform any configuration. You need to be also very careful when you disable a feature, as all the feature-related configuration will be removed form the switch. That’s why it is always a good approach to backup your configuration before disabling any features. There are some differences in how the different types of dynamic routing protocols are configured in the Cisco NX-OS. For example, the Interior Gateway Protocols (IGP) are configured using the following sequence:
1. Enable the routing protocol using the feature command
2. In global configuration mode create the routing process, usually with the command router
3. Then in the interface configuration add the routing process.
This is a very general sequence and the specific commands are described for each of the routing protocols covered in this book, but it alsoserves the purpose to show a major difference with the configuration of a routing protocol in Cisco IOS, where usually in global configuration mode is created the routing process and there are also added the networks that will be announced.
The Cisco NX-OS supports the following routing:
• Connected routes: networks directly connected to the Cisco Nexus 9000 switch
• Static routes: manually added static routes.
• Interior Gateway Protocols (IGP):
• Routing Information Protocol (RIP)
• OSPF v2 and OSPF v3
• Enhanced Interior Gateway Routing Protocol(EIGRP)
• Intermediate System-to-Intermediate System (IS-IS)
• Exterior Gateway Protocol(EGP): the supported EGP is the Border Gateway Protocol (BGP) and its advanced features, such as the Multiprotocol BGP (MP-BGP)