Supported by the GlobalNOC at Indiana University

Most PopularMost popular assets for this branch of the site.
  1. Controller Connection Status
  2. Known Issues
  3. Looking at FlowStats
  4. Changing Controller
  5. Viewing Flows
Recent ChangesRecently edited assets for this branch of the site.
  1. Controller Connection Status
  2. Looking at FlowStats
  3. Viewing Flows
  4. Logging in
  5. Changing Controller

NEC/IBM



Logging in

1.)

ssh 156.56.6.106 - NEC1

ssh 156.56.6.107 - NEC2

2.)Open logging in you'll be prompted with the following.

 - "Enter passphrase for key '/home/bgeels/.ssh/id_rsa':"

Hit enter.

3.) Next you will be prompted for your radius password

  - "Enter radius password:"

Enter your grnoc password

4.) Next you will be prompted for the CLI mode

  - "Select Command Line Interface mode (bladeos-cli/iscli):"

Choose 'iscli'


Viewing Flows

nec1.sdn-test.grnoc.iu.edu>show openflow table

Openflow Instance Id: 1

BASIC FLOW TABLE

Flow:1
Filter Based, priority:32768, hard-time-out: 0, idle-time-out: 0
QUALIFIERS: ingress-port:40
ACTION: output:42
STATS: packets=0, bytes=0

Flow:2
Filter Based, priority:32768, hard-time-out: 0, idle-time-out: 0
QUALIFIERS: ingress-port:42
ACTION: output:40
STATS: packets=0, bytes=0

EMERGENCY FLOW TABLE is Empty


Looking at FlowStats

'show openflow table' return statistics for individual flow messages. You can also use the 'show openflow statistics' command to see higher level openflow statistics.

nec1.sdn-test.grnoc.iu.edu>show openflow statistics
-----------------------------------------------------------
Openflow statistics for instance 1
Flow Count
Basic Flows: 2 (ACL Based: 2, Unicast FDB Based: 0, Multicast FDB Based: 0)
Emergency Flows: 0 (ACL Based: 0, Unicast FDB Based: 0, Multicast FDB Based: 0)

Buffering Count:
Openflow Packets Buffered : 4623842
Openflow Packets Timed out : 4623602
Openflow Packets Retrieved : 0
Openflow Packets Retrieve attempts : 0

Message Count
Hello-Sent: 35 Hello-Received: 35
Echo-Request-Sent: 32710 Echo-Request-Received: 1353592
Echo-Reply-Sent: 1353592 Echo-Reply-Received: 32704
Vendor: 4
Vendor Flow-Mod:
Add: 0
Modify: 0
Modify-Strict: 0
Delete: 0
Delete-Strict: 0
Feature-Request: 35 Feature-Reply: 35
Get-Config-Request: 31 Get-Config-Reply: 31
Set-Config: 32
Packet-In
No-Match: 12358318
Action: 0
Flow-Removed:
Idle-Timeout: 0
Hard-Timeout: 0
Delete: 0
Vendor-Flow-Removed:
Idle-Timeout: 0
Hard-Timeout: 0
Delete: 0
Port-Status:
Add: 1
Delete: 0
Modify: 136
Packet-Out: 0
Flow-Mod:
Add: 64
Modify: 0
Modify-Strict: 0
Delete: 29
Delete-Strict: 30
Port-Mod: 0
Statistics-Request:
Desc: 31
Flow: 0
Aggregate: 0
Table: 0
Port: 0
Vendor: 0
stats: 0
stats-strict: 0
Statistics-Reply:
Desc: 31
Flow: 0
Aggregate: 0
Table: 0
Port: 0
Vendor: 0
stats: 0
stats-strict: 0
Barrier-Request: 2
Barrier-Reply: 2
Error Messages
Hello Failed Sent:
Incompatible: 0
Hello Failed Recv:
Incompatible: 0
Bad Request:
Bad-Version: 0
Bad-Type: 0
Bad-Stat: 0
Bad-Vendor: 4
Bad-Subtype: 0
Bad-Len: 0
Buffer-Empty: 0
Buffer-Unknown: 0
Bad Action:
Bad-Type: 0
Bad-Len: 0
Bad-Out-Port: 3
Bad-Argument: 0
Too-many: 0
Flow-Mod-Failed:
All-Table-Full: 0
Overlap: 0
Permission-Error: 5
Emergency-Timeout: 0
Bad-Command: 0
Unsupported: 0
Port-Mod-Failed:
Bad-Port: 0
Bad-hw-addr: 0


Controller Connection Status

'show openflow information' will return the supported features and interfaces as well as the controller connection status.

nec1.sdn-test.grnoc.iu.edu>show openflow information
Openflow feature is Enabled
-----------------------------------------------------------
Openflow Instance ID: 1
State : Enabled
DataPath ID: 0x0001fccf629d4200
Max Retries per controller: 4
Echo Request Interval: 1000
Echo Reply Timeout: 15
Emergency Timeout: 30
Min-flow-timeout : 0, use controller provided values.
Max ACL Flows: Maximum Available
Max Unicast FDB Flows: Maximum Available
Max Multicast FDB Flows: Maximum Available
Buffering: Enabled
Operational Mode: Normal
Miss Send Len: 65535
Switch Support Capabilities:
Flow Statistics : enabled
Table Statistics : enabled
Port Statistics : enabled
Spanning Tree : disabled
Reserved : disabled
Reassemble IP Fragments : disabled
Queue Statistics : disabled
Match IP Addr in ARP Packets: disabled
Switch Support action:
Output to Switch Port : enabled
Set Vlan ID : enabled
Set Priority : enabled
Strip dot1q Header : enabled
Ethernet Source Addr : enabled
Ethernet Destination Addr: enabled
IP Source Address : disabled
IP Destination Address : disabled
IP ToS : enabled
TCP/UDP Source Port : disabled
TCP/UDP Destination Port : disabled
Output to Queue : disabled
Vendor : disabled

PortList Status State Config Current Advertised Supported Peer
20 d 0x201 0x2 0x140 0x0 0x0 0x0
21 d 0x201 0x2 0x0 0x0 0x0 0x0
22 d 0x201 0x2 0x0 0x0 0x0 0x0
23 d 0x201 0x2 0x0 0x0 0x0 0x0
24 d 0x201 0x2 0x0 0x0 0x0 0x0
25 d 0x201 0x2 0x0 0x0 0x0 0x0
30 d 0x201 0x2 0x0 0x0 0x0 0x0
31 d 0x201 0x2 0x0 0x0 0x0 0x0
32 d 0x201 0x2 0x0 0x0 0x0 0x0
33 d 0x201 0x2 0x0 0x0 0x0 0x0
34 d 0x201 0x2 0x0 0x0 0x0 0x0
35 d 0x201 0x2 0x0 0x0 0x0 0x0
38 e 0x200 0x2 0xc0 0x0 0x0 0x0
40 d 0x201 0x2 0x140 0x0 0x0 0x0
42 d 0x201 0x2 0x140 0x0 0x0 0x0
60 d 0x201 0x2 0x0 0x0 0x0 0x0

Number of Ports: 16
Configured Controllers:
Openflow Controller 1:
IP Address: 140.182.45.44
Port: 6635
State: Active
Retry Count: 0
Configured Controller Count 1


Known Issues


Changing Controller

To change the openflow controller complete the following steps

1.) choose iscli mode

"Select Command Line Interface mode (bladeos-cli/iscli): iscli"

2.) type enable

"nec>enable"

3.) type the show run command to see the current controller configuration

"nec#show run"

which will output something like the following...

"

Current configuration:

!

version "7.4.1.1"

switch-type "NEC PF5820"

!

!

.......

openflow instance 1

enable

buffer

echo-request-interval 1000

emergency

        controller 1 address 1.2.3.4

member 20-25,40,42,60

!

openflow instance 2

enable

controller 2 address 5.6.7.8

!

......."

The important bit being contained in the "openflow instance 1" section.

4.) run configure terminal command

"nec#configure terminal"

5.) type the openflow instance to edit

"nec(config)#openflow instance 1"

6.) Finally set the new controller address

"nec(config-openflow-instance)#controller 1 address <NEW_IP_ADDRESS>"

7.) you will more than likely then have to run the "write mem" command and then the "reload" command for the changes to take affect


Your request has been completed.