Hi, Alex,

Thanks for response. I tried that command before, no port number is shown.

On Tue, Jun 30, 2015 at 9:50 AM, Alex Wang <[email protected]> wrote:

>
>
> On Tue, Jun 30, 2015 at 9:48 AM, Xuemei Liu <[email protected]> wrote:
>
>> Hi,
>>
>> I want to generate forwarding rules for ovs, and need to get the port id
>> (0, 1, ...) at the
>>
>
>
> Assume you are talking about OpenFlow flows, then please use 'ovs-ofctl
> show <bridge-name>'
>
>
>
>> ovs from the port name (eth0, ...).  I tried ovs-vsctl show, ovs-dpctl
>> show, but they don't show the port id. Could anyone tell me the commands to
>> implement this task?
>>
>> Thanks,
>> Xuemei Liu
>>
>> _______________________________________________
>> discuss mailing list
>> [email protected]
>> http://openvswitch.org/mailman/listinfo/discuss
>>
>>
>
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to