ZXR102900SeriesUserManual
CommandFunction
zte(cfg)#setvlan-translation
ingress-port<feport-id>{enable|
disable}
Thisenablesordisables
VLANtranslation.
zte(cfg)#clearvlan-translation
ingress-port<feport-id>
Thisclearsthe
congurationofVLAN
translation.
zte(cfg)#setvlan-translation
ingress-port<feport-id>ingress-vlan
<vlan-list>egress-port<geport-id>
egress-vlan<vlan-list>
ThissetsVLAN
translation.
zte(cfg)#showvlan[<vlanlist>]ThisdisplaysVLAN
information.
Note:
ThelogiclinkthroughlinkaggregationiscalledasTrunk.One
Trunkiscomposedofmultiplephysicalports.Referto“BasicCon-
gurationofLACP”formoredetailedinformation.
VLANConfigurationExample
1.ThefollowingexampleshowshowtoconguresaVLAN.
Note:
Bydefault,VLAN1isenabled,allportsareinVLAN1andin
modeofuntag.
CongureVLAN100.Adduntaggedports1and2andtagged
ports7and8.Thedetailedcongurationisasfollows:
zte(cfg)#setvlan100addport1,2untag
zte(cfg)#setvlan100addport7,8tag
zte(cfg)#setport1,2pvid100
zte(cfg)#setvlan100enable
zte(cfg)#showvlan100
VlanId:100VlanStatus:enabled
VlanName:
VlanMode:Static
Taggedports:7-8
Untaggedports:1-2
Forbiddenports:
2.ThefollowingexampleshowshowtoconguretheVLANtrans-
parenttransmission.
AsshowninFigure41
,switchAisconnectedtoswitchB
throughport16.Port1ofswitchAandport2ofswitch
BbelongtoVLAN2,andport3ofswitchAandport4of
switchBbelongtoVLAN3.MembersofthesameVLANcan
communicatewitheachother .
80CondentialandProprietaryInformationofZTECORPORATION