Port mirroring with ALOT of Drops Tx on a 5406zl

Hi everybody.
My first post here and I'm convinced that the questions I have will be easily answered by several of the true experts that reside here in the forum.
Question #1.
I've set up port mirroring this way on my HP procurve J8697A Switch 5406zl (Software revision K.15.12.0015)
sw-dh-1(config)# show monitor 1
Network Monitoring
   Session: 4    Session Name:
      Mirror Destination:  B13   (Port)
      Monitoring Sources  Direction Truncation Mirror Policy
      Port: F1            Both       No         -
      Port: F2            Both       No         -
      Port: F3            Both       No         -
      sw-dh-1# show monitor 2
Network Monitoring
   Session: 3    Session Name:
      Mirror Destination:  A6    (Port)
      Monitoring Sources  Direction Truncation Mirror Policy
      Port: A7            Both       No         -
      Port: B6            Both       No         -
      Port: B10           Both       No         -
      Port: Trk5          Both       No         -
      Port: Trk9          Both       No         -
      Port: Trk11         Both       No         -
See output of "show interface" below. I'm worried about "Drop Tx". What does that mean exactly? Are mirrored packets dropped or does this mean that the ordinary traffic on the monitoring ports are also affected? If yes, how? Data loss, resending packets, loss of speed, high CPU load on the switch?
sw-dh-1# show interfaces B13
 Status and Counters - Port Counters for port B13
  Name  : <removed>
  MAC Address      : xxxxxx-xxxxx
  Link Status      : Up
  Totals (Since boot or last clear) :
   Bytes Rx        : 576                Bytes Tx        : 4,252,895,128
   Unicast Rx      : 0                  Unicast Tx      : 3,440,299,294
   Bcast/Mcast Rx  : 9                  Bcast/Mcast Tx  : 412,639,331
  Errors (Since boot or last clear) :
   FCS Rx          : 0                  Drops Tx        : 29,441,235
   Alignment Rx    : 0                  Collisions Tx   : 0
   Runts Rx        : 0                  Late Colln Tx   : 0
   Giants Rx       : 0                  Excessive Colln : 0
   Total Rx Errors : 0                  Deferred Tx     : 0
  Others (Since boot or last clear) :
   Discard Rx      : 0                  Out Queue Len   : 0
   Unknown Protos  : 0
  Rates (5 minute weighted average) :
   Total Rx  (bps) : 0                  Total Tx  (bps) : 5,002,088
   Unicast Rx (Pkts/sec) : 0            Unicast Tx (Pkts/sec) : 0
   B/Mcast Rx (Pkts/sec) : 0            B/Mcast Tx (Pkts/sec) : 6
   Utilization Rx  :     0 %            Utilization Tx  : 0.50 %
sw-dh-1# show interfaces A6
 Status and Counters - Port Counters for port A6
  Name  : <removed>
  MAC Address      : xxxxx-xxxxx
  Link Status      : Up
  Totals (Since boot or last clear) :
   Bytes Rx        : 960                Bytes Tx        : 1,442,037,177
   Unicast Rx      : 0                  Unicast Tx      : 1,988,961,810
   Bcast/Mcast Rx  : 15                 Bcast/Mcast Tx  : 339,915,002
  Errors (Since boot or last clear) :
   FCS Rx          : 0                  Drops Tx        : 1,647,165,303
   Alignment Rx    : 0                  Collisions Tx   : 0
   Runts Rx        : 0                  Late Colln Tx   : 0
   Giants Rx       : 0                  Excessive Colln : 0
   Total Rx Errors : 0                  Deferred Tx     : 0
  Others (Since boot or last clear) :
   Discard Rx      : 0                  Out Queue Len   : 0
   Unknown Protos  : 0
  Rates (5 minute weighted average) :
   Total Rx  (bps) : 0                  Total Tx  (bps) : 5,000,000
   Unicast Rx (Pkts/sec) : 0            Unicast Tx (Pkts/sec) : 0
   B/Mcast Rx (Pkts/sec) : 0            B/Mcast Tx (Pkts/sec) : 0
   Utilization Rx  :     0 %            Utilization Tx  : 0.50 %
Utilzation and total last 5 minutes is off since I turned the mirroring off when I saw the drops. Utilization when port mirroring was on was 20-35%.   
Question #2:
Is it better if I mirror out all traffic to the 10GB port instead? Assuming that it is possible to do port mirroring to the 10GB port?
best regards,
Dean Y

You don;t indicate which router you have, but that doesn;t really matter.Neither the Actiontec MI424-WR or the Quantum G1100 have port mirroring.  You need qan old fashioned hub, or a managed switch that supports it. 

