You are here: Home > CLI Commands > Just_CLI_Topics > show openflow

show openflow

show openflow

capabilities

controller

debug

flow-table

flows

ports

statistics

Description

The command displays the information such as flows, flow tables, system capabilities, and statistics related to OpenFlowOpenFlow is an open communications interface between control plane and the forwarding layers of a network. on the managed device where OpenFlowOpenFlow is an open communications interface between control plane and the forwarding layers of a network. is enabled.

Syntax

Parameter

Description

capabilities

Displays the OpenFlowOpenFlow is an open communications interface between control plane and the forwarding layers of a network. system capability information.

controller

Displays the OpenFlowOpenFlow is an open communications interface between control plane and the forwarding layers of a network. Controller information.

debug {ap-client|event|flows| ports}

Displays the debug information for the OpenFlowOpenFlow is an open communications interface between control plane and the forwarding layers of a network. AP clients, events, flows and ports.

flow-table

Displays the flow table information.

flows

Displays the flow information of the OpenFlow agentOpenFlow agent. OpenFlow is a software module in Software-Defined Networking (SDN) that allows the abstraction of any legacy network element, so that it can be integrated and managed by the SDN controller. OpenFlow runs on network devices such as switches, routers, wireless controllers, and APs..

ports

Displays all the ports configured for OpenFlowOpenFlow is an open communications interface between control plane and the forwarding layers of a network..

statistics

Displays the OpenFlowOpenFlow is an open communications interface between control plane and the forwarding layers of a network. statistics information.

Example

The following command displays the OpenFlowOpenFlow is an open communications interface between control plane and the forwarding layers of a network. capabilities on the managed device:

(host-md) #show openflow capabilities

 

Match Fields:

In Port

Ethernet Destination Address

Ethernet Source Address

Ethernet Frame Type

802.1Q Vlan ID

IP Protocol

IPv4 Source Address

IPv4 Destination Address

TCP Source Port

TCP Destination Port

UDP Source Port

UDP Destination Port

IPv6 Source Address

IPv6 Destination Address

Actions:

Output to Port

Set 802.1Q Vlan ID

Set 802.1Q Vlan Priority

Strip 802.1Q Vlan

Set Ethernet Source Address

Set Ethernet Destination Address

Set IPv4 Source Address

Set IPv4 Destination Address

Set DSCP Bits

Set TCP/UDP Source Port

Set TCP/UDP Destination Port

The following command displays the OpenFlowOpenFlow is an open communications interface between control plane and the forwarding layers of a network. Controller information from the managed device:

(host-md) #show openflow controller

 

Controller IP Address: 10.4.131.169 Port: 6633

Connection: UP

State: ACTIVE

Local IP: 10.4.135.67

Local Port: 39703

Last Connected: Tue Jun 21 15:33:45 2016 (83618 seconds ago)

Datapath ID: 00:00:00:0b:86:bb:cd:27

Auxiliary Channel Status:On, Last Connected: Tue Jun 21 15:35:15 2016

Total Flow Count: 25

Total Port Count: 12

Total Packet In Count: 3650

Total Packet In Count (no match): 2

Total Packet Out Count: 7859

The following command displays the ports configured for OpenFlowOpenFlow is an open communications interface between control plane and the forwarding layers of a network.:

 

(host-md) #show openflow ports

 

Total number of ports: 12

 

Openflow Port Table

-------------------

Name Port No Mac Address Status

---- ------- ----------- ------

spiCA890700in 3 00:00:00:00:00:00 UP

bss6cf37fe97b70 9 6c:f3:7f:e9:7b:70 UP

spi03EE4D00out 1 00:00:00:00:00:00 UP

bss6cf37fe97b60 10 6c:f3:7f:e9:7b:60 UP

bssaca31effb820 12 ac:a3:1e:ff:b8:20 UP

GE0/0/2 4 00:0b:86:bb:cd:2a UP

bssaca31eebc6c0 8 ac:a3:1e:eb:c6:c0 UP

bssaca31effb830 11 ac:a3:1e:ff:b8:30 UP

bssaca31eebc6d0 7 ac:a3:1e:eb:c6:d0 UP

bssaca31effcdf0 5 ac:a3:1e:ff:cd:f0 UP

bssaca31effcde0 6 ac:a3:1e:ff:cd:e0 UP

