Is there a way to configure two ports on the SX6036 in a type of "direct connect" mode where all packets received on one interface are immediately forwarded out the second interface?

I have a system with two ports connected to an SX6036 switch. The system is somewhat inaccessible so that I can’t directly connect two ports with a cable in a loopback configuration so I need to configure the switch appropriately. I’ve been trying to use Openflow functionality with a custom ryu script to enable the functionality I want but the switch won’t forward packets. Here’s what I see on the switch after it’s configured by the ryu script:

Command execution results: all commands succeeded

Execution transcript:

switch-5ecae6 (config) # enable

switch-5ecae6 (config) # configure terminal

switch-5ecae6 (config) # show openflow flows

Flow id: 21

priority: 32768

hard timeout: infinite

idle timeout: 0 sec

ingress interface: Eth1/6

actions:

output port Eth1/5

statistics:

7392325 packets, 0 bytes

Flow id: 22

priority: 32768

hard timeout: infinite

idle timeout: 0 sec

ingress interface: Eth1/5

actions:

output port Eth1/6

statistics:

0 packets, 0 bytes

Am I missing some step in the Openflow configuration?

Hi David,

I assume it’s a SwitchX device, right?

what is the exact topology? seems like you have stp blocking one of the ports

try to disable stp with :

(config)# no spanning-tree

what is the software version?

show version concise

show openflow