beautypg.com

Modify a static vlan table example, Forwarding process example – ZyXEL Communications ZyXEL Dimension ES-2024 User Manual

Page 179

background image

Dimension ES-2024 Ethernet Switch

IEEE 802.1Q Tagged VLAN

27-7

sys sw vlan1q svlan setentry

where

=

A name to identify the SVLAN entry.

=

The VLAN ID [1 – 2048].

=

This is the switch port number.

=

This is the registrar administration control flag.
Valid parameters = [

fixed

,

forbidden

,

normal

].

Enter

fixed

to register a to the static VLAN table with .

Enter

normal

to confirm registration of the to the static VLAN

table with .
Enter

forbidden

to block a from joining the static VLAN table

with .

=

This is the tag control flag. Valid parameters = [

tag

|

untag

].

Enter

tag

to tag outgoing frames.

Enter

untag

to send outgoing frames without a tag.

This command adds or modifies an entry in the static VLAN table. Display your configuration by using the

sys

sw vlan1q

svlan list command. An example of a configuration is shown next.

Modify a Static VLAN Table Example

The following is an example of how to modify a static VLAN table.

Figure 27-12 Modifying the Static VLAN Example

Forwarding Process Example

Tagged Frames

Step 1.

First the switch checks the VLAN ID (VID) of tagged frames or assigns temporary VIDs to untagged
frames (see Section 27.4.7).

Step 2.

The switch then checks the VID in a frame’s tag against the SVLAN table.

Step 3.

The switch notes what the SVLAN table says (that is, the SVLAN tells the switch whether or not to
forward a frame and if the forwarded frames should have tags).

Step 4.

Then the switch applies the port filter to finish the forwarding decision. This means that frames may be
dropped even if the SVLAN says to forward them. Frames might also be dropped if they are sent to a
CPE (customer premises equipment) DSL device that does not accept tagged frames.

Untagged Frames

Step 1.

An untagged frame comes in from the LAN.

1.

ras> sys sw vlan1q svlan setentry 2000 1 fixed tag

2.

ras> sys sw vlan1q svlan setentry 2001 2 fixed tag