GE0/0/0 2 00:0b:86:bb:cd:28 UP

The following command displays the OpenFlowOpenFlow is an open communications interface between control plane and the forwarding layers of a network. statistics:

(host-md) #show openflow statistics

Openflow Message Statistics

---------------------------

Statistics-Name Received Sent

--------------- -------- ----

Hello 1 1

Echo Request 0 2724

Echo Reply 2724 0

Features Request 2 0

Features Reply 0 2

Set Config 1 0

Packet In 0 3774

Port Status 0 56

Packet Out 8111 0

Flow Mod 26 0

Desc Request 1 0

Desc Reply 0 1

Flow Stats Reqest 2877 0

Flow Stats Reply 0 2877

Port Stats Request 1439 0

Port Stats Reply 0 1439

Port Desc Stats Request 1 0

Port Desc Stats Reply 0 1

Sos Action Add 25 25

Sos OF Enable 0 1

Sos Session Add 0 1

Sos Packet-In 3537 0

Mark Sweep Start 0 1

Mark Sweep Finished 1 0

Packet Out Local 0 11

Aux Setup 0 2

Aux Setup Retry 0 4

Aux Destroy 0 2

Aux Ready 2 0

Aux Health Chceck 8601 8601

Aux Port Map 0 15

Aux Probe 0 14

Tunnel Ipsec Update 50 0

Auth Flow Add 25 25

Auth Init 0 1

Auth Up 1 0

Auth Wired Trusted 9 0

 

Miscelleneous Counters

----------------------

Counter-Name Value

------------ -----

Ip Flow Stats Update 2459

Gsm Port Add Enqueue 296

Gsm User Add Enqueue 228

Gsm Port Add Dequeue 296

Gsm User Add Dequeue 228

The following command displays the OpenFlowOpenFlow is an open communications interface between control plane and the forwarding layers of a network. flows:

(host-md) #show openflow flows

 

flow cookie 281474976710733

priority 32768

match:

Ethernet Type:IPv4

source IPv4 address: 192.168.61.3

destination IPv4 address: 192.168.60.60

ip proto: udp

dest tcp/udp port: 5003

actions:

output interfaces:65530

output interfaces:65533

IP ToS:2e,

set vlan pcp:6,

matched:0packets, 0bytes

Hard Timeout:60

 

Total number of flows: 27

 

flow cookie 281474976710734

priority 32768

match:

Ethernet Type:IPv4

source IPv4 address: 192.168.60.60

destination IPv4 address: 192.168.61.3

ip proto: udp

dest tcp/udp port: 5003

actions:

output interfaces:65530

output interfaces:65533

IP ToS:2e,

set vlan pcp:6,

matched:0packets, 0bytes

Hard Timeout:60

The following command displays the output of flow-table on the managed device with a Sample bi-directional flow installed by the OpenFlowOpenFlow is an open communications interface between control plane and the forwarding layers of a network. Controller:

(host-md) #show openflow flow-table

Openflow Flow Table

-------------------

In Port Src Mac Dst Mac Ether Src IP Dst IP Proto Src Port Dst Port Packets Bytes Actions

------- ------- ------- ----- ------ ------ ----- -------- -------- ------- ----- -------

* * * 0x800 * * 17 * 5000 0 0 (Output:normal)(Output:controller)

* * * 0x800 * * 6 * 5060 0 0 (Output:normal)(Output:controller)

* * * 0x800 * * 17 * 5002 0 0 (Output:normal)(Output:controller)

* * * 0x800 * * 6 * 2000 0 0 (Output:normal)(Output:controller)

* * * 0x800 * * 17 * 32512 0 0 (Output:normal)(Output:controller)

* * * 0x800 * * 6 * 1720 0 0 (Output:normal)(Output:controller)

* * * 0x800 * * 17 * 5060 0 0 (Output:normal)(Output:controller)

* * * 0x800 * * 6 * 5061 0 0 (Output:normal)

* * * 0x800 1.1.1.1 2.2.2.2 97 * * 1324 76792 (Output:controller)

* * * 0x800 * * 17 * 5070-6070 0 0 (Output:normal)(Output:controller)

* * * 0x800 * * 17 * 1718-1719 0 0 (Output:normal)(Output:controller)

* * * 0x800 * * 17 1718-1719 * 0 0 (Output:normal)(Output:controller)

