![C-Data FD1216S Cli Manual Download Page 36](http://html.mh-extra.com/html/c-data/fd1216s/fd1216s_cli-manual_478227036.webp)
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
29
7.10
mirror
【
Command
】
mirror
src
‐
port
src
‐
port
dst
‐
port
(ge|xge)
port
‐
id
direction
no
mirror
src
‐
port
src
‐
port
direction
【
View
】
ge
views
EPON
views
;xge
views;
link
‐
aggregation
views.
【
Parameter
】
src
‐
port
:
the
port
number
of
src
‐
port.
port
‐
id
:
Mirroring
destination
port.
direction
:
Mirror
source
port
messages:
ingress
:
Mirror
source
port
receives
packets.
Duplicate
it
completely
and
output
to
the
port
mirroring
destination.
egress
:
Mirror
source
ports
to
send
messages.
Duplicate
it
completely
and
output
to
the
port
mirroring
destination.
all
:
Mirror
source
port
transceiver
two
‐
way
message.Duplicate
the
message
and
output
it
to
the
port
mirroring
destination.
【
Description
】
This
command
is
used
to
configure
the
Ethernet
port
mirroring
function.
When
traffic
on
a
port
in
the
system
needs
to
be
duplicated
to
the
other
ports
to
output,for
traffic
observation,
network
troubleshooting,
data
analysis,
using
this
command.
When
Ethernet
port
mirroring
feature
is
set
successfully,
the
mirror
source
port
Specifies
the
message
will
be
copied
to
the
mirror
in
the
direction
of
destination
port.
【
Example
】
To
duplicate
the
intact
message
of
mirror
source
port
ge1
and
output
it
to
port mirroring
destination GE2
OLT(interface
‐
ge)#
mirror
src
‐
port
1
dst
‐
port
ge
2
ingress
7.11
show
mirror
【
Command
】
show
mirror
【
View
】
ge
views
EPON
views
;xge
views;
link
‐
aggregation
views.
【
Parameter
】
【
Description
】
Displaying
the
port
mirroring
configuration
information
【
Example
】
Under
ge
view,
port
mirroring
configuration
information
is
displayed.