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.10mirror
【Command】
mirrorsrc‐portsrc‐portdst‐port(ge|xge)port‐iddirection
nomirrorsrc‐portsrc‐portdirection
【View】 geviewsEPONviews;xgeviews;link‐aggregationviews.
【Parameter】
src‐port: theportnumberofsrc‐port.
port‐id
:
Mirroringdestinationport.
direction
:
Mirrorsourceportmessages:
ingress:Mirrorsourceportreceivespackets.Duplicateitcompletelyandoutputtotheport
mirroringdestination.
egress:Mirrorsourceportstosendmessages.Duplicateitcompletelyandoutputtotheport
mirroringdestination.
all:Mirrorsourceporttransceivertwo‐waymessage.Duplicatethemessageandoutputit
tothe
portmirroringdestination.
【Description】
ThiscommandisusedtoconfiguretheEthernetportmirroringfunction.Whentrafficonaportin
the system needs to beduplicated totheother ports to output,fortrafficobservation, network
troubleshooting,dataanalysis,usingthiscommand.WhenEthernetportmirroringfeature
isset
successfully, the mirror source port Specifies the message will be copied to the mirror in the
directionofdestinationport.
【Example】
Toduplicatetheintactmessageofmirrorsourceportge1andoutputitto
port mirroring
destination GE2
OLT(interface‐ge)#mirrorsrc‐port1dst‐portge2ingress
7.11showmirror
【Command】
showmirror
【View】 geviewsEPONviews;xgeviews;link‐aggregationviews.
【Parameter】
【Description】
Displayingtheportmirroringconfigurationinformation
【Example】
Undergeview,portmirroringconfigurationinformationisdisplayed.