37 vlan-translation, 37 vlan-translation -71 – PLANET XGS3-24042 User Manual
Page 225

12-71
ingress rule.
Command mode:
Port Mode.
Default:
Enable VLAN ingress filtering function.
Usage Guide:
After VLAN ingress filtering is enabled on the port, when the system receives data it will check
source port first, and forwards the data to the destination port if it is the VLAN member port, or else
drop the data.
Example:
Disable VLAN ingress rules on the port.
Switch(Config-If-Ethernet1/0/1)# no vlan ingress enable
12.1.37 vlan-translation
Command:
vlan-translation
no vlan-translation
Function:
Add VLAN translation by creating a mapping between original VLAN ID and current VLAN ID; the no
form of this command deletes corresponding mapping.
Parameter:
old-vlan-id is the original VLAN ID; new-vlan-id is the translated VLAN ID; in indicates ingress
translation.
Command Mode:
Port Mode.
Default:
There is no VLAN translation relation.
Usage Guide:
The command is for configuring the in and out translation relation of the VLAN translation function.
The data packets will be matched according to the configured translation relations, and its VLAN ID
will be changed to the one in the configured item once matched, while the vlan-translation miss drop
command will determine the next forwarding if not match.
Example:
Move the VLAN100 data entered from the port1 to VLAN2 after ingress translation.
Switch#config
Switch(config)#interface ethernet 1/0/1