On Wed, Aug 01, 2012 at 10:39:50AM -0700, Gurucharan Shetty wrote: > On Thu, Jul 26, 2012 at 10:27 PM, Ben Pfaff <b...@nicira.com> wrote: > > > Signed-off-by: Ben Pfaff <b...@nicira.com> > > --- > > FAQ | 93 > > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > 1 files changed, 93 insertions(+), 0 deletions(-) > > > > diff --git a/FAQ b/FAQ > > index bdd96ce..7cba6f0 100644 > > --- a/FAQ > > +++ b/FAQ > > @@ -168,6 +168,99 @@ A: Tunnel and patch virtual ports are not supported, > > as described in the > > may not be transmitted. > > > > > > +Basic Configuration > > +------------------- > > + > > +Q: How do I configure a port as an access port? > > + > > +A: Add "tag=VLAN" to your "ovs-vsctl add-port" command. For example, > > + the following commands configure br0 with eth0 as a trunk port (the > > + default) and tap0 as an access port for VLAN 9: > > + > > + ovs-vsctl add-br br0 > > + ovs-vsctl add-port br0 eth0 > > + ovs-vsctl add-port br0 tap0 tag=9 > > + > > + If you want to configure an already added port as an access port, > > + use "ovs-vsctl set", e.g.: > > + > > + ovs-vsctl set port tap0 tag=9 > > + > > +Q: How do I configure a port as a SPAN port, that is, enable mirroring > > + of all traffic to that port? > > + > > +A: The following commands configure br0 with eth0 and tap0 as trunk > > + ports. All traffic coming in or going out on eth0 or tap0 is also > > + mirrored to tap1; any traffic arriving on tap1 is dropped: > > + > > + ovs-vsctl add-br br0 > > + ovs-vsctl add-port br0 eth0 > > + ovs-vsctl add-port br0 tap0 > > + ovs-vsctl add-port br0 tap1 \ > > + -- --id=@p get port tap1 \ > > + -- --id=@m create mirror name=m0 select-all=true output-port=@p > > \ > > + -- set bridge br0 mirrors=@m > > > Shouldn't we be using "_" instead of "-" in output-port? Same for all other > commands below.
For column names it doesn't matter, because ovs-vsctl accepts both forms. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev