The following workflow describes the information and actions that you must take in order to configure Cisco Nexus 3100 switches. (This applies to Release 6.0(2)U6(3) and above.)
|
1. OpenFlow |
1. OpenFlow OVA required:
Add openflow related configuration in the nexus switch Copy the configuration in the nexus switches- Also add the below hardware config: hardware profile tcam region vacl 0 hardware profile tcam region e-vacl 0 hardware profile tcam region racl 0 hardware profile tcam region e-racl 0 hardware profile tcam region qos 0 hardware profile tcam region ifacl 1024 double wide
"feature lldp" command is required to be configured for centralized mode when ISL is present in between devices. For additional information on configuring Cisco Nexus 3000 Series switches, see the following URL: Cisco Nexus 3000 Series Switches
|
|
1.1. Embedded Mode |
If Cisco Nexus Data Broker does not work after reloading of the device in Embedded mode, you have to run the ndb_launcher.py script from the ndb directory in the GitHub repository. Before launching the script, ensure that Cisco Nexus Data Broker is in activated mode. If it is in the deactivated mode, the script does not execute. You can use the show virtual-service list CLI command to display the status of Cisco Nexus Data Broker. Use python bootflash:ndb_launcher.py -v ndb command to execute the script. When the Python script is run, it creates an interfaces file in the embndb folder in the virtual machine. The interfaces file contains the details of the interfaces and the management IP address and it also updates the launcher.sh file.
1. Installing and Activating embedded ova:
Follow the steps presented here to install and activate the Cisco embedded ova. It should be downloaded and available in the bootflash memory of each Cisco Nexus 3000 Series Switch.
N3K-123# show virtual-service list N3K-123# show virtual-service list N3K-123# configure terminal N3K-123(config-virt-serv)# show virtual-service list N3K-123(config-virt-serv)# show virtual-service list Name Status Package Name
2. Installing and Activating Cisco Plug-in for OpenFlow(Openflow ova)
N3K-123# show virtual-service list N3K-123# show virtual-service list N3K-123# show virtual-service list N3K-123# configure terminal N3K-123(config-virt-serv)# show virtual-service list Virtual Service List: N3K-123(config-virt-serv)# show virtual-service list
Use the show virtual-service list command to verify that the service status is changed to “Activated.” This change process may take up to two minutes. Once all the above steps are performed switch will be converted to OF. Use URL: https://<DeviceIP>:8443 for logging into NDB GUI.
For additional information on configuring Cisco Nexus 3000 Series switches, see the following URL: Cisco Nexus 3000 Series Switches
|
|
2. NXAPI |
1. Enable nxapi feature with the following command- "feature lldp" command is required to be configured for centralized mode when ISL is present in between devices.
For additional information on configuring Cisco Nexus 3000 Series switches, see the following URL: Cisco Nexus 3000 Series Switches
|
|
2.1. Embedded Mode |
If Cisco Nexus Data Broker does not work after reloading of the device in Embedded mode, you have to run the ndb_launcher.py script from the ndb directory in the GitHub repository. Before launching the script, ensure that Cisco Nexus Data Broker is in activated mode. If it is in the deactivated mode, the script does not execute. You can use the show virtual-service list CLI command to display the status of Cisco Nexus Data Broker. Use python bootflash:ndb_launcher.py -v ndb command to execute the script. When the Python script is run, it creates an interfaces file in the embndb folder in the virtual machine. The interfaces file contains the details of the interfaces and the management IP address and it also updates the launcher.sh file.
Installing and Activating embedded ova: Follow the steps presented here to install and activate the Cisco embedded ova. It should be downloaded and available in the bootflash memory of each Cisco Nexus 3000 Series Switch.
N3K-123# show virtual-service list
N3K-123# show virtual-service list N3K-123# configure terminal
N3K-123(config-virt-serv)# show virtual-service list Virtual Service List: Name Status Package Name Use URL: https://<DeviceIP>:8443 for logging into NDB GUI.
For additional information on configuring Cisco Nexus 3000 Series switches, see the following URL: Cisco Nexus 3000 Series Switches
|
|
3. Auxiliary Mode |
1. Configure hardware configurations using: 5. Add the controller to the switch
For additional information on configuring Cisco Nexus 3000 Series switches, see the following URL: Cisco Nexus 3000 Series Switches
|
|
4. Use Case |
Redirecting IPv4 traffic with filter A from two source ports to Monitor1
3.1 Use Case for OpenFlow 1. Configure openflow in the device – Device should be present in the NDB UI 2. Configure two edge port – After configuring Ethernet1/26 and Ethernet1/27 as edge span in NDB, the following is seen in the 3100 device in the corresponding interfaces interface Ethernet1/27 3. Configure two deliver port - After configuring Ethernet1/26 and Ethernet1/27 as edge span in NDB the following is seen in the 3100 device in the corresponding interfaces interface Ethernet1/48 4. Configure simple IPv4 filters in NDB
Flow: 1 Flow: 2 Flow: 3
CONNECTION B source ports ethernet1/26 and ethernet1/27, filter A, monitor device with delivery port as ethernet1/48 Flow: 1 Flow: 2 Flow: 3
3.2 Use Case for NXAPI: Configuring edge span ports with vlan 100 on Ethernet1/26 and vlan 200 on ethernet1/27 will configure the following in the device: interface Ethernet1/26 interface Ethernet1/27 Configuring monitor device on ports Ethernet1/29 and ethernet1/30 will configure the following in the device: N3K-123# show running-config interface ethernet 1/29-30 interface Ethernet1/29 interface Ethernet1/30 Configure simple IPv4 filters in NDB
CONNECTION B -- Source ports ethernet1/26 and ethernet1/27, filter B, monitor device with delivery port as ethernet1/30
3.3 USE CASE FOR REDIRECTION (AUX mode)
1. Configure the device in Openflow mode and add NXAPI plugin by doing the following steps:
2. Device should have following in the interfaces: 3. Configure two production ports(bith having different VLAN), add a service node, and monitor port.
Flow: 2 Flow: 3 Flow: 4 Flow: 5 Number of bytes: 0
For additional information on configuring Cisco Nexus 3000 Series switches, see the following URL: Cisco Nexus 3000 Series Switches
|
|
© 2016 Cisco Systems Inc. All rights reserved.
Terms & Conditions | Privacy Statement | Cookie Policy | Trademarks of Cisco Systems Inc.