Company Address: Flat 6, Bldg 4,South 2 of Honghualing Industrial Zone,Liuxian Road, Xili Town, Shenzhen, Guangdong, China(518055)
Tel: +86-755-26014509/4710/4711 Fax:+86-755-26014506
Website: www.cdatatec.com
35
【Example 】
TheOLTge1ofenableofMACaddresslearningfunction.
OLT(config)#mac‐addresslearningportge1enable
7.21mac‐addressblack‐hole
【Command】
mac‐addressblack‐holevlan‐idmac‐address
nomac‐addressblack‐holevlan‐idmac‐address
【View】Viewconfig
【Parameter】
vlan‐id
:
theMACaddressoftheblackholecorrespondstoVLANID.
【Description】
SpecifytheMACaddresstableoftheblackhole.Ifapacket'ssourceMACaddressordestination
MACaddressMACaddressMACaddresstableentriesisequaltoablackhole,theswitchdiscards
themessage.
【Example】
Add
MAC address table entries of a black hole. MAC address for the black hole:
E0:67:B3:A5:39:A2,thecorrespondingVLANis50.
OLT(config)#mac‐addressblack‐hole50e0:67:b3:a5:39:a2
7.22mac‐addressflush
【Command】
mac‐addressflushall
mac‐addressflushblack‐hole
mac‐addressflushdynamic
mac‐addressflushportgeport‐idtype
mac‐addressflushportEPONport‐idtype
mac‐addressflushportxgeport‐idtype
mac‐addressflushstatic
mac‐addressflushvlanvlan‐id
type
【View】Viewconfig
【Parameter】
port‐id
:
To‐be‐checkedportlist.
type
:
TheMACaddresstypewhichisneedtoclear.
vlan‐id
:
cearsthespecifiedVLANIDcorrespondstotheMACaddress.
【Description】
Thiscommandisusedtoremoveall,orspecifictypesofMACaddress.
【Example】