beautypg.com

3 vlan-translation enable, 4 vlan-translation miss drop, 4 typical application of vlan-translation – Accton Technology ES4626 User Manual

Page 190

background image

190

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

5.4.3.3 vlan-translation enable

Command: vlan-translation enable

no vlan-translation enable

Function:

Enable VLAN translation on specified trunk port of the switch; the “no

vlan-translation enable

” 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:

To apply VLAN translation on the port the dot1q-tunnel function must be

first enabled and configured at trunk port.

Example:

Enable VLAN translation function on port1

Switch#config

Switch(config)#interface ethernet 4/1

Switch(Config-If-Ethernet4/1)#dot1q-tunnel enable

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

5.4.3.4 vlan-translation miss drop

Command:vlan-translation miss drop {in|out|both}

no vlan-translation miss drop {in|out|both}

Function:

Set to packet dropping upon translation failure; the “no” form of this command

restores to the default value.

Parameter:

In refers to entrance; out indicates exit; both represents bidirectional.

Command Mode:

Port Mode

Default:

No packet dropping upon translation failure by default.

Usage Guide:

When performing the mapping translation between the original and the

current VID, if no translation correspondence is configured, the packet will not be

dropped by default, but will after use this command.

Example:

Set to packet dropped at entrance of port1 when translation fails.

Switch(Config-If-Ethernet4/1)#vlan-translation miss drop in

5.4.4 Typical application of VLAN-translation

Scenario

Edge switch PE1 and PE2 of the ISP internet support the VLAN20 data task

between CE1 and CE2 of the client network with VLAN3. The port1 of PE1 is connected

to CE1, port10 is connected to public network; port1 of PE2 is connected to CE2, port10

is connected to public network. (as shown in Figure5-4)

This manual is related to the following products: