Siemens S223 User Manual

Page of 381
User Manual                                                                               UMN:CLI 
SURPASS hiD 6615 S223/S323 R1.5 
A50010-Y3-C150-2-7619                                                                         189 
8.1.10 VLAN 
Translation 
VLAN Translation is simply an action of Rule. This function is to translate the value of 
specific VLAN ID which classified by Rule. The switch makes Tag adding PVID on 
Untagged packets, and use Tagged Packet as it is. That is, all packets are tagged in the 
Switch, and VLAN Translation is to change the VLAN ID value of Tagged Packet in the 
Switch. This function is to adjust traffic flow by changing the VLAN ID of packet. 
Step 1 
Open Rule Configuration mode using rule NAME create command.. 
Step 2 
Classify the packet that VLAN Translation will be applied by Rule.. 
Step 3 
Designate the VLAN ID that will be changed in the first step by the match vlan <1-4094> 
command. 
Step 4 
Open Bridge Configuration mode using the bridge command. 
Step 5 
Add the classified packet to VLAN members of the VLAN ID that will be changed. 
 
8.1.11 Sample 
Configuration 
[Sample Configuration 1] Configuring Port-based VLAN 
The following is assigning vlan id of 2,3 and 4 to port 2, port 3, and port 4. 
default br2
br3
br4
 
SWITCH(bridge)# vlan create 2 
SWITCH(bridge)# vlan create 3 
SWITCH(bridge)# vlan create 4 
SWITCH(bridge)# vlan del default 2-4 
SWITCH(bridge)# vlan add 2 2 untagged 
SWITCH(bridge)# vlan add 3 3 untagged 
SWITCH(bridge)# vlan add 4 4 untagged 
SWITCH(bridge)# vlan pvid 2 2 
SWITCH(bridge)# vlan pvid 3 3 
SWITCH(bridge)# vlan pvid 4 4 
SWITCH(bridge)# show vlan 
                            u:  untagged  port,  t:  tagged  port 
        -----------------------------------------------------------------