Chapter5ServiceConguration
zte(cfg)#cfmmd-session10ma-session10mep-id20ais(lck)enable
zte(cfg)#cfmmd-session10ma-session10mep-id20client-level5
CongurationonS4:
zte(cfg)#cfmenable
zte(cfg)#createcfmmd-session1namezte_1level5
zte(cfg)#createcfmmd-session1ma-session1namezte_zte_1
zte(cfg)#cfmmd-session1ma-session1primary-vlan100
zte(cfg)#createcfmmd-session1ma-session1mep-session1mep-id2
directiondown
zte(cfg)#cfmmd-session1ma-session1mep-id2stateenable
zte(cfg)#cfmmd-session1ma-session1mep-id2ccm-sendenable
zte(cfg)#cfmmd-session1ma-session1mep-id2ccm-receiveenable
zte(cfg)#cfmmd-session1ma-session1mep-id2assignport6
zte(cfg)#createcfmmd-session1ma-session1rmep-session2rmep-id1
remote-mac00.d0.d0.c0.00.01
zte(cfg)#cfmmd-session1ma-session1mep-id1ccm-receiveenable
zte(cfg)#cfmmd-session1ma-session1mep-id1ais(lck)enable
lCongurationVerication
DisconnectthelinkbetweenS2andS3.Afterthat,alarmsoccurononlyS2andS3,
andunrelatedalarmsonS1andS4arerestrictedduetotheAISfunction.
zte(cfg)#cfmmd-session1ma-session1mep-id1(2)one-lmsend-packet
ViewthemeasurementresultbyusingthecommandfordisplayingMEPinformation
thatisprovidedby802.1ag.
5.44MAC-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.
5-159
SJ-20130731155059-002|2013-11-27(R1.0)ZTEProprietaryandCondential