40 vlan-translation enable, 40 vlan-translation enable -58 – PLANET WGSW-52040 User Manual

Page 289

Advertising
background image

17-58

Example:

Move the VLAN100 data entered from the port1 to VLAN2 after ingress translation.

Switch#config

Switch(config)#vlan-translation 100 to 2 in

Switch(config)#interface ethernet 1/1

Switch(Config-If-Ethernet1/1)#vlan-translation enable

Switch(Config-If-Ethernet1/1)#exit

Switch(config)#

17.1.40 vlan-translation enable

Command:

vlan-translation enable

no vlan-translation enable

Function:

Enable VLAN translation on the port; the no command restores to the default value.

Parameter:

None.

Command Mode:

Port Mode.

Default:

VLAN translation has not been enabled on the port by default.

Usage Guide:

vlan-translation and dot1q-tunnel are mutually exclusive, it is recommended to enable

vlan-translation on trunk

port and manually disable port filtering.

Example:

Enable VLAN translation function on port1.

Switch#config

Switch(config)#interface ethernet 1/1

Switch(Config-If-Ethernet1/1)#vlan-translation enable

Advertising