[ovs-discuss] 32 bit port numbers for actions

Ben Pfaff blp at nicira.com
Sat Dec 6 17:43:51 UTC 2014


On Sat, Dec 06, 2014 at 06:53:21PM +0530, Amar Bapu wrote:
> Iam trying to use ovs-ofctl add-flow   to add a flow  which outputs to a
> port  100664146 .
> The command i am using is below:
> 
> ovs-ofctl -O OpenFlow13 -v add-flow tcp:10.10.10.65:6634
> cookie=0xababe,table=100,priority=300,udp,tp_dst=53,actions=output:100664146
> 
> 2014-12-06T13:28:06Z|00001|ofp_util|WARN|port 100664146 is outside the
> supported range 0 through ffff or 0xffffff00 through 0xffffffff
> ovs-ofctl: 100664146: output to unknown port
> 
> But ovs-ofctl seems to be rejecting the port number. Openflow 1.1+ allows
> for 32 bit port numbers not sure why ovs-ofctl does not work. Am i using
> the right command line ?

ovs-ofctl doesn't support 32-bit port numbers.  That's not a problem for
interacting with Open vSwitch as a switch, since Open vSwitch always
assigns port numbers in the 16-bit range.  It might be a problem if you
are using ovs-ofctl with some other OpenFlow switch that has
high-numbered ports; sorry.



More information about the discuss mailing list