Layer 2 filtering – Allied Telesis Rapier Switch User Manual
Page 46

46
Rapier Switch User Guide
Rapier Switch Software Release 2.2.1
C613-02013-00 Rev A
This whole process can further be modified by the action of static switch filters.
These are configurable filters which allow switched frames to be checked
against a number of entries.
The Forwarding Process provides storage for queued frames to be transmitted
over a particular port or ports. More than one transmission queue may be
provided for a given port. Which transmission queue a frame is sent to is
determined by the user priority tag in the Ethernet frame, and the Quality of
Service mapping.
Layer 2 Filtering
The switch has a Forwarding Database, entries in which determine whether
frames are forwarded or discarded over each port. Entries in this Forwarding
Database are created dynamically by the Learning Process. A dynamic entry is
automatically deleted from the Forwarding Database when its ageing timer
expires. Filtering is specified in the IEEE 802.1D Standard “Media Access Control
(MAC) Bridges”.
The user can configure static switch filter entries using the command line
interface. Static switch filter entries associate a MAC address with a VLAN and
a port in the VLAN. When the switch receives a frame with a destination
address and VLAN Identifier that match those of a static filter entry, the frame
can be either forwarded to the port specified in the static filter entry, or
discarded.
The Forwarding Database supports queries by the Forwarding Process as to
whether frames with given values of the destination MAC address field should
be forwarded to a given port.
To add or delete static switch filter entries, use the commands:
ADD SWITCH FILTER DESTADDRESS=macadd ACTION={FORWARD|DISCARD}
PORT[=port-list] [ENTRY=entry] [VLAN={vlanname|1..4094}]
DELETE SWITCH FILTER ENTRY=entry-list
The switch automatically deletes static filter entries for a port if the port is deleted from
the specified VLAN.
To display current static switch filter entries, use the command:
SHOW SWITCH FILTER [DESTADDRESS=macadd] [ENTRY=entry]
[PORT=port-list] [VLAN={vlanname|1..4094}]
Figure 12: Example output from the SHOW SWITCH FILTER command.
Switch Filters
---------------------------------------------------------------------------
Entry VLAN Destination Address Port Action Source
---------------------------------------------------------------------------
0 default (1) aa-ab-cd-00-00-01 1 Forward static
1 default (1) aa-ab-cd-00-00-02 1 Forward static
0 marketing (2) aa-ab-cd-00-00-01 2 Discard static
1 marketing (2) aa-ab-cd-00-00-02 2 Discard learn
---------------------------------------------------------------------------