* * * 0x800 * * 17 5070-6070 * 0 0 (Output:normal)(Output:controller)

* * * 0x800 222.173.190.239 186.173.202.254 17 60000 60000 0 0 (Output:controller)

* * * 0x806 * * * * * 2226 4558848 (Output:normal)(Output:controller)

* * * 0x800 192.168.61.3 192.168.60.60 17 * 5003 0 0 (Output:normal)(Output:controller),(Set IP ToS:46),(Set Vlan pcp:6)

* * * 0x800 192.168.60.60 192.168.61.3 17 * 5003 0 0 (Output:normal)(Output:controller),(Set IP ToS:46),(Set Vlan pcp:6)

* * * 0x800 * * 6 5061 * 0 0 (Output:normal)

* * * 0x800 * * 6 1720 * 0 0 (Output:normal)(Output:controller)

* * * 0x800 * * 6 2000 * 0 0 (Output:normal)(Output:controller)

* * * 0x86dd ::/0 ::/0 58 136 * 0 0 (Output:normal)(Output:controller)

* * * 0x800 * * 17 5060 * 0 0 (Output:normal)(Output:controller)

* * * 0x800 * * 17 5002 * 0 0 (Output:normal)(Output:controller)

* * * 0x800 * * 17 5000 * 0 0 (Output:normal)(Output:controller)

* * * 0x800 * * 6 5060 * 0 0 (Output:normal)(Output:controller)

* * * 0x86dd ::/0 ::/0 58 135 * 0 0 (Output:normal)(Output:controller)

* * * 0x800 * * 17 32512 * 0 0 (Output:normal)(Output:controller)

Total number of flows: 27

 

The following command displays the debug event listing the flow addition on the managed device:

(host-md) #show openflow debug event

 

Printing events sorted by time (Max 1000), Total:115

--------------------------------------------

114. Wed Jun 22 15:38:09 2016 : SOS ACTIONS RESP : trans_id:27, sos action_index: 27, ethtype:2048 sipv4:192.168.60.60 dipv4:192.168.61.3 proto:17 sport:0 dport:5003

113. Wed Jun 22 15:38:09 2016 : FLOW ADD : ethtype:2048 inport:0 srcmac:00:00:00:00:00:00 dstmac:00:00:00:00:00:00 sipv6::: sipv6::: sipv4:192.168.60.60 dipv4:192.168.61.3 proto:17 sport:0 dport:5003,idletmo:0, metadata:0, act=[(Output:normal)(Output:controller),(Set IP ToS:46),(Set Vlan pcp:6)]

112. Wed Jun 22 15:38:09 2016 : SOS ACTIONS RESP : trans_id:26, sos action_index: 26, ethtype:2048 sipv4:192.168.61.3 dipv4:192.168.60.60 proto:17 sport:0 dport:5003

111. Wed Jun 22 15:38:09 2016 : FLOW ADD : ethtype:2048 inport:0 srcmac:00:00:00:00:00:00 dstmac:00:00:00:00:00:00 sipv6::: sipv6::: sipv4:192.168.61.3 dipv4:192.168.60.60 proto:17 sport:0 dport:5003,idletmo:0, metadata:0, act=[(Output:normal)(Output:controller),(Set IP ToS:46),(Set Vlan pcp:6)]

110. Wed Jun 22 15:24:33 2016 : PORT DEL : name:spi5371BD00in, dp_port:65553, ofp_port:14

109. Wed Jun 22 15:24:33 2016 : PORT DEL : name:spiFD0D7900out, dp_port:65554, ofp_port:13

Related Commands

Command

Description

openflow-profile

This command configures OpenFlowOpenFlow is an open communications interface between control plane and the forwarding layers of a network. profile on the managed device.

Command History

Release

Modification

ArubaOS 8.0.0.0

Command introduced.

Command Information

Platforms

License

Command Mode

All platforms

PEFNGPolicy Enforcement Firewall. PEF also known as PEFNG provides context-based controls to enforce application-layer security and prioritization. The customers using Aruba mobility controllers can avail PEF features and services by obtaining a PEF license. PEF for VPN users—Customers with PEF for VPN license can apply firewall policies to the user traffic routed to a controller through a VPN tunnel. license.

Config or Enable mode on managed device.

/*]]>*/