Atlantis Land A02-RA(Atmos)_ME01 manual interface, portfilter, Example, Syntax, Description

Models: A02-RA(Atmos)_ME01

1 112
Download 112 pages 14.35 Kb
Page 24
Image 24

command is a synonym for this command.

3.8.3 Example

info

3.9interface

3.9.1Syntax

interface [sub-command]

3.9.2 Description

This command accesses the ethernet support library sub-commands for the bridge itself, not for the devices which are attached to it.

It is not described here.

3.9.3 Example

interface stats

3.10portfilter

3.10.1Syntax

portfilter [<source port> all<destination ports>]

3.10.2 Description

The portfilter command allows control over the bridge’s forwarding and broadcasting behaviour. By default, when a multicast or an unknown packet is received on a port (referred to above as the source port), it will be forwarded to all other bridge ports (referred to above as the destination ports).

Each bridge port may have its behaviour modified separately. The first example below configures the bridge so that packets arriving on port 2 will only be forwarded to ports 3, 4 and 5, and packets arriving on port 3 will only be forwarded to port 1. All other ports retain their default behaviour.

Note that this command does not force packets arriving on the source port to be sent to all specified destination ports. The bridge retains its learning behaviour, so unicast packets, once their destination is known to the bridge, will still only be sent to one port. Note also that the bridge itself (for example when attached to the IP router) will always forward to all ports, and will always be forwarded to by all ports.

The default behaviour can be restored by calling this command with the argument all, as shown in the second example.

The ports are specified as integers, as displayed by the device list command. When using this command in the initbridge configuration file, ports are numbered in the order in which the device add commands are given, starting from 1.

Page 24
Image 24
Atlantis Land A02-RA(Atmos)_ME01 manual interface, portfilter, Example, Syntax, Description