Specifications
Configuring Port Mirrors
May 04, 2011 Page 7 of 15
Thereisnorestrictiononthenumberofsourceportsthatcanbeincludedinamirrortoa
destinationport.Thenumberofactivedestinationor“target”portsallowedatanygiventimeis
device‐specific.RefertoTable 1foralistofsupportandcapacityforeachdevice.
Once
configured,allpackets(network,data,control,etc.)receivedbytheswitchwillbemirrored.
Erroredpacketswillnotbemirrored.UnlessyoudisableSpanningTreeondestinationports,they
willcontinuetofunctionasactivebridgeports,inaccordancewiththeSMON(Switch
Monitoring)standard.
Usethecommandsinthenext
sectionstoperformthefollowingtasksonyourN‐Series,S‐Series,
andK‐Seriesdevices:
• ReviewingPortMirroring(page7)
• SettingPortorVLANMirroring(page7)
• ClearingPortMirroring(page8)
Reviewing Port Mirroring
Usethiscommandtodisplaythestatusofportmirroringandinformationaboutanymirrors
configured:
show port mirroring
Examples
Thisexampleshowsthatnoportm irrorsareconfiguredonthedevice:
enterasys(rw)->show port mirroring
No Port Mirrors configured.
IGMP Multicast Mirror status Disabled
Thisexampleshowsthataportmirrorisconfiguredbetweensourceportfe.1.4andfe.1.11and
thatbothreceived(Rx)andtransmitted(Tx)frameswillbemonitored.Italsoshowsthat
mirroringstatusiscurrentlyadministrativelyandoperationallyenabled.Amirrormustbe
administrativelyenabled(asdescribedinthenextsection)
anditssourceanddestinationports
musthaveanactivelinkforoperationalstatustobeenabled.
enterasys(rw)->show port mirroring
Port Mirroring
==============
Source Port = fe.1.4
Target Port = fe.1.11
Frames Mirrored = Rx and Tx
Port Mirroring Admin status = enabled
Port Mirroring Oper status = enabled
Setting Port or VLAN Mirroring
Usethiscommandtocreateanewmirroringrelationship,toenableordisableanexisting
mirroringrelationship,ortoenableordisablemirroringofIGMPmulticastframes.Optionally,
youcanspecifywhethertomirrorreceivedframes,transmittedframes,orboth:
set port mirroring {create | disable | enable} | igmp-mcast {enable |
disable}source destination [both | rx | tx]
ForfirmwareRelease7.11andhigher,tomirrorVLANtraffictoaport,youmustfirstcreatea
VLANMIB‐2interfacetousefortheSMONMIBusingthesetvlaninterfacecreatecommand.
TheresultingportisaVTAP (vtap.0.vlan‐id).Usetheshowportvtap.0.vlan‐idcommand to