Similar Messages

  • PORT MIRRORING WITH SRW2048

    HI ALL,
    I am using  SRW2048. When I am doing port mirroring, my target port is not working. it is disconnecting from lan.
    Please suggest me how can I do port mirrioring with SRW2048.
    Thanks

    1. The source port is the one you want to mirror.
    2. The target port is the one to which you mirror, i.e. the target port receives the mirror copies of the source port traffic, i.e. it is the port to which you connect the network analyzer.
    3. On the SRW switches the target port does not allow LAN access. In mirror mode it ignores any traffic which you send from the device connected to the target port. If the network analyzer requires additional LAN access you'll need another LAN connection to another port, i.e. two LAN ports on the analyzer. There is no other way.

  • I have a late 2011 model MacBook Pro running Mountain Lion.  I love the AirPlay mirroring feature with Apple TV...BUT, how do I mirror with TVs that don't have Apple TV?  I used to run a cable from my mini display port to the HDMI input of a TV.

    I have a late 2011 model MacBook Pro running Mountain Lion.  I love the AirPlay mirroring feature with Apple TV...BUT, how do I mirror with TVs that don't have Apple TV?  I used to run a cable from my mini display port to the HDMI input of a TV.  This feature seems to be lost in the Mountain Lion upgrade.  Did Apple feel that once Mountain Lion came out that EVERYONE would have Apple TV?  There are no settings in System Preferences/Display like there used to be...only for AirPlay Mirroring.

    Running a cable to the HDMI port is still supported. (and still works on mine).
    If the Arrangement tab in System Preferences > Displays isn't present then it doesn't recognize the physical connection.  Double check all cables.  If that doesn't work try a PRAM reset:
    http://support.apple.com/kb/ht1379

  • Trouble With Port Mirroring (SG200-08)

    Trouble with port mirroring.
    Even though both Tx and Rx is specified, only getting half the conversation.  Ping reply only for instance.  And when pinging from other locations no traffic at all.
    Please help
    SG200-008
    FW Version: 1.0.2.0
    Boot Version D.3.1
    Thanks

    I also have problem with the mirroring of port on my SG200-08.  The firmware is 1.0.6.2.
    I mirror the port g1, to which my router to the Internet is connected, to the port g2 to be able to see the traffic with a Centos system running Bandwidthd connected to the port g2.  The problem is that I only see the traffic coming in (downloads from the Internet) and not the traffic comming out (uploads to the Internet).
    When looking at the SG 200-08 on the web interface at "Status and Statistics/Interface" and looking at the port g2, I see values for the "Transmit Statistics", but all the values are at 0 for the "Received Statisticsc" (see the attached file)
    I confirmed that in "Administration/Diagnostic/Port Mirroring" is set up both Tx and Rx (it does not work either if I have Tx or Rx alone: I do not see the uploda traffic to the Internet). See the attached file.
    This is very annoying as I purchased this SG 200-08 especially for this and it does not do the job porperly.
    Does anybody knows a solution to this?

  • Cat 3750-Span (Port Mirroring issue)

    Hello team
    I am facing port mirroring issue in my setup. Details of the setup are mentioned below
    Setup--
    Stack of 4 catalyst switches WS-C3750X-48P running software 15.0(1) SE3 .Approximately 12 vlans are configured in this setup and port mirroring is done for all vlans with destination configured as single Gig Ethernet port...The setup works fine from mirroring perspective for 3-4 days and after that machine connected to destination port stops getting data.
    Observations-
    It has been observed that during the issue, the port configured for mirror destination has lot of packet drop/input errors on the port statistics.
    If we configure only TX packet mirroring, it works for 8 -10 days
    If we configure TX & RX packet mirroring, it works for 2-3 days
    Testing done
    Tried clearing counter on destination port but no success (mirroring doesn’t start)
    Tried  shut /no shut for the destination port but no success.
    Tried restarting the machine connected to destination port but no success
    Workaround
    We need to reconfigure the mirroring configuration after removing the mirroring config from the switch. Once the same is done, mirroring starts working.
    Want to understand
    1-is there any HW limitation for the switch (destination port not capable of handling mirroring traffic)
    2-is there any software related issue?
    3-what can be permanent resolution for the same..

    Hello
    We have tried this previously but found same result.
    1- we deleted the monitror session and recreated again with same session number
    2-we deleted the monitor session and created new session (session id diffrent ) with same config..
    in both cases its working for 3-4 days..

  • SF200 port mirroring function

    Hello,
    i was able to configure (via SF200 web interface) a port mirroring from port FE17 to FE7.
    i have supressed this port mirroring.
    when i try to reconfigure a port mirroring from port FE17 to FE3. The SF200 web interface crash. the SF200 seems to reboot.
    i have updated the SF200 firmware from V1.1.2.0 to V1.1.2.9.44
    when i was able to configure (via SF200 web interface) a port mirroring from port FE17 to FE7.
    But  after having suppressed this port mirroring again, i was not able to  reconfigure a new port mirroring from port FE1 to FE3 (the SF200 hangs).
    i have also tried to return to default factory setting but this does not solve the issue.
    i am working on SF200-24P
    Thanks for helping !
    Regards,
    Christophe

    Hi Chris, are you connecting the computer to the source port or destination port? When you run the port monitor, the port receiving information (destination) will not function and drop all connectivity).
    With that said, when you modified the port mirror, can you move the computer to a completely unrelated port such as fe10 and get connectivity?
    Or, if the monitor port is an uplink to such a device as a router, can you move that port connection to something entirely unrelated like port 20 to see if you gain connectivity?
    -Tom
    Please mark answered for helpful posts

  • Issue with AFP server dropping connections on 10.8.5 server 2.2.2

    We are having issues with users getting dropped from their AFP server shares.
    These issues did not start happening until we upgraded to 10.8.5 and server 2.2.2
    the first symptoms were an occasional user would lose his / her active connection while copying files. They were unable to disconnect from the network shares without physically disconnecting the LAN or disabling the network on their system. Once the connection was removed they could reconnect to the network and establish their AFP shares again.
    However this his escalated to every user losing connections to their AFP shares at the same time.
    The server has no AFP error in the AFP error log however we are getting diskutil crash reports at around the same time. (See Below)
    The server has
    smalltree 1x6 8254 with latest drivers supporting a LACP bonded 6 pair connecting to an edgecore (LACP configured)switch.
    small tree 10Gb card directly connected to an edit station.
    onboard ethernet connected to switch in support of DHCP & DNS. (previous version of server would not see the bonded pair)
    Two Accusys A12S2's
    (we did not have this dropping connection issue before the upgrade to server 2.2.2 and OSX 10.8.5)
    Users connected to any network connection to the server appear to be affected when the AFP shares are disconnected. Direcet connect, onboard ethernet port and Bonded pair connections)
    diskutil verifies all shared drives appear to be ok. (All Green)
    SYSTEM LOG
    Feb 23 11:15:44 doghouse.local diskutil[1067]: -[__NSCFConstantString getBytes:length:]: unrecognized selector sent to instance 0x7fff7628bbe8
    Feb 23 11:15:44 doghouse.local diskutil[1067]: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFConstantString getBytes:length:]: unrecognized selector sent to instance 0x7fff7628bbe8'
              *** First throw call stack:
                        0   CoreFoundation                      0x00007fff91b2bb06 __exceptionPreprocess + 198
                        1   libobjc.A.dylib                     0x00007fff901403f0 objc_exception_throw + 43
                        2   CoreFoundation                      0x00007fff91bc240a -[NSObject(NSObject) doesNotRecognizeSelector:] + 186
                        3   CoreFoundation                      0x00007fff91b1a02e ___forwarding___ + 414
                        4   CoreFoundation                      0x00007fff91b19e18 _CF_forwarding_prep_0 + 232
                        5   diskutil                            0x000000010c1eb550 diskutil + 83280
                        6   diskutil                            0x000000010c1ea0af diskutil + 77999
                        7   diskutil                            0x000000010c1e7abe diskutil + 68286
                        8   diskutil                            0x000000010c1dd0ef diskutil + 24815
                        9   diskutil                            0x000000010c1e5161 diskutil + 57697
                        10  Foundation                          0x00007fff8d29dd05 __NSFireDelayedPerform + 358
                        11  CoreFoundation                      0x00007fff91ae8804 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
                        12  CoreFoundation                      0x00007fff91ae831d __CFRunLoopDoTimer + 557
                        13  CoreFoundation                      0x00007fff91acdad9 __CFRunLoopRun + 1529
                        14  CoreFoundation                      0x00007fff91acd0e2 CFRunLoopRunSpecific + 290
                        15  Foundation                          0x00007fff8d2c57ee -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 268
                        16  Foundation                          0x00007fff8d25e1aa -[NSRunLoop(NSRunLoop) run] + 74
                        17  diskutil                            0x000000010c1e5126 diskutil + 57638
                        18  diskutil                            0x000000010c1e51cd diskutil + 57805
                        19  libdyld.dylib                       0x00007fff86bf87e1 start + 0
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: Saved crash report for diskutil[1061] version 680 to /Library/Logs/DiagnosticReports/diskutil_2014-02-23-111544_doghouse.crash
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: Removing excessive log: file://localhost/Library/Logs/DiagnosticReports/diskutil_2014-02-22-164711_dogh ouse.crash
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
    Feb 23 11:15:44 doghouse.local diskutil[1071]: -[__NSCFConstantString getBytes:length:]: unrecognized selector sent to instance 0x7fff7628bbe8
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: Saved crash report for diskutil[1067] version 680 to /Library/Logs/DiagnosticReports/diskutil_2014-02-23-111544-1_doghouse.crash
    Feb 23 11:15:44 doghouse.local diskutil[1071]: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFConstantString getBytes:length:]: unrecognized selector sent to instance 0x7fff7628bbe8'
              *** First throw call stack:
                        0   CoreFoundation                      0x00007fff91b2bb06 __exceptionPreprocess + 198
                        1   libobjc.A.dylib                     0x00007fff901403f0 objc_exception_throw + 43
                        2   CoreFoundation                      0x00007fff91bc240a -[NSObject(NSObject) doesNotRecognizeSelector:] + 186
                        3   CoreFoundation                      0x00007fff91b1a02e ___forwarding___ + 414
                        4   CoreFoundation                      0x00007fff91b19e18 _CF_forwarding_prep_0 + 232
                        5   diskutil                            0x0000000100e49550 diskutil + 83280
                        6   diskutil                            0x0000000100e480af diskutil + 77999
                        7   diskutil                            0x0000000100e45abe diskutil + 68286
                        8   diskutil                            0x0000000100e3b0ef diskutil + 24815
                        9   diskutil                            0x0000000100e43161 diskutil + 57697
                        10  Foundation                          0x00007fff8d29dd05 __NSFireDelayedPerform + 358
                        11  CoreFoundation                      0x00007fff91ae8804 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
                        12  CoreFoundation                      0x00007fff91ae831d __CFRunLoopDoTimer + 557
                        13  CoreFoundation                      0x00007fff91acdad9 __CFRunLoopRun + 1529
                        14  CoreFoundation                      0x00007fff91acd0e2 CFRunLoopRunSpecific + 290
                        15  Foundation                          0x00007fff8d2c57ee -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 268
                        16  Foundation                          0x00007fff8d25e1aa -[NSRunLoop(NSRunLoop) run] + 74
                        17  diskutil                            0x0000000100e43126 diskutil + 57638
                        18  diskutil                            0x0000000100e431cd diskutil + 57805
                        19  libdyld.dylib                       0x00007fff86bf87e1 start + 0
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: Removing excessive log: file://localhost/Library/Logs/DiagnosticReports/diskutil_2014-02-22-164712_dogh ouse.crash
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: Saved crash report for diskutil[1071] version 680 to /Library/Logs/DiagnosticReports/diskutil_2014-02-23-111544-2_doghouse.crash
    Feb 23 11:15:44 doghouse.local ReportCrash[1064]: Removing excessive log: file://localhost/Library/Logs/DiagnosticReports/diskutil_2014-02-23-093307_dogh ouse.crash
    diskutil crash report
    Process:         diskutil [1061]
    Path:            /usr/sbin/diskutil
    Identifier:      diskutil
    Version:         680
    Code Type:       X86-64 (Native)
    Parent Process:  sh [1060]
    User ID:         0
    Date/Time:       2014-02-23 11:15:43.719 -0800
    OS Version:      Mac OS X 10.8.5 (12F45)
    Report Version:  10
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Exception Type:  EXC_CRASH (SIGABRT)
    Exception Codes: 0x0000000000000000, 0x0000000000000000
    Application Specific Information:
    *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFConstantString getBytes:length:]: unrecognized selector sent to instance 0x7fff7628bbe8'
    terminate called throwing an exception
    abort() called
    Application Specific Backtrace 1:
    0   CoreFoundation                      0x00007fff91b2bb06 __exceptionPreprocess + 198
    1   libobjc.A.dylib                     0x00007fff901403f0 objc_exception_throw + 43
    2   CoreFoundation                      0x00007fff91bc240a -[NSObject(NSObject) doesNotRecognizeSelector:] + 186
    3   CoreFoundation                      0x00007fff91b1a02e ___forwarding___ + 414
    4   CoreFoundation                      0x00007fff91b19e18 _CF_forwarding_prep_0 + 232
    5   diskutil                            0x000000010124a550 diskutil + 83280
    6   diskutil                            0x00000001012490af diskutil + 77999
    7   diskutil                            0x0000000101246abe diskutil + 68286
    8   diskutil                            0x000000010123c0ef diskutil + 24815
    9   diskutil                            0x0000000101244161 diskutil + 57697
    10  Foundation                          0x00007fff8d29dd05 __NSFireDelayedPerform + 358
    11  CoreFoundation                      0x00007fff91ae8804 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
    12  CoreFoundation                      0x00007fff91ae831d __CFRunLoopDoTimer + 557
    13  CoreFoundation                      0x00007fff91acdad9 __CFRunLoopRun + 1529
    14  CoreFoundation                      0x00007fff91acd0e2 CFRunLoopRunSpecific + 290
    15  Foundation                          0x00007fff8d2c57ee -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 268
    16  Foundation                          0x00007fff8d25e1aa -[NSRunLoop(NSRunLoop) run] + 74
    17  diskutil                            0x0000000101244126 diskutil + 57638
    18  diskutil                            0x00000001012441cd diskutil + 57805
    19  libdyld.dylib                       0x00007fff86bf87e1 start + 0
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0   libsystem_kernel.dylib                  0x00007fff86519212 __pthread_kill + 10
    1   libsystem_c.dylib                       0x00007fff8a31ab24 pthread_kill + 90
    2   libsystem_c.dylib                       0x00007fff8a35ef61 abort + 143
    3   libc++abi.dylib                         0x00007fff85dc39eb abort_message + 257
    4   libc++abi.dylib                         0x00007fff85dc139a default_terminate() + 28
    5   libobjc.A.dylib                         0x00007fff90140873 _objc_terminate() + 91
    6   libc++abi.dylib                         0x00007fff85dc13c9 safe_handler_caller(void (*)()) + 8
    7   libc++abi.dylib                         0x00007fff85dc1424 std::terminate() + 16
    8   libc++abi.dylib                         0x00007fff85dc261b __cxa_rethrow + 85
    9   libobjc.A.dylib                         0x00007fff90140575 objc_exception_rethrow + 40
    10  com.apple.CoreFoundation                0x00007fff91acd146 CFRunLoopRunSpecific + 390
    11  com.apple.Foundation                    0x00007fff8d2c57ee -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 268
    12  com.apple.Foundation                    0x00007fff8d25e1aa -[NSRunLoop(NSRunLoop) run] + 74
    13  diskutil                                0x0000000101244126 0x101236000 + 57638
    14  diskutil                                0x00000001012441cd 0x101236000 + 57805
    15  libdyld.dylib                           0x00007fff86bf87e1 start + 1
    Thread 1:: Dispatch queue: com.apple.libdispatch-manager
    0   libsystem_kernel.dylib                  0x00007fff86519d16 kevent + 10
    1   libdispatch.dylib                       0x00007fff8a0dddea _dispatch_mgr_invoke + 883
    2   libdispatch.dylib                       0x00007fff8a0dd9ee _dispatch_mgr_thread + 54
    Thread 2:
    0   libsystem_kernel.dylib                  0x00007fff865196d6 __workq_kernreturn + 10
    1   libsystem_c.dylib                       0x00007fff8a31bf1c _pthread_workq_return + 25
    2   libsystem_c.dylib                       0x00007fff8a31bce3 _pthread_wqthread + 412
    3   libsystem_c.dylib                       0x00007fff8a306191 start_wqthread + 13
    Thread 3:
    0   libsystem_kernel.dylib                  0x00007fff865196d6 __workq_kernreturn + 10
    1   libsystem_c.dylib                       0x00007fff8a31bf1c _pthread_workq_return + 25
    2   libsystem_c.dylib                       0x00007fff8a31bce3 _pthread_wqthread + 412
    3   libsystem_c.dylib                       0x00007fff8a306191 start_wqthread + 13
    Thread 4:
    0   libsystem_kernel.dylib                  0x00007fff865196d6 __workq_kernreturn + 10
    1   libsystem_c.dylib                       0x00007fff8a31bf1c _pthread_workq_return + 25
    2   libsystem_c.dylib                       0x00007fff8a31bce3 _pthread_wqthread + 412
    3   libsystem_c.dylib                       0x00007fff8a306191 start_wqthread + 13
    Thread 0 crashed with X86 Thread State (64-bit):
      rax: 0x0000000000000000  rbx: 0x0000000000000006  rcx: 0x00007fff5e9c9ad8  rdx: 0x0000000000000000
      rdi: 0x0000000000000707  rsi: 0x0000000000000006  rbp: 0x00007fff5e9c9b00  rsp: 0x00007fff5e9c9ad8
       r8: 0x00007fff764be278   r9: 0x00007fff5e9c9ae0  r10: 0x0000000020000000  r11: 0x0000000000000206
      r12: 0x00007fff5e9c9c60  r13: 0x0000000000000001  r14: 0x00007fff764bf180  r15: 0x00007fff5e9c9b40
      rip: 0x00007fff86519212  rfl: 0x0000000000000206  cr2: 0x00007fff764b7ff0
    Logical CPU: 0
    Binary Images:
           0x101236000 -        0x10126efff  diskutil (680) <47174BB8-7EAC-39F7-96F7-99FE93C9CAF3> /usr/sbin/diskutil
        0x7fff60e36000 -     0x7fff60e6a93f  dyld (210.2.3) <6900F2BA-DB48-3B78-B668-58FC0CF6BCB8> /usr/lib/dyld
        0x7fff85d6f000 -     0x7fff85d6ffff  libkeymgr.dylib (25) <CC9E3394-BE16-397F-926B-E579B60EE429> /usr/lib/system/libkeymgr.dylib
        0x7fff85dc0000 -     0x7fff85de5ff7  libc++abi.dylib (26) <D86169F3-9F31-377A-9AF3-DB17142052E4> /usr/lib/libc++abi.dylib
        0x7fff85de6000 -     0x7fff85e4eff7  libc++.1.dylib (65.1) <20E31B90-19B9-3C2A-A9EB-474E08F9FE05> /usr/lib/libc++.1.dylib
        0x7fff85e4f000 -     0x7fff85ef5ff7  com.apple.CoreServices.OSServices (557.6 - 557.6) <FFDDD2D8-690D-388F-A48F-4750A792D2CD> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
        0x7fff85f54000 -     0x7fff85f62ff7  libkxld.dylib (2050.48.12) <B8F7ED1F-CF84-3777-9183-0A1C513DF81F> /usr/lib/system/libkxld.dylib
        0x7fff861de000 -     0x7fff86353ff7  com.apple.CFNetwork (596.5 - 596.5) <22372475-6EF4-3A04-83FC-C061FE4717B3> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
        0x7fff86354000 -     0x7fff863d5fff  com.apple.Metadata (10.7.0 - 707.12) <69E3EEF7-8B7B-3652-8320-B8E885370E56> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
        0x7fff86468000 -     0x7fff86470ff7  libsystem_dnssd.dylib (379.38.1) <BDCB8566-0189-34C0-9634-35ABD3EFE25B> /usr/lib/system/libsystem_dnssd.dylib
        0x7fff86499000 -     0x7fff86506ff7  com.apple.datadetectorscore (4.1 - 269.3) <5775F0DB-87D6-310D-8B03-E2AD729EFB28> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDe tectorsCore
        0x7fff86507000 -     0x7fff86522ff7  libsystem_kernel.dylib (2050.48.12) <4B7993C3-F62D-3AC1-AF92-414A0D6EED5E> /usr/lib/system/libsystem_kernel.dylib
        0x7fff865b1000 -     0x7fff865b2ff7  libremovefile.dylib (23.2) <6763BC8E-18B8-3AD9-8FFA-B43713A7264F> /usr/lib/system/libremovefile.dylib
        0x7fff86764000 -     0x7fff86769fff  libcache.dylib (57) <65187C6E-3FBF-3EB8-A1AA-389445E2984D> /usr/lib/system/libcache.dylib
        0x7fff86784000 -     0x7fff86785fff  libDiagnosticMessagesClient.dylib (8) <8548E0DC-0D2F-30B6-B045-FE8A038E76D8> /usr/lib/libDiagnosticMessagesClient.dylib
        0x7fff86bf6000 -     0x7fff86bf9ff7  libdyld.dylib (210.2.3) <F59367C9-C110-382B-A695-9035A6DD387E> /usr/lib/system/libdyld.dylib
        0x7fff8715b000 -     0x7fff8715bfff  com.apple.vecLib (3.8 - vecLib 3.8) <6CBBFDC4-415C-3910-9558-B67176447789> /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
        0x7fff871a8000 -     0x7fff87235ff7  com.apple.SearchKit (1.4.0 - 1.4.0) <C7F43889-F8BF-3CB9-AD66-11AEFCBCEDE7> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
        0x7fff87236000 -     0x7fff87243fff  libbz2.1.0.dylib (29) <CE9785E8-B535-3504-B392-82F0064D9AF2> /usr/lib/libbz2.1.0.dylib
        0x7fff872d9000 -     0x7fff87373fff  libvMisc.dylib (380.10) <A7F12764-A94C-36EB-88E0-F826F5AF55B4> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
        0x7fff87455000 -     0x7fff87455fff  com.apple.CoreServices (57 - 57) <9DD44CB0-C644-35C3-8F57-0B41B3EC147D> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
        0x7fff87874000 -     0x7fff87947ff7  com.apple.DiscRecording (7.0 - 7000.2.4) <6DCA9535-E276-3D77-BEB3-296B537AA6BB> /System/Library/Frameworks/DiscRecording.framework/Versions/A/DiscRecording
        0x7fff879ab000 -     0x7fff879aefff  libutil.dylib (30) <EF3340B2-9A53-3D5E-B9B4-BDB5EEECC178> /usr/lib/libutil.dylib
        0x7fff87da3000 -     0x7fff87da5ff7  com.apple.EFILogin (2.0 - 2) <51A470D7-1F72-3369-AF0F-AD2340B42C12> /System/Library/PrivateFrameworks/EFILogin.framework/Versions/A/EFILogin
        0x7fff880b1000 -     0x7fff880e9fff  libncurses.5.4.dylib (37.3) <68D5B5F5-8252-3F1E-AFF1-C6AFE145DBC1> /usr/lib/libncurses.5.4.dylib
        0x7fff881ed000 -     0x7fff881faff7  com.apple.NetAuth (4.0 - 4.0) <F5BC7D7D-AF28-3C83-A674-DADA48FF7810> /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
        0x7fff88571000 -     0x7fff8859fff7  libsystem_m.dylib (3022.6) <B434BE5C-25AB-3EBD-BAA7-5304B34E3441> /usr/lib/system/libsystem_m.dylib
        0x7fff887e7000 -     0x7fff887e8ff7  libSystem.B.dylib (169.3) <5ED23C27-47AF-3C93-984A-172751CF745A> /usr/lib/libSystem.B.dylib
        0x7fff887e9000 -     0x7fff8883aff7  com.apple.SystemConfiguration (1.12.2 - 1.12.2) <581BF463-C15A-363B-999A-E830222FA925> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
        0x7fff8883b000 -     0x7fff88b52ff7  com.apple.CoreServices.CarbonCore (1037.6 - 1037.6) <1E567A52-677F-3168-979F-5FBB0818D52B> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
        0x7fff88b53000 -     0x7fff88b54ff7  libsystem_sandbox.dylib (220.3) <B739DA63-B675-387A-AD84-412A651143C0> /usr/lib/system/libsystem_sandbox.dylib
        0x7fff88be0000 -     0x7fff88bf3ff7  libbsm.0.dylib (32) <F497D3CE-40D9-3551-84B4-3D5E39600737> /usr/lib/libbsm.0.dylib
        0x7fff88dd0000 -     0x7fff88dd1fff  libsystem_blocks.dylib (59) <D92DCBC3-541C-37BD-AADE-ACC75A0C59C8> /usr/lib/system/libsystem_blocks.dylib
        0x7fff892df000 -     0x7fff892e5fff  libmacho.dylib (829) <BF332AD9-E89F-387E-92A4-6E1AB74BD4D9> /usr/lib/system/libmacho.dylib
        0x7fff892e6000 -     0x7fff89335ff7  libcorecrypto.dylib (106.2) <CE0C29A3-C420-339B-ADAA-52F4683233CC> /usr/lib/system/libcorecrypto.dylib
        0x7fff89336000 -     0x7fff89536fff  libicucore.A.dylib (491.11.3) <5783D305-04E8-3D17-94F7-1CEAFA975240> /usr/lib/libicucore.A.dylib
        0x7fff89537000 -     0x7fff89537fff  libOpenScriptingUtil.dylib (148.3) <F8681222-0969-3B10-8BCE-C55A4B9C520C> /usr/lib/libOpenScriptingUtil.dylib
        0x7fff89538000 -     0x7fff89581ff7  com.apple.DiskManagement (5.3.1 - 680) <5438A1FF-B92C-3D28-A8E4-FB41F03144C2> /System/Library/PrivateFrameworks/DiskManagement.framework/Versions/A/DiskManag ement
        0x7fff89589000 -     0x7fff895abff7  libxpc.dylib (140.43) <70BC645B-6952-3264-930C-C835010CCEF9> /usr/lib/system/libxpc.dylib
        0x7fff895b6000 -     0x7fff895cdfff  com.apple.CFOpenDirectory (10.8 - 151.10) <F7AD9844-559A-366E-8192-BB4FCF9EE7A3> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpen Directory.framework/Versions/A/CFOpenDirectory
        0x7fff895ce000 -     0x7fff895d9fff  libsystem_notify.dylib (98.5) <C49275CC-835A-3207-AFBA-8C01374927B6> /usr/lib/system/libsystem_notify.dylib
        0x7fff8960f000 -     0x7fff89614fff  libcompiler_rt.dylib (30) <08F8731D-5961-39F1-AD00-4590321D24A9> /usr/lib/system/libcompiler_rt.dylib
        0x7fff899f3000 -     0x7fff89a3fff7  libauto.dylib (185.4) <AD5A4CE7-CB53-313C-9FAE-673303CC2D35> /usr/lib/libauto.dylib
        0x7fff89b9a000 -     0x7fff89b9cff7  libunc.dylib (25) <92805328-CD36-34FF-9436-571AB0485072> /usr/lib/system/libunc.dylib
        0x7fff89bd8000 -     0x7fff89c09ff7  com.apple.DictionaryServices (1.2 - 184.4) <FB0540FF-5034-3591-A28D-6887FBC220F7> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Diction aryServices.framework/Versions/A/DictionaryServices
        0x7fff8a01f000 -     0x7fff8a0afff7  libCoreStorage.dylib (296.18.2) <2FFB6BCA-3033-3AC1-BCE4-ED102DCBECD5> /usr/lib/libCoreStorage.dylib
        0x7fff8a0d9000 -     0x7fff8a0eeff7  libdispatch.dylib (228.23) <D26996BF-FC57-39EB-8829-F63585561E09> /usr/lib/system/libdispatch.dylib
        0x7fff8a0ef000 -     0x7fff8a11afff  libxslt.1.dylib (11.3) <441776B8-9130-3893-956F-39C85FFA644F> /usr/lib/libxslt.1.dylib
        0x7fff8a2e9000 -     0x7fff8a2f3fff  libcsfde.dylib (296.18.2) <08092C5B-2171-3C1D-A98F-CF499A315DDC> /usr/lib/libcsfde.dylib
        0x7fff8a305000 -     0x7fff8a3d1ff7  libsystem_c.dylib (825.40.1) <543B05AE-CFA5-3EFE-8E58-77225411BA6B> /usr/lib/system/libsystem_c.dylib
        0x7fff8a5c9000 -     0x7fff8a628fff  com.apple.AE (645.6 - 645.6) <44F403C1-660A-3543-AB9C-3902E02F936F> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.fram ework/Versions/A/AE
        0x7fff8a679000 -     0x7fff8a776fff  libsqlite3.dylib (138.1) <ADE9CB98-D77D-300C-A32A-556B7440769F> /usr/lib/libsqlite3.dylib
        0x7fff8a8e3000 -     0x7fff8a9e0ff7  libxml2.2.dylib (22.3) <47B09CB2-C636-3024-8B55-6040F7829B4C> /usr/lib/libxml2.2.dylib
        0x7fff8afa9000 -     0x7fff8afdffff  libsystem_info.dylib (406.17) <4FFCA242-7F04-365F-87A6-D4EFB89503C1> /usr/lib/system/libsystem_info.dylib
        0x7fff8afe6000 -     0x7fff8afeefff  liblaunch.dylib (442.26.2) <2F71CAF8-6524-329E-AC56-C506658B4C0C> /usr/lib/system/liblaunch.dylib
        0x7fff8b2b7000 -     0x7fff8b368fff  com.apple.LaunchServices (539.9 - 539.9) <07FC6766-778E-3479-8F28-D2C9917E1DD1> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/LaunchServices
        0x7fff8b3bc000 -     0x7fff8b3c0ff7  com.apple.TCC (1.0 - 1) <F2F3B753-FC73-3543-8BBE-859FDBB4D6A6> /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
        0x7fff8c051000 -     0x7fff8c0b9fff  libvDSP.dylib (380.10) <3CA154A3-1BE5-3CF4-BE48-F0A719A963BB> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
        0x7fff8c15b000 -     0x7fff8c17cff7  libCRFSuite.dylib (33) <736ABE58-8DED-3289-A042-C25AF7AE5B23> /usr/lib/libCRFSuite.dylib
        0x7fff8c1bc000 -     0x7fff8c1c2ff7  libunwind.dylib (35.1) <21703D36-2DAB-3D8B-8442-EAAB23C060D3> /usr/lib/system/libunwind.dylib
        0x7fff8c58d000 -     0x7fff8c984fff  libLAPACK.dylib (1073.4) <D632EC8B-2BA0-3853-800A-20DA00A1091C> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
        0x7fff8c985000 -     0x7fff8c993ff7  libsystem_network.dylib (77.10) <0D99F24E-56FE-380F-B81B-4A4C630EE587> /usr/lib/system/libsystem_network.dylib
        0x7fff8c994000 -     0x7fff8c99bfff  libcopyfile.dylib (89) <876573D0-E907-3566-A108-577EAD1B6182> /usr/lib/system/libcopyfile.dylib
        0x7fff8c99c000 -     0x7fff8c9aafff  libcommonCrypto.dylib (60027) <BAAFE0C9-BB86-3CA7-88C0-E3CBA98DA06F> /usr/lib/system/libcommonCrypto.dylib
        0x7fff8ccbc000 -     0x7fff8cf8dff7  com.apple.security (7.0 - 55179.13) <F428E306-C407-3B55-BA82-E58755E8A76F> /System/Library/Frameworks/Security.framework/Versions/A/Security
        0x7fff8d22a000 -     0x7fff8d589fff  com.apple.Foundation (6.8 - 945.18) <1D7E58E6-FA3A-3CE8-AC85-B9D06B8C0AA0> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
        0x7fff8d939000 -     0x7fff8d950fff  com.apple.GenerationalStorage (1.1 - 132.3) <FD4A84B3-13A8-3C60-A59E-25A361447A17> /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/Gene rationalStorage
        0x7fff8d951000 -     0x7fff8d952fff  liblangid.dylib (116) <864C409D-D56B-383E-9B44-A435A47F2346> /usr/lib/liblangid.dylib
        0x7fff8d953000 -     0x7fff8d95afff  com.apple.NetFS (5.0 - 4.0) <82E24B9A-7742-3DA3-9E99-ED267D98C05E> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
        0x7fff8d968000 -     0x7fff8d9d1fff  libstdc++.6.dylib (56) <EAA2B53E-EADE-39CF-A0EF-FB9D4940672A> /usr/lib/libstdc++.6.dylib
        0x7fff8dbde000 -     0x7fff8dc4cff7  com.apple.framework.IOKit (2.0.1 - 755.42.1) <A90038ED-48F2-3CC9-A042-53A3D7985844> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
        0x7fff8e11b000 -     0x7fff8e11dfff  libquarantine.dylib (52.1) <143B726E-DF47-37A8-90AA-F059CFD1A2E4> /usr/lib/system/libquarantine.dylib
        0x7fff9012f000 -     0x7fff9024792f  libobjc.A.dylib (532.2) <90D31928-F48D-3E37-874F-220A51FD9E37> /usr/lib/libobjc.A.dylib
        0x7fff91567000 -     0x7fff91568ff7  libdnsinfo.dylib (453.19) <14202FFB-C3CA-3FCC-94B0-14611BF8692D> /usr/lib/system/libdnsinfo.dylib
        0x7fff91952000 -     0x7fff919b5fff  com.apple.audio.CoreAudio (4.1.2 - 4.1.2) <FEAB83AB-1DE5-3813-BA48-7A7F2374CCF0> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
        0x7fff91a98000 -     0x7fff91c82ff7  com.apple.CoreFoundation (6.8 - 744.19) <0F7403CA-2CB8-3D0A-992B-679701DF27CA> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
        0x7fff91c83000 -     0x7fff91e09fff  libBLAS.dylib (1073.4) <C102C0F6-8CB6-3B49-BA6B-2EB61F0B2784> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
        0x7fff91e13000 -     0x7fff91e25ff7  libz.1.dylib (43) <2A1551E8-A272-3DE5-B692-955974FE1416> /usr/lib/libz.1.dylib
        0x7fff91e76000 -     0x7fff91e7cfff  com.apple.DiskArbitration (2.5.2 - 2.5.2) <C713A35A-360E-36CE-AC0A-25C86A3F50CA> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
        0x7fff91f14000 -     0x7fff91f54ff7  com.apple.MediaKit (14 - 687) <8AAA8CC3-3ACD-34A5-9E57-9B24AD8AFD4D> /System/Library/PrivateFrameworks/MediaKit.framework/Versions/A/MediaKit
        0x7fff92028000 -     0x7fff92037ff7  libxar.1.dylib (105) <370ED355-E516-311E-BAFD-D80633A84BE1> /usr/lib/libxar.1.dylib
        0x7fff921bd000 -     0x7fff921c1fff  libpam.2.dylib (20) <C8F45864-5B58-3237-87E1-2C258A1D73B8> /usr/lib/libpam.2.dylib
        0x7fff921c2000 -     0x7fff92314fff  com.apple.audio.toolbox.AudioToolbox (1.9.2 - 1.9.2) <DC5F3D1B-036A-37DE-BC24-7636DC95EA1C> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
    External Modification Summary:
      Calls made by other processes targeting this process:
        task_for_pid: 0
        thread_create: 0
        thread_set_state: 0
      Calls made by this process:
        task_for_pid: 0
        thread_create: 0
        thread_set_state: 0
      Calls made by all processes on this machine:
        task_for_pid: 240
        thread_create: 0
        thread_set_state: 0
    VM Region Summary:
    ReadOnly portion of Libraries: Total=89.5M resident=64.1M(72%) swapped_out_or_unallocated=25.4M(28%)
    Writable regions: Total=82.6M written=784K(1%) resident=1340K(2%) swapped_out=0K(0%) unallocated=81.3M(98%)
    REGION TYPE                      VIRTUAL
    ===========                      =======
    MALLOC                             72.3M
    MALLOC guard page                    32K
    STACK GUARD                        56.0M
    Stack                              10.0M
    VM_ALLOCATE                           8K
    __DATA                             3472K
    __LINKEDIT                         52.1M
    __TEXT                             37.4M
    __UNICODE                           544K
    mapped file                        18.1M
    shared memory                        12K
    ===========                      =======
    TOTAL                             250.0M

    That kind of crash is usually caused by system corruption. I suggest you reinstall.

  • Add VM to a Port Mirroring Session

    I need every VM added to a given folder in vCenter to be added to an existing distributed switch port mirroring session.  Is this possible using PowerCLI?

    The following will add the VM ($vmName) to a specific port mirroring session ($mirrorSessionName) on a distributed switch ($dvSwName).
    You can define the traffic direction(s) for which the VM needs to be added with the variables $Ingress and $Egress.
    Note that there isn't any error checking in the script.
    For example if the mirror session does not exist, the script will fail without an informative messages.
    To repeat this script for all VMs in a specific folder should be not too difficult, I assume ?
    $dvSwName = 'dvSw1'
    $mirrorSessionName = 'Test'
    $vmName = 'VM2'
    $Ingress = $false
    $Egress = $true
    $dvSw = Get-VDSwitch -Name $dvSwName
    $vm = Get-VM -Name $vmName
    $vmNic = $vm.ExtensionData.Config.Hardware.Device |
        where{$_.Backing -is [VMware.Vim.VirtualEthernetCardDistributedVirtualPortBackingInfo]}
    $spec = New-Object VMware.Vim.VMwareDVSConfigSpec
    foreach($mirrorSession in $dvSw.ExtensionData.Config.VspanSession){
        if($mirrorSession.Name -eq $mirrorSessionName){
            $vspan = New-Object VMware.Vim.VMwareDVSVspanConfigSpec
            $vspan.Operation = [VMware.Vim.ConfigSpecOperation]::edit
            $vmInRc = $mirrorSession.SourcePortReceived | where{$_.PortKey -contains $vmNic.Backing.Port.PortKey}
            if($Ingress -and !$vmInRc){
                $mirrorSession.SourcePortReceived.PortKey += $vmNic.Backing.Port.PortKey
            $vmInTx = $mirrorSession.SourcePortTRansmitted | where{$_.PortKey -contains $vmNic.Backing.Port.PortKey}
            if($Egress -and !$vmInTx){
                $mirrorSession.SourcePortTransmitted.PortKey += $vmNic.Backing.Port.PortKey
            $vspan.vspanSession = $mirrorSession
            $spec.vspanConfigSpec += $vspan
    $spec.ConfigVersion = $dvSw.ExtensionData.Config.ConfigVersion
    $dvSw.ExtensionData.ReconfigureDvs($spec)

  • SG300-28 Port Mirroring

    Hello,
    I am wondering if anyone else has issues with port mirrors? I have created a mirror to copy all packets from Interface gi1 to interface gi28. I don't see any port 80 traffic, or 443 or any revelant traffic. I see mostly broadcast from other devices. I have a security device that is logging all the copied packets from my firewall for malware/IPS, etc inspection.
    Right now I have it monitoring vlan 1 in the hope that it would resolve this issue but I see no change. The config is attached for viewing.
    Any thoughs?

    Hi Alan, try to monitor a specific port instead of the whole VLAN.
    -Tom
    Please mark answered for helpful posts

  • Port mirroring on SG300 questions

    Hi all,
    I'm troubleshooting a LAN issue I have, and I wanted to hook up wireshark to record traffic over the course of a couple of hours for later diagnostics. I went into the web administration interface, clicked Administration > Diagnostics > Port and VLAN Mirroring, and added a port mirror from the port I wanted to watch to a port to which I had connected a laptop. I picked the Tx and Rx options, and clicked Apply.
    I did receive lots of traffic in wireshark, but I noticed immediately that the server on the port I had mirrored was suddenly unavailable on the network -- pings timed out. This lasted until I removed the mirror, then the server was suddenly reachable once again.
    Does this feature not work the way I had thought it does? What I saw looked more like a forward than what I would call a mirror. The documentation leads me to believe mirroring is intended to be used in just the way I was attempting to use it.
    Am I missing something?

    Hi Lamint,
    I have a SG300-10P for my test,  I did the same thing you did in my GUI.
    I was mirroring port 7 to port 8 ticking the item to mirror RX and TX
    My PC with wireshark was residing on port 8.
    I started a comtinuous oibg from my  PC on port 7 at IP address 192.168.10.60 to my WAN routers LAN address, 192.168.10.1 .
    As you can see from my screen capture below, my PC on port 8 caprtured both RX and TX packets on port 7.
    Because my wireshark  PC was on port 8, I could not access the management interface of the switch to show you my configuration, so I grabbed the configuration via hyperterminal.
    See screen caopture below ( with some configuration items excluded)..
    I would suggest, if you are having issues to allow the Small Business Support Center to assist you.
    http://www.cisco.com/en/US/support/tsd_cisco_small_business_support_center_contacts.html
    Hope this helps
    regards Dave

  • Why does my sg 200 keeps changing port mirror destination to g1

    On my sg 200-8 I have 1 port mirror session, with destination set to g4. If I disable, then enable, it changes the port to g1 and g4 is not among the ones I can choose. How do I re-enable it, without having to delete it and create a new one. And why does it keep changing it to g1?

    Thanks Thomas. I think I was looking at it wrong regarding the SG switch saying that access mode ports do not tag traffic. It looks like it's from the viewpoint of how the ingress traffic looks. So, a port in access mode assumes that traffic coming in is untagged. Once that traffic ingresses into the port it is then tagged with the VLAN specified for that port. Does this sound right? It's just confusing how the SG switches describe the access mode ports as the PVID being untagged, when it actually is being tagged after data ingresses into the port.
    By the way, the layer 3 device is an ASA 5510, which is also performing DHCP for the VLAN.
    As you mentioned, I think my core issue is the upstream trunking configuration, which I'm looking into.
    Thanks for your help,
    Logan

  • HT201335 Using mirroring with my apple tv and everthing shows up on the tv untill i try to watch a movie, i get the sound but no picture. I checked and both are on the same wifi?

    Using mirroring with my apple tv and everthing shows up on the tv untill i try to watch a movie, i get the sound but no picture. I checked and both are on the same wifi?

    I had this problem also. Several times in fact. And it has not been any relation with sw update (Apple TV). I managed to fix this on a strange way. I drop off WiFi in iMac and joined back. Right after thatI tried to adjust Airplay settings, but I didn't manage. Reason was that my iMac didn't found any Airplay devices (?). After about 2-3 minutes iMac recognized my Apple TV. And also audio "posting" to Apple TV started to work.
    So restart your WiFi connection on your iMac or MacBook Pro - it may help.
    Another hint is to use command: "sudo killall coreaudiod". More information about that: http://wwwx.cs.unc.edu/~cquammen/wp/2011/02/18/resetting-audio-on-mac-os-x/
    I have not tried this, but maybe next time
    Br
    Mikko R

  • Port mirroring on A90-9100EM​15-10

    Hey all - 
        I have the A90-9100EM15-10 FiOS router and I'd like to setup port mirroring from the router if it has the capability (I know, I know...this is typically done from a switch).  Anyway, rather than purchase a managed switch or build a linux-based "switch" and place it inline, I'd be content with the ability to passively monitor traffic.  I prefer to monitor traffic both directions but outgoing would suffice. 
        Does anyone know if my model FiOS router has such a capability?
    Cheers,
    Eneg

    The 9100EM does not support port mirroring.
    You might want to find a hub and use that to mirror the traffic.
    http://shop.ebay.com/?_from=R40&_trksid=p5197.m570​.l1313&_nkw=ethernet+hub&_sacat=See-All-Categories
    Be careful though, many of those listed claim to be hubs are not and are in fact switches.

  • Port mirroring on SRW2048 kills Wireshark workstation IP

    I have a workstation on this switch that is running WireShark and I need to get packets to it.  However the moment I turn on port mirroring the station loses IP connectivity to the network.  I tried Rx only, Tx only and both and all three settings knock the workstation off the IP network.  Is there something I am missing?  Also, I noticed that I can only mirror 4 source ports to this one target port.  I would like to select pretty  much all the ports as source port.  Why can't I do this?  I was previously using an older DLink switch that allowed me to mirror all ports and I am pretty sure that other switches like the Cisco 2900 series let you select all ports as source ports.
    Thanks,
    Diego

    I fully understand what you are saying but that isn't consistent with previous experiences with port mirroring.  I have used Cisco Catalyst type switches and also DLink switches that allow you to mirror all ports on the switch to one destination port.  And even with all ports mirrored IP connectivity to the destination port is maintained. 
    This is not so surprising on the Catalyst stuff which is considered maybe a bit more "high end" than Linksys but the DLink which is a cheaper switch has the ability to do this just as the Catalyst.  It seems that the Linksys is inferior in this regard to the Catalyst and the DLink.
    Sorry to hear that and hopefully a future firmware version will change this behavior.
    Thank you very much for your help.
    Rgds,
    Diego

  • Port mirroring

    I want to configure port mirroring on SG300 swtich
    Source Port  gi10
    Destination port gi1
    You can see my configuration from the attached jpg file.
    Problem is port monitoring status is "Not Ready" , and i can not monitor the source interface!

    Hi Egemen,
    I have the same thing happenning on my SG300-10P, see screen capture below.
    Then I plugged some devices into ports G8 and G9.
    It was noted that the  status changed to the following,  see screen capture below.
    Check your link state on the front of the switch or use to GUI to look at the port states.  If one of those two ports does not have link,  the switch will report "not ready."
    You may find additional useful information under status and statistics> view  log >ram memory can give you details about what is happening with port states, so check your error log.
    ( note: logging may have to be enabled via Administration >log settings )
    regards dave

Maybe you are looking for

  • New computer purchase hinges on use of XP on Mac

    I'm in the market for a new laptop, preferably a Mac that will run XP (and potentially Vista in the near future?). My specific need is to be able to occassionally run Windows XP, make a wireless Internet connection (WEP password entry may be required

  • Setting the Isolation Level to Read Uncommitted

    Hello All, We are using BO XI r3 and SQL Server 2008. I would like to change the isolation level of the connection to read uncommitted. There are 2 options that i could by Googling.. 1. Making changes in the SBO file... this didnt work 2. Making chan

  • I need help making a playlist on my iPhone4.  I cant even find my old one!

    I was never very successful before, but I did create one short playlist.  Now, I cant find it or how to create a new one.  I usualy try when I'm in the car so, that's part of the problem!  lol  believe it or not I am still buning CDs to play in the c

  • S6000 turned on by itself, after i have turned it off!!

    Hi all, I have a pain of a problem with my s6000 tablet. A couple of times i'd leave it overnight, with it having almost max charge. When i'd try and turn it on it either wouldn't or there would only be a few % off battery left. Now it seems that whe

  • Advanced Search Save View loses search criteria

    I have a custom page with a table based on a simple VO in a query region with the following search properties Construction Mode = resultsBasedSearch Include Simple Panel = false Include Views Panel = true Include Advanced Panel = true Intitial Panel