Configuring Cisco Nexus Data Broker For Centralized Mode Using The CLI
Complete the following steps to configure
Procedure
| Command or Action | Purpose | |
|---|---|---|
| Step 1 |
Create two connections. |
|
| Step 2 |
Run Cisco Nexus Data Broker in Linux server. |
|
| Step 3 |
Verify that the ofa package is there. |
|
| Step 4 |
Install ofa. |
|
| Step 5 |
Configure OpenFlow switch. |
|
Example
Run Cisco Nexus Data Broker in Linux server.
[root@rhel64-ndb-nxapi NDB3.0.0]#
[root@rhel64-ndb-nxapi NDB3.0.0]# ls
ndb1000-sw-app-k9-3.0.0.zip xnc
[root@rhel64-ndb-nxapi NDB3.0.0]#
[root@rhel64-ndb-nxapi NDB3.0.0]# cd xnc/
[root@rhel64-ndb-nxapi xnc]# ls
bin configuration etc lib logs plugins runxnc.cmd runxnc.sh version.properties work
[root@rhel64-ndb-nxapi xnc]# ./runxnc.sh -start
Running controller in background with PID: 11987, to connect to it please SSH to this host on port 2400
[root@rhel64-ndb-nxapi xnc]#
Verify that the ofa package is installed.
switch-1 – Switch
=============
switch-1#
switch-1# dir
4096 Jun 01 23:55:07 2016 .patch/
1044 Aug 13 00:15:17 2014 20140813_001215_poap_3799_init.log
16 Aug 13 00:30:15 2014 cert.err
9255 Jun 01 23:38:11 2016 clean_config
2885642 May 12 22:11:57 2014 lltormtc-dplug-mzg.6.0.2.A3.0.23.bin
4194304 Sep 08 19:24:42 2014 messages
3752 Mar 18 00:48:03 2014 mts.log
36825088 Apr 19 18:47:44 2016 n3500-uk9-kickstart.6.0.2.A6.5a.bin
37472256 Jun 01 23:43:34 2016 n3500-uk9-kickstart.6.0.2.A8.0.15.bin
180349300 Apr 19 18:49:37 2016 n3500-uk9.6.0.2.A6.5a.bin
190244286 Jun 01 23:42:07 2016 n3500-uk9.6.0.2.A8.0.15.bin
54343680 Apr 24 05:27:43 2016 ofa_mmemb-1.1.5-r3-n3000-SPA-k9.ova
4096 Mar 18 06:08:07 2014 onep/
3314 Apr 25 18:14:18 2014 sercert.p12
1024 Apr 19 18:58:37 2016 sprom_cstruct_2_0_0
1024 Apr 19 18:59:22 2016 sprom_cstruct_3_0_0
4096 Jan 01 03:25:17 2011 vdc_2/
4096 Jan 01 03:25:17 2011 vdc_3/
4096 Jan 01 03:25:17 2011 vdc_4/
4096 Jun 01 23:31:49 2016 virt_strg_pool_bf_vdc_1/
4096 Jun 01 23:31:49 2016 virtual-instance/
4096 Aug 09 02:20:14 2014 virtual-instance-stby-sync/
243671040 May 09 20:55:18 2016 xnclite_ofa_jdk1877.ova
243732480 May 10 21:51:52 2016 xnclite_ofa_jdk1892.ova
Usage for bootflash://
1124974592 bytes used
770195456 bytes free
1895170048 bytes total
switch-1#
Install ofa.
switch-1#
switch-1# virtual-service install name ofa package ofa_mmemb-1.1.5-r3-n3000-SPA-k9.ova
Note: Installing package 'bootflash:/ofa_mmemb-1.1.5-r3-n3000-SPA-k9.ova' for virtual service 'ofa'. Once the install has finished, the VM may be activated. Use 'show virtual-service list' for progress.
switch-1# sh virtual-service list
Virtual Service List:
Name Status Package Name
-----------------------------------------------------------------------
ofa Installed ofa_mmemb-1.1.5-r3-n3000-SPA-k9.ova
switch-1# configure
Enter configuration commands, one per line. End with CNTL/Z.
switch-1(config)# virtual-service ofa
switch-1(config-virt-serv)# activate
Note: Activating virtual-service 'ofa', this might take a few minutes. Use 'show virtual-service list' for progress.
switch-1(config-virt-serv)# show virtual-service list
Virtual Service List:
Name Status Package Name
-----------------------------------------------------------------------
ofa Activated ofa_mmemb-1.1.5-r3-n3000-SPA-k9.ova
switch-1(config-virt-serv)#
Configure OpenFlow switch.
switch-1(config-virt-serv)# openflow
switch-1(config-ofa)# switch 1
switch-1(config-ofa-switch)# pipeline 203
switch-1(config-ofa-switch)# controller ipv4 10.16.206.161 port 6653 vrf management security none
switch-1(config-ofa-switch)# sh int br
--------------------------------------------------------------------------------
Ethernet VLAN Type Mode Status Reason Speed Port
Interface Ch #
--------------------------------------------------------------------------------
Eth1/1 1 eth access up none 10G(D) --
Eth1/2 1 eth access down SFP not inserted 10G(D) --
Eth1/3 1 eth access up none 10G(D) --
Eth1/4 1 eth access up none 10G(D) --
Eth1/5 1 eth access down SFP not inserted 10G(D) --
Eth1/6 1 eth access down SFP not inserted 10G(D) --
Eth1/7 1 eth access down SFP not inserted 10G(D) --
Eth1/8 1 eth access down SFP not inserted 10G(D) --
Eth1/9 1 eth access down SFP not inserted 10G(D) --
Eth1/10 1 eth access down SFP not inserted 10G(D) --
Eth1/11 1 eth access down SFP not inserted 10G(D) --
Eth1/12 1 eth access down SFP not inserted 10G(D) --
Eth1/13 1 eth access down SFP not inserted 10G(D) --
Eth1/14 1 eth access down SFP not inserted 10G(D) --
Eth1/15 1 eth access down SFP not inserted 10G(D) --
Eth1/16 1 eth access down SFP not inserted 10G(D) --
Eth1/17 1 eth access down SFP not inserted 10G(D) --
Eth1/18 1 eth access down SFP not inserted 10G(D) --
Eth1/19 1 eth access down SFP not inserted 10G(D) --
Eth1/20 1 eth access down SFP not inserted 10G(D) --
Eth1/21 1 eth access down SFP not inserted 10G(D) --
Eth1/22 1 eth access down SFP not inserted 10G(D) --
Eth1/23 1 eth access down SFP not inserted 10G(D) --
Eth1/24 1 eth access down SFP not inserted 10G(D) --
Eth1/25 1 eth access down SFP not inserted 10G(D) --
Eth1/26 1 eth access down SFP not inserted 10G(D) --
Eth1/27 1 eth access down SFP not inserted 10G(D) --
Eth1/28 1 eth access down SFP not inserted 10G(D) --
Eth1/29 1 eth access down SFP not inserted 10G(D) --
Eth1/30 1 eth access down SFP not inserted 10G(D) --
Eth1/31 1 eth access down SFP not inserted 10G(D) --
Eth1/32 1 eth access down SFP not inserted 10G(D) --
Eth1/33 1 eth access down SFP not inserted 10G(D) --
Eth1/34 1 eth access down SFP not inserted 10G(D) --
Eth1/35 1 eth access down SFP not inserted 10G(D) --
Eth1/36 1 eth access down SFP not inserted 10G(D) --
Eth1/37 1 eth access down SFP not inserted 10G(D) --
Eth1/38 1 eth access down SFP not inserted 10G(D) --
Eth1/39 1 eth access down SFP not inserted 10G(D) --
Eth1/40 1 eth access down SFP not inserted 10G(D) --
Eth1/41 1 eth access down SFP not inserted 10G(D) --
Eth1/42 1 eth access down SFP not inserted 10G(D) --
Eth1/43 1 eth access down SFP not inserted 10G(D) --
Eth1/44 1 eth access down SFP not inserted 10G(D) --
Eth1/45 1 eth access down SFP not inserted 10G(D) --
Eth1/46 1 eth access down SFP not inserted 10G(D) --
Eth1/47 1 eth access up none 10G(D) --
Eth1/48 1 eth access down SFP not inserted 10G(D) --
--------------------------------------------------------------------------------
Port VRF Status IP Address Speed MTU
--------------------------------------------------------------------------------
mgmt0 -- up 10.16.206.129 1000 1500
switch-1(config-ofa-switch)#
switch-1(config-ofa-switch)#
switch-1(config-ofa-switch)#
switch-1(config-ofa-switch)# of-port interface ethernet1/1-4
switch-1(config-ofa-switch)# of-port interface ethernet1/47
switch-1(config-ofa-switch)#
Switch-2
======
switch-2(config-ofa-switch)# show virtual-service list
Virtual Service List:
Name Status Package Name
-----------------------------------------------------------------------
ofa Activated ofa_mmemb-1.1.5-r3-n3000-SPA-k9.ova
switch-2(config-ofa-switch)#
What to do next
For centralized mode, complete the steps for configuring Cisco Nexus Data Broker using the GUI as outlined in the next section.
Feedback