ZXR102900ESeriesCongurationGuide
CommandFunction
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:
zte(cfg)#setvlan100,200enable
zte(cfg)#setvlan100,200addport1untag
zte(cfg)#setvlan10,12addport1tag
zte(cfg)#configmac-based-vlansession1
zte(mac-based-vlan)#rule1mac-address00.00.00.00.00.01mac-mask
ff.ff.ff.ff.ff.ffvlan100
zte(mac-based-vlan)#rule2mac-address00.d0.d0.00.00.00mac-mask
ff.ff.ff.00.00.00vlan200
zte(cfg)#setvlanmac-basedport1session1bind
5.45DHCPRelayConguration
DHCPRelayOverview
DHCPRelayinteractswithboththeClientandtheServer,actingdifferentroles.Fromthe
viewoftheDHCPClient,theDHCPRelayAgentcanbeconsideredasitsDHCPServer
andtheDHCPRelayimplementstheresponsetotheIPaddressrequestsfromtheClient.
Forthis,theDHCPRelayAgentneedstointerceptontheinterceptionportoftheDHCP
Server.FromtheviewoftheDHCPServer,theDHCPRelayAgentcanbeconsidered
asitsDHCPClientandtheDHCPRelayinitiatesIPaddressrequests.Forthis,theIP
addressoftheinterfacethroughwhichmessagesarereceivedmustbelledintheRelay
AgenteldoftheDHCPrequestmessagesforwardedbytheDHCPRelay.
5-160
SJ-20130731155059-002|2013-11-27(R1.0)ZTEProprietaryandCondential