Chapter4ServiceConguration
ConguringVLANMapping
TheVLANmappingcongurationincludesthefollowingcommands:
CommandFunction
zte(cfg)#setvlanmappingsession<session_id>customer-port<<port-id>
customer-vlan<vlan-list>uplink-vlan<vlan-id>
SetstheVLANMappingfunction.
WhentheVLANMappingisenabled,
theuplinktrafcisnormallyforwarded
inSPVLAN.Thedownlinktrafcis
normallyforwardedinSPVLAN.When
reachingtheuserport,itistransformed
tothecorrespondingCVLANtag.
zte(cfg)#clearvlanmappingDeletesallVLANMappingsessions.
zte(cfg)#clearvlanmappingsession<1-400>
DeletesthespeciedVLANMapping
session.
zte(cfg)#clearvlanmappinguser
DeletestheuserinformationofallVLAN
Mappingsessions.
zte(cfg)#clearvlanmappingusersession<1-400>
Deletestheuserinformationofthe
speciedVLANMappingsession.
showvlanmapping(allcongurationmodes)DisplaysallVLANMappingsessions.
showvlanmappingsession<1-400>(allcongurationmodes)
DisplaysthespeciedVLANMapping
session.
showvlanmappinguser-table(allcongurationmodes)
Displaystheuserinformationofall
VLANMappingsessions.
showvlanmappinguser-tablesession<1-400>(allcongurationmodes)
Displaystheuserinformationofthe
speciedVLANMappingsession.
VLANMappingCongurationInstance
lCongurationDescription
Theport1isoncustomernetwork,andtheport24isonserviceprovidernetwork,as
showninFigure4-48.Mapthepacketsreceivedfromport1,andwhoseCVLANsare
between1-100,toSPVLAN1000.
4-121
SJ-20120409144109-002|2012-07-02(R1.0)ZTEProprietaryandCondential