ZXR105250SeriesCongurationGuide
ConguringVLANMapping
TheVLANmappingcongurationincludesthefollowingcommands:
CommandFunction
zte(cfg)#setvlanmappingsession<session_id>customer-port
<port-id>customer-vlan<vlan-list>uplink-vlan<vlan-id>
SetstheVLANMappingfunction.
WhentheVLANMappingis
enabled,theuplinktrafcis
normallyforwardedinSPVLAN.
Thedownlinktrafcisnormally
forwardedinSPVLAN.When
reachingtheuserport,itis
transformedtothecorresponding
CVLANtag.
zte(cfg)#clearvlanmappingDeletesallVLANMapping
sessions.
zte(cfg)#clearvlanmappingsession<1-400>DeletesthespeciedVLAN
Mappingsession.
zte(cfg)#clearvlanmappinguserDeletestheuserinformationofall
VLANMappingsessions.
zte(cfg)#clearvlanmappingusersession<1-400>Deletestheuserinformationofthe
speciedVLANMappingsession.
showvlanmapping(allcongurationmodes)DisplaysallVLANMapping
sessions.
showvlanmappingsession<1-400>(allcongurationmodes)DisplaysthespeciedVLAN
Mappingsession.
showvlanmappinguser-table(allcongurationmodes)Displaystheuserinformationofall
VLANMappingsessions.
showvlanmappinguser-tablesession<1-400>(allconguration
modes)
Displaystheuserinformation
ofthespeciedVLANMapping
session.
VLANMappingCongurationInstance
lCongurationDescription
Theport1isoncustomernetwork,andtheport24isonserviceprovidernetwork,see
Figure5-29.Mapthepacketsreceivedfromport1,andwhoseCVLANsarebetween
1-100,toSPVLAN1000.
5-88
SJ-20131111172707-002|2013-11-27(R1.0)ZTEProprietaryandCondential