39 vlan-translation, 39 vlan-translation -57 – PLANET WGSW-52040 User Manual

Page 288

Advertising
background image

17-57

Global 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)#no vlan ingress enable

17.1.39 vlan-translation

Command:

vlan-translation <old-vlan-id> to <new-vlan-id> in

no vlan-translation <old-vlan-id> in

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:

Global/Port Mode.

Default:

There is no VLAN translation relation.

Usage Guide:

The command is for configuring the 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 forward the packets of the original VLAN if not match. This command can not

be used with dot1q-tunnel enable at the same time.

Advertising