Specifications

Configuring Port Mirrors
May 04, 2011 Page 9 of 15
ClearingPortMirroring(page10)
Reviewing Port Mirroring
Usethiscommandtodisplaythestatusofportmirroringandinformationaboutanymirrors
configured:
show port mirroring
Examples
Thisexampleshowsthatportsge.4.1throughge.4.5aremirroredtoportge.4.32,amanytoone
mirror,thatthemirrorisadministrativelyenabledandoperationally(linked)enabled,andthat
onlyreceivedframesarebeingmonitored:
enterasys(switch-ro)-> show port mirroring
Source Destination Direction AdminStatus OperStatus
------ ------------ --------- ----------- ----------
ge.4.1 ge.4.32 Rx only enabled enabled
ge.4.2 ge.4.32 Rx only enabled enabled
ge.4.3 ge.4.32 Rx only enabled enabled
ge.4.4 ge.4.32 Rx only enabled enabled
ge.4.5 ge.4.32 Rx only enabled enabled
Setting Port Mirroring
Usethiscommandtocreateanewmirroringrelationship,ortoenableordisableanexisting
mirroringrelationship:
set port mirroring {create | disable | enable} source destination [rx|tx|both]
Portsmustbeinswitchmodeinordertoparticipateinamirroringrelationship.
Examples
Thisexamplecreatesamanytooneportmirroringofreceivedandtransmittedframeswithports
ge.6.23throughge.6.25asthesourceportsandge.6.26asthetargetport.Notethatmirroringof
bothreceivedandtransmit tedframesisthedefault.
enterasys(switch-su)-> set port mirroring create ge.6.23-25 ge.6.26
enterasys(switch-su)-> show port mirroring
Source Destination Direction AdminStatus OperStatus
------------ ------------ --------- ----------- ----------
ge.6.23 ge.6.26 Rx and Tx enabled enabled
ge.6.24 ge.6.26 Rx and Tx enabled enabled
ge.6.25 ge.6.26 Rx and Tx enabled enabled
Thisexampleshowshowtodisableoneofthepreviouslycreatedmirroringrelationships:
enterasys(switch-su)-> set port mirroring disable ge.6.23 ge.6.26
enterasys(switch-su)-> show port mirroring
Source Destination Direction AdminStatus OperStatus
------------ ------------ --------- ----------- ----------
ge.6.23 ge.6.26 Rx and Tx disabled disabled
ge.6.24 ge.6.26 Rx and Tx enabled enabled
ge.6.25 ge.6.26 Rx and Tx enabled enabled