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
】
The
OLT
ge1
of
enable
of
MAC
address
learning
function.
OLT(config)#
mac
‐
address
learning
port
ge
1
enable
7.21
mac
‐
address
black
‐
hole
【
Command
】
mac
‐
address
black
‐
hole
vlan
‐
idmac
‐
address
no
mac
‐
address
black
‐
hole
vlan
‐
idmac
‐
address
【
View
】
View
config
【
Parameter
】
vlan
‐
id
:
the
MAC
address
of
the
black
holecorresponds
toVLAN
ID
.
【
Description
】
Specify
the
MAC
address
table
of
the
black
hole.
If
a
packet's
source
MAC
address
or
destination
MAC
address
MAC
address
MAC
address
table
entries
is
equal
to
a
black
hole,
the
switch
discards
the
message.
【
Example
】
Add
MAC
address
table
entries
of
a
black
hole.
MAC
address
for
the
black
hole:
E0:67:B3:A5:39:A2,
the
corresponding
VLAN
is
50.
OLT(config)#
mac
‐
address
black
‐
hole
50
e0:67:b3:a5:39:a2
7.22
mac
‐
address
flush
【
Command
】
mac
‐
address
flush
all
mac
‐
address
flush
black
‐
hole
mac
‐
address
flush
dynamic
mac
‐
address
flush
port
ge
port
‐
id
type
mac
‐
address
flush
port
EPON
port
‐
id
type
mac
‐
address
flush
port
xge
port
‐
id
type
mac
‐
address
flush
static
mac
‐
address
flush
vlan
vlan
‐
id
type
【
View
】
View
config
【
Parameter
】
port
‐
id
:
To
‐
be
‐
checked
port
list.
type
:
The
MAC
addresstype
which
is
need
to
clear
.
vlan
‐
id
:
cears
the
specified
VLAN
ID
corresponds
to
the
MAC
address.
【
Description
】
This
command
is
used
to
remove
all,
or
specific
types
of
MAC
address.
【
Example
】