Specifications
4-20 Port Commands
set port mirror
Configuresportmirroring.Portmirroringisatroubleshootingfeaturethatcopies(mirrors)traffic
sentorreceivedbyanRoamAboutSwitchport(thesourceport)toanotherport(theobserver)on
thesameRoamAboutSwitch.Youcanattachaprotocolanalyzertotheobserverporttoexamine
thesourceport’straffic.Both
trafficdirections(sendandreceive)aremirrored.
Syntax
set port mirror source-port observer observer-port
Defaults
None.
Mode
Enabled.
Usage
Theswitchcanhaveoneportmirroringpair(onesourceportandoneobserverport)atatime.The
sourceportcanbeanetworkport,RoamAboutaccessport,orwiredauthenticationport.
However,theobserverportmustbeanetworkport,andcannotbeamemberofanyVLANor
port
group.
Example
Thefollowingcommandsetsport2tomonitorport1’straffic:
RBT-8100# set port 1 observer 2
Related Commands
•
clearportmirror
onpage 4‐6
source‐port Numberoftheportwhosetrafficyouwanttoanalyze.Youcanspecify
onlyoneport.
observer‐port Numberoftheporttowhichyouwanttheswitchtocopythesource
port’s traffic.