User's Manual

Table Of Contents
15-26
Configuration procedure is as follows:
PE1
PE2:
switch(Config)#interface ethernet 1/0/1
switch(Config-Ethernet1/0/1)#switchport mode trunk
switch(Config-Ethernet1/0/1)# vlan-translation enable
switch(Config-Ethernet1/0/1)# vlan-translation 20 to 3 in
switch(Config-Ethernet1/0/1)# vlan-translation 3 to 20 out
switch(Config-Ethernet1/0/1)# exit
switch(Config)#interface ethernet 1/0/1
switch(Config-Ethernet1/0/1)#switchport mode trunk
switch(Config-Ethernet1/0/1)#exit
switch(Config)#
15.4.4 VLAN-translation Troubleshooting
Normally the VLAN-translation is applied on trunk ports.
Priority of vlan translation and vlan ingress filtering for processing packets is: vlan translation > vlan ingress
filtering
15.5 Dynamic VLAN Configuration
15.5.1 Introduction to Dynamic VLAN
The dynamic VLAN is named corresponding to the static VLAN (namely the port based VLAN). Dynamic
VLAN supported by the switch includes MAC-based VLAN, IP-subnet-based VLAN and Protocol-based VLAN.
Detailed description is as follows:
The MAC-based VLAN division is based on the MAC address of each host, namely every host with a MAC
address will be assigned to certain VLAN. By the means, the network user will maintain his membership in his
belonging VLAN when moves from a physical location to another. As we can see the greatest advantage of
this VLAN division is that the VLAN does not have to be re-configured when the user physic location change,
namely shift from one switch to another, which is because it is user based, not switch port based.
The IP subnet based VLAN is divided according to the source IP address and its subnet mask of every host. It
assigns corresponding VLAN ID to the data packet according to the subnet segment, leading the data packet
to specified VLAN. Its advantage is the same as that of the MAC-based VLAN: the user does not have to
change configuration when relocated.
The VLAN is divided by the network layer protocol, assigning different protocol to different VLANs. This is very
attractive to the network administrators who wish to organize the user by applications and services. Moreover
the user can move freely within the network while maintaining his membership. Advantage of this method
enables user to change physical position without changing their VLAN residing configuration, while the VLAN
can be divided by types of protocols which is important to the network administrators. Further, this method has
no need of added frame label to identify the VLAN which reduce the network traffic.