H3C Technologies H3C S7500E Series Switches User Manual

Page 83

Advertising
background image

5-4

VLAN

operation

mode

Direction

With or without

VLAN tag

Packet processing

Tagged

If the VLAN ID in the frame’s VLAN tag

matches a VLAN translation entry configured

on the UNI port, the UNI port replaces this

VLAN ID with the corresponding VLAN ID in

the matched VLAN translation entry and then

forwards the frame.

If the VLAN ID in the frame’s VLAN tag does

not match any VLAN translation entry, the UNI

port drops the frame.

Uplink

Untagged

The UNI port tags the frame with its PVID tag and
then forwards it.

Tagged

If the VLAN ID in the frame’s VLAN tag

matches a VLAN translation entry configured

on the UNI port, the UNI port replaces this

VLAN ID with the corresponding VLAN ID in

the matched VLAN translation entry and then

forwards the frame.

If the VLAN ID in the frame’s VLAN tag is the

UNI port’s PVID, the UNI port removes the

frame’s VLAN tag and then forwards the

frame.

If the VLAN ID in the frame’s VLAN tag does

not match any VLAN translation entry, the UNI

port drops the frame.

VLAN
translation
mode

Downlink

Untagged

The UNI port drops the frame.

Follow these steps to configure the VLAN operation mode for a UNI:

To do...

Use the command...

Remarks

Enter system view

system-view

Enter ONU port view

interface

onu interface-number

Transparent

mode

uni uni-number vlan-mode transparent

Tag mode

uni uni-number vlan-mode tag vlanid

[ priority

priority-value

]

Configure

the VLAN

operation

mode of a

UNI port

Translation

mode

uni uni-number vlan-mode translation pvid pvid

[ priority

priority

] { oldvid to newvid } &<1-15>

Optional
The default
mode is
transparent

.

Advertising