Bridge
Bridge command reference
iMG/RG Software Reference Manual (ADSL Port)
8-46
8.4.3.1.11 BRIDGE SET INTERFACE PORTFILTER
Syntax
BRIDGE SET INTERFACE
{<name>|<number>}
PORTFILTER {ALL
|<port>}
Description
This command controls the bridge’s forwarding and broadcasting behavior. It allows you
to set a portfilter on a bridge interface to determine which port or ports multicast and
unknown packets should be forwarded to.
This command sets one destination port at a time. If you want to forward packets to sev-
eral ports, enter a bridge set interface portfilter <port> command for each port. If you
want to forward packets to all ports, enter the command and specify the all value.
Note:
If a unicast packet is received by an interface with a portfilter set to all, the portfilter rule is
ignored. The unicast packet is still only sent to one port.
Note:
If the bridge itself is attached to the router, the bridge itself will always forward to all ports and
will always be forwarded to by all ports.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Example
--> bridge set interface bridge1 portfilter ethernet
See also
BRIDGE SHOW INTERFACE
8.4.3.1.12 BRIDGE SHOW
Syntax
BRIDGE SHOW
Description
This command shows the global configuration settings for the bridge. The following
bridge information is displayed:
Option
Description
Default Value
name
An existing bridge interface. To display interface names,
use the
BRIDGE LIST INTERFACES
command.
N/A
number
An existing bridge interface. To display interface numbers,
use the
BRIDGE LIST INTERFACES
command.
The number appears in the first column under the heading
ID.
N/A
port
The name of the existing port that you want packets,
received on a specified bridge interface, to be forwarded
to. To display port names, use the
PORT ?
command.
all
all
Forwards packets, received on a specified bridge interface,
to all existing bridge ports.