Chapter5ServiceConguration
CustomerVlanList:20
Voice-vlan:100
Ouiconfiged:
oui-id:1mac:00.00.01.00.00.02mask:FF.FF.FF.FF.FF.FF
5.40MAC-basedVLANCommandConguration
MAC-basedVLANOverview
TheMAC-basedVLANdecidestheVLANforforwardinganuntaggedframebasedonthe
sourceMACaddressoftheframe.Thistechnologyallowspacketstobetransmittedin
differentVLANsandprovidesdifferentservicestodifferentusers.
ConguringMAC-basedVLAN
TheMAC-basedVLANcongurationincludesthefollowingcommands:
CommandFunction
zte(mac-based-vlan)#rule<1-1024>mac-address
<HH.HH.HH.HH.HH.HH>mac-mask<HH.HH.HH.HH.HH.HH>
vlan<1-4094>
SetsaruleforMAC-basedVLAN.
zte(mac-based-vlan)#clearrule<1-1024>
ClearsaruleforMAC-based
VLAN.
zte(cfg)#setvlanmac-based{global|port<portlist>}session
<1-64>{bind|unbind}
Setsthebindingrelationbetween
global/portandsessionsof
MAC-basedVLAN.
showvlanmac-basedsession[<1-64>]
Displaysallrulesofallor
onesessionconguredfora
MAC-basedVLAN.
showvlanmac-basedsession[<1-64>]bind
Displaysthebindingrelations
betweenaportandallor
onesessionconguredfora
MAC-basedVLAN.
MAC-BasedVLANCongurationInstance
lCongurationDescription
SetthefollowingMAC-basedVLANruleforport1:AssigntheVLAN"vlan100"
toalluntaggedframeswhosesourceMACaddressis00.00.00.00.00.01and
assigntheVLAN"vlan200"toalluntaggedframeswhosesourceMACaddressis
00.d0.d0.00.00.00.
lCongurationProcedure
CongureaMAC-basedVLANinstance:
5-141
SJ-20131111172707-002|2013-11-27(R1.0)ZTEProprietaryandCondential