![Amer.com SS2GD8I Скачать руководство пользователя страница 42](http://html1.mh-extra.com/html/amer-com/ss2gd8i/ss2gd8i_user-manual_2921991042.webp)
36
Figure 3-32: VLAN Tag Rule Page
Port No:
Port number.
PVID:
The PVID range is between 1-4094. Before you set a number x as PVID, you have to create a Tag-
based VLAN with VID x. For example, if port x receives an untagged packet, the switch will apply the
PVID (assume as VID y) of port x to tag this packet, the packet then will be forwarded as a tagged packet
with VID y.
Rule 1:
Forward only packets with VID matching this port’s configured VID. You can apply Rule 1 to a
given port to filter unwanted traffic. Using Rule 1, a given port checks if the destination port is a member
of the VLAN to which the received packet belongs to in order to determine whether to forward it or not.
For example, if port 1 receives a tagged packet with VID=100 (VLAN name=VLAN100), and if Rule 1 is
enabled, the switch will check if port 1 is a member of VLAN100. If it is, the received packet is forwarded;
otherwise, the received packet is dropped.
Rule 2:
Drop untagged frame. You can configure a given port to accept all frames (Tagged and Untagged)
or just receive tagged frames. If the former is the case, then tagged and untagged packets will be
processed. If the latter is the case, only packets containing VLAN tags will be processed, the rest of the
packets will be discarded.
Example:
If Rule 1 is enabled and port 1 receives an untagged packet, the switch will
apply the PVID of port 1 to tag this packet, the packet will then will be forwarded. But if
the PVID of port 1 is 100 and port 1 is not a member of VLAN 100, the packet will be
dropped.
Role:
This is an egress rule for the port. The available options are Access, Trunk or Hybrid. Trunk means
that outgoing packets must carry a VLAN tag header. Access means that outgoing packets carry no VLAN
tag header. If packets have double VLAN tags, one will be dropped and the other will still be left. Hybrid is
similar to Trunk, in that both of them will send tags out. However, when the port is set to Hybrid, its
packets will be untagged out if the VID of the outgoing packet with tags is the same as the one in the
Untag VID field for this port.
Untag VID:
Valid range is 1-4094. Only used when Role is set to Hybrid.
3.11 MAC Table
The MAC Table menu provides different functions for viewing and managing the MAC address table on
the switch. The different pages are describe in detail in the following sections.