diff options
author | thompsa <thompsa@FreeBSD.org> | 2005-12-14 02:52:13 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2005-12-14 02:52:13 +0000 |
commit | dbd94fcd442b994abe665d34aeab2f591f98f217 (patch) | |
tree | 9d77641fd4a325856117cac0087488e049e353bd /sbin/ifconfig/ifconfig.8 | |
parent | 952c53a74a9de27a465719536a17a0cbd0ef1a4e (diff) | |
download | FreeBSD-src-dbd94fcd442b994abe665d34aeab2f591f98f217.zip FreeBSD-src-dbd94fcd442b994abe665d34aeab2f591f98f217.tar.gz |
Add support for creating span ports so that one can snoop bridged traffic
from another interface/machine/network.
Obtained from: OpenBSD
MFC after: 2 weeks
Diffstat (limited to 'sbin/ifconfig/ifconfig.8')
-rw-r--r-- | sbin/ifconfig/ifconfig.8 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8 index 5f0853b..0aa6e67 100644 --- a/sbin/ifconfig/ifconfig.8 +++ b/sbin/ifconfig/ifconfig.8 @@ -1106,6 +1106,17 @@ This is the default for all interfaces added to a bridge. Clear the .Dq learning attribute on a member interface. +.It Cm span Ar interface +Add the interface named by +.Ar interface +as a span port on the bridge. +Span ports transmit a copy of every frame received by the bridge. +This is most useful for snooping a bridged network passively on +another host connected to one of the span ports of the bridge. +.It Cm -span Ar interface +Delete the interface named by +.Ar interface +from the list of span ports of the bridge. .It Cm stp Ar interface Enable Spanning Tree protocol on .Ar interface . |