Nexus1000v local SPAN can't capture inbound traffic

hi all,
I just configured local SPAN on nexus1000v (version 1.3d).
local SPAN source and destination is on same VEM.
my config is like below:
monitor session 3
  source interface Vethernet13 both
  destination interface Vethernet170
  destination interface Vethernet36
  no shut
SPAN session is up.
But we can't see any inbound traffic to the source VM.
(10.16.185.4,5,6 is the IPs of SPAN source)
[root@davidzhangRHEL ~]# tcpdump -i eth1
tcpdump: WARNING: eth1: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 96 bytes
11:46:07.644551 IP 10.16.185.3.hsrp > 224.0.0.2.hsrp: HSRPv0-hello 20: state=sta                                                ndby group=1 addr=10.16.185.1
11:46:07.654771 IP 10.16.185.2.hsrp > 224.0.0.2.hsrp: HSRPv0-hello 20: state=act                                                ive group=1 addr=10.16.185.1
11:46:07.961735 IP 10.16.185.6.https > 10.16.184.196.50254: S 3897896960:3897896                                                960(0) ack 1838046824 win 8192 <mss 1460,nop,wscale 8,sackOK,timestamp 74329579                                                 2654766205>
11:46:07.962955 IP 10.16.185.6.https > 10.16.184.196.50254: R 1:1(0) ack 2 win 0
11:46:10.644950 IP 10.16.185.3.hsrp > 224.0.0.2.hsrp: HSRPv0-hello 20: state=sta                                                ndby group=1 addr=10.16.185.1
11:46:10.657615 IP 10.16.185.2.hsrp > 224.0.0.2.hsrp: HSRPv0-hello 20: state=act                                                ive group=1 addr=10.16.185.1
11:46:11.081231 IP 10.16.185.5.https > 10.16.184.197.58538: S 1850399261:1850399                                                261(0) ack 3055844595 win 8192 <mss 1460,nop,wscale 8,sackOK,timestamp 74329891                                                 2654662655>
11:46:11.081970 IP 10.16.185.5.https > 10.16.184.197.58538: R 1:1(0) ack 2 win 0
11:46:11.957381 IP 10.16.185.5.https > 10.16.184.196.42161: S 1862096740:1862096                                                740(0) ack 970410175 win 8192 <mss 1460,nop,wscale 8,sackOK,timestamp 74329978 2                                                654770202>
11:46:11.958705 IP 10.16.185.5.https > 10.16.184.196.42161: R 1:1(0) ack 2 win 0
11:46:12.089401 IP 10.16.185.6.https > 10.16.184.197.45604: S 2733719434:2733719                                                434(0) ack 3290215780 win 8192 <mss 1460,nop,wscale 8,sackOK,timestamp 74329992                                                 2654663683>
11:46:12.090735 IP 10.16.185.6.https > 10.16.184.197.45604: R 1:1(0) ack 2 win 0
11:46:12.956018 IP 10.16.185.6.https > 10.16.184.196.50302: S 2275642708:2275642                                                708(0) ack 3286673454 win 8192 <mss 1460,nop,wscale 8,sackOK,timestamp 74330078                                                 2654771200>
11:46:12.956838 IP 10.16.185.6.https > 10.16.184.196.50302: R 1:1(0) ack 2 win 0
11:46:13.552716 IP 10.16.185.4.61913 > 10.2.222.111.5723: P 3867141198:386714222                                                3(1025) ack 4146771556 win 508
11:46:13.645770 IP 10.16.185.3.hsrp > 224.0.0.2.hsrp: HSRPv0-hello 20: state=sta                                                ndby group=1 addr=10.16.185.1
11:46:13.654427 IP 10.16.185.2.hsrp > 224.0.0.2.hsrp: HSRPv0-hello 20: state=act                                                ive group=1 addr=10.16.185.1
11:46:13.817143 IP 10.16.185.4.61913 > 10.2.222.111.5723: . ack 180 win 508
1000v# module vem 12 execute vemcmd show span
VEM SOURCE IP NOT CONFIGURED.
HW SSN ID            DST LTL/IP  ERSPAN ID  HDR VER
        0                    68      local
1000v# show monitor internal errors
1) Event:E_DEBUG, length:96, at 163774 usecs after Thu Sep 22 15:12:17 2011
    [102] eth_span_phy_if_init_runtime_info(1051): im_get_ifindex_span_mode_list returned 0x40e30005
2) Event:E_DEBUG, length:96, at 684704 usecs after Thu Sep 22 15:12:04 2011
    [102] eth_span_phy_if_init_runtime_info(1051): im_get_ifindex_span_mode_list returned 0x40e30005
anybody any suggestion. Your help is highly appreciated.

Hi Michael,
Thanks. You are correct. We are able to see outbound traffic from SPAN source but not inbound traffic to SPAN source.
Note: I have done vmotion for the SPAN source and SPAN destination virtual machines.
Please see the below output which you requested.
1000v# show monitor session 1
   session 1
type              : local
state             : up
source intf       :
    rx            : Veth13
    tx            : Veth13
    both          : Veth13
source VLANs      :
    rx            :
    tx            :
    both          :
filter VLANs      : filter not specified
destination ports : Veth170   Veth36
1000v#
show monitor internal info session 1
Session 1 info:
FSM state: SESSION_STATE_OPER_ACTIVE
State reason: 0
*** ADMIN DATA ***
Session state: NO SHUT
Ingress sources
phy if: Veth13
port ch:
vlans:
Egress sources
phy if: Veth13
port ch:
vlans:
Destinations:
Veth170, Veth36
PSS source list:
Veth13
PSS destination list:
Veth170, Veth36
*** RUNTIME DATA ***
hw_ssn_id: 0
destination index: 0x4fa3 (multicast di)
oper rx: Veth13
oper tx: Veth13
oper dest: Veth170, Veth36
oper dest for di: Veth170, Veth36
programmed rx: Veth13
programmed tx: Veth13
programmed dest: Veth170, Veth36
programmed dest for di: Veth170, Veth36
programmed filter rx:1500
programmed filter tx:
Lock Info: resource [Session ID(0x1)]
  type[0] p_gwrap[(nil)]
      FREE @ 97236 usecs after Sun Sep 25 12:14:25 2011
  type[1] p_gwrap[(nil)]
      FREE @ 580143 usecs after Tue Sep 27 01:53:06 2011
  type[2] p_gwrap[(nil)]
      FREE @ 520203 usecs after Sun Sep 25 12:48:23 2011
0x1
Use lock event history for more details
1000v# terminal length 0
1000v# show monitor internal info interface vethernet 13
Interface info:
if_index: 1c0000c0
source for ssn 1, src_dir 3
state: up
layer: 2
mode: access
Access vlan: 1500
Interface is not in switchport monitor mode
No Entries in SDB for if_index 0x1c0000c0
1000v# show monitor internal info interface vethernet 36
Interface info:
if_index: 1c000230
destination for ssn 1
state: up
layer: 2
mode: access
Access vlan: 1500
Interface is not in switchport monitor mode
The port is MISCONFIGURED, being not span destination but used as such
No Entries in SDB for if_index 0x1c000230
1000v# show monitor internal info interface vethernet 170
Interface info:
if_index: 1c000a90
destination for ssn 1
state: up
layer: 2
mode: access
Access vlan: 1500
Interface is not in switchport monitor mode
The port is MISCONFIGURED, being not span destination but used as such
No Entries in SDB for if_index 0x1c000a90
1000v# show interface virtual | egrep "(13|36|170)"
Veth13      Net Adapter 1  VM451             11  esx905
Veth36      Net Adapter 4  VM510             11  esx905
Veth113     Net Adapter 2  VM808             12  esx902
Veth130     Net Adapter 1  VMSDE449          12  esx902
Veth131     Net Adapter 3  VM809             10  esx904
Veth132     Net Adapter 2  VMSDE449          12  esx902
Veth134     Net Adapter 2  VM510             11  esx905
Veth135     Net Adapter 2  VM511             8   esx901
Veth136     Net Adapter 2  VM465             9   esx903
Veth137     Net Adapter 1  VM472             11  esx905
Veth138     Net Adapter 3  VM470             10  esx904
Veth139     Net Adapter 3  VM472             11  esx905
Veth151     Net Adapter 1  VMSDE436          11  esx905
Veth152     Net Adapter 2  VMSDE436          11  esx905
Veth170     Net Adapter 2  RHEL5             11  esx905
1000v# module vem 11 execute vemcmd show port
  LTL    IfIndex   Vlan    Bndl  SG_ID Pinned_SGID  Type  Admin State  CBL Mode   Name
    8          0   3969       0     32          32  VIRT     UP    UP    4 Access
    9          0   3969       0     32          32  VIRT     UP    UP    4 Access
   10          0   1513       0     32           7  VIRT     UP    UP    4 Access
   11          0   3968       0     32          32  VIRT     UP    UP    4 Access
   12          0   1514       0     32           8  VIRT     UP    UP    4 Access
   13          0      1       0     32          32  VIRT     UP    UP    0 Access
   14          0   3971       0     32          32  VIRT     UP    UP    4 Access
   15          0   3971       0     32          32  VIRT     UP    UP    4 Access
   16   1a0a0000   1600 T   307      0          32  PHYS     UP    UP    4  Trunk vmnic0
   18   1a0a0200    616 T   306      2          32  PHYS     UP    UP    4  Trunk vmnic2
   19   1a0a0300      1 T   305      3          32  PHYS     UP    UP    1  Trunk vmnic3
   20   1a0a0400      1 T   305      4          32  PHYS     UP    UP    1  Trunk vmnic4
   21   1a0a0500   1600 T   307      5          32  PHYS     UP    UP    4  Trunk vmnic5
   23   1a0a0700      1 T   304      7          32  PHYS     UP    UP    1  Trunk vmnic7
   24   1a0a0800      1 T   304      8          32  PHYS     UP    UP    1  Trunk vmnic8
   25   1a0a0900    616 T   306      9          32  PHYS     UP    UP    4  Trunk vmnic9
   48   1b0a0000   1500       0     32           3  VIRT     UP    UP    4 Access VM510 ethernet3
   49   1b0a0010    620       0     32           9  VIRT     UP    UP    4 Access VM510 ethernet2
        pvlan isolated 616 620
   50   1b0a0020   1500       0     32           4  VIRT     UP    UP    4 Access VM510 ethernet1
   51   1b0a0030   1620       0     32           0  VIRT     UP    UP    4 Access VM480 ethernet2
        pvlan isolated 1600 1620
   52   1b0a0040    620       0     32           2  VIRT     UP    UP    4 Access VM480 ethernet1
        pvlan isolated 616 620
   53   1b0a0050   1502       0     32           3  VIRT     UP    UP    4 Access VM480 ethernet0
   54   1b0a0060   1509       0     32           4  VIRT     UP    UP    4 Access fiserv-f5 ethernet2
   55   1b0a0070    620       0     32           9  VIRT     UP    UP    4 Access fiserv-f5 ethernet1
        pvlan isolated 616 620
   56   1b0a0080   1512       0     32           7  VIRT     UP    UP    4 Access fiserv-f5.eth0
   57   1b0a0090   1620       0     32           5  VIRT     UP    UP    4 Access VM459 ethernet2
        pvlan isolated 1600 1620
   58   1b0a00a0    620       0     32           2  VIRT     UP    UP    4 Access VM459 ethernet1
        pvlan isolated 616 620
   59   1b0a00b0   1501       0     32           3  VIRT     UP    UP    4 Access VM459 ethernet0
   60   1b0a00c0    620       0     32           2  VIRT     UP    UP    4 Access VM476 ethernet2
        pvlan isolated 616 620
   61   1b0a00d0   1501       0     32           4  VIRT     UP    UP    4 Access VM476 ethernet1
   62   1b0a00e0   1620       0     32           0  VIRT     UP    UP    4 Access VM476 ethernet0
        pvlan isolated 1600 1620
   63   1b0a00f0    620       0     32           2  VIRT     UP    UP    4 Access VM451 ethernet3
        pvlan isolated 616 620
   64   1b0a0100   1620       0     32           5  VIRT     UP    UP    4 Access VM451 ethernet2
        pvlan isolated 1600 1620
   65   1b0a0110   1500       0     32           3  VIRT     UP    UP    4 Access VM451 ethernet0
   66   1b0a0120   1620       0     32           0  VIRT     UP    UP    4 Access VMSDE440 ethernet1
        pvlan isolated 1600 1620
   67   1b0a0130   1508       0     32           4  VIRT     UP    UP    4 Access VMSDE440 ethernet0
   68   1b0a0140   1509       0     32           3  VIRT     UP    UP    4 Access VM501 ethernet0
   72   1b0a0180   1620       0     32           0  VIRT     UP    UP    4 Access VMSDE436 ethernet1
        pvlan isolated 1600 1620
   73   1b0a0190   1508       0     32           3  VIRT     UP    UP    4 Access VMSDE436 ethernet0
   74   1b0a01a0    620       0     32           2  VIRT     UP    UP    4 Access VM477 ethernet3
        pvlan isolated 616 620
   75   1b0a01b0   1620       0     32           5  VIRT     UP    UP    4 Access VM477 ethernet1
        pvlan isolated 1600 1620
   76   1b0a01c0   1501       0     32           3  VIRT     UP    UP    4 Access VM477 ethernet0
   77   1b0a01d0   1620       0     32           0  VIRT     UP    UP    4 Access VMSDE434 ethernet1
        pvlan isolated 1600 1620
   78   1b0a01e0   1508       0     32           4  VIRT     UP    UP    4 Access VMSDE434 ethernet0
   79   1b0a01f0   1620       0     32           5  VIRT     UP    UP    4 Access VM454 ethernet3
        pvlan isolated 1600 1620
   80   1b0a0200    620       0     32           9  VIRT     UP    UP    4 Access VM454 ethernet2
        pvlan isolated 616 620
   81   1b0a0210   1501       0     32           4  VIRT     UP    UP    4 Access VM454 ethernet0
   82   1b0a0220   1620       0     32           0  VIRT     UP    UP    4 Access VM815 ethernet1
        pvlan isolated 1600 1620
   83   1b0a0230   1507       0     32           3  VIRT     UP    UP    4 Access VM815 ethernet0
   87   1b0a0270   1620       0     32           0  VIRT     UP    UP    4 Access VMSDE405 ethernet1
        pvlan isolated 1600 1620
   88   1b0a0280   1509       0     32           3  VIRT     UP    UP    4 Access VMSDE405 ethernet0
   89   1b0a0290   1620       0     32           5  VIRT     UP    UP    4 Access VMSDE424 ethernet1
        pvlan isolated 1600 1620
   90   1b0a02a0   1509       0     32           3  VIRT     UP    UP    4 Access VMSDE424 ethernet0
   91   1b0a02b0    620       0     32           9  VIRT     UP    UP    4 Access VM472 ethernet2
        pvlan isolated 616 620
   92   1b0a02c0   1620       0     32           0  VIRT     UP    UP    4 Access VM472 ethernet1
        pvlan isolated 1600 1620
   93   1b0a02d0   1500       0     32           4  VIRT     UP    UP    4 Access VM472 ethernet0
   94   1b0a02e0   1508       0     32           4  VIRT     UP    UP    4 Access VMSDE431 ethernet1
   95   1b0a02f0   1620       0     32           5  VIRT     UP    UP    4 Access VMSDE431 ethernet0
        pvlan isolated 1600 1620
   96   1b0a0300   1620       0     32           0  VIRT     UP    UP    4 Access VM496 ethernet2
        pvlan isolated 1600 1620
   97   1b0a0310   1501       0     32           3  VIRT     UP    UP    4 Access VM496 ethernet1
   98   1b0a0320   1500       0     32           4  VIRT     UP    UP    4 Access VM496 ethernet0
   99   1b0a0330   1620       0     32           5  VIRT     UP    UP    4 Access VM510 ethernet0
        pvlan isolated 1600 1620
  100   1b0a0340   1500       0     32           4  VIRT     UP    UP    4 Access RHEL5 ethernet1
  101   1b0a0350   1512       0     32           8  VIRT     UP    UP    4 Access RHEL5.eth0
  102   1b0a0360   1620       0     32           0  VIRT     UP    UP    4 Access VM452 ethernet3
        pvlan isolated 1600 1620
  103   1b0a0370    620       0     32           2  VIRT     UP    UP    4 Access VM452 ethernet2
        pvlan isolated 616 620
  104   1b0a0380   1500       0     32           3  VIRT     UP    UP    4 Access VM452 ethernet0
  304   16000028      1 T     0     32          32  VIRT     UP    UP    1  Trunk
  305   16000029      1 T     0     32          32  VIRT     UP    UP    1  Trunk
  306   1600002a    616 T     0     32          32  VIRT     UP    UP    4  Trunk
  307   1600002b   1600 T     0     32          32  VIRT     UP    UP    4  Trunk
1000v# module vem 11 execute vemcmd show span
VEM SOURCE IP NOT CONFIGURED.
HW SSN ID            DST LTL/IP  ERSPAN ID  HDR VER
        0                  4408      local
1000v#

Similar Messages

  • Can I capture USP traffic with NI-SPY

    11-14-07
    Can I capture USB traffic with NI-Spy? if so how?
    Thanks
    TeBlues

    Hi TeBlues,
    NI-Spy captures return a log of low-level driver calls being made to National Instruments drivers.  It does not track the serial data passed along the USB bus.  To capture the serial traffic on the USB bus, I would recommend Portmon (if you are using a Windows OS).  This program monitors all serial and parallel port activity on a system.
    Donovan

  • Trying to capture SIP traffic via a Network Protocol Analyzer

    Hello
    I am trying to use WireShark to capture n/w traffic.
    Im running my OCMS instance on 127.0.0.1:5060, and am able to see the SIP msgs in the traffic.log and system.log files.
    However, the same doesnt show up in the protocol analyzer as a registered interface.
    Hence, is it possible to capture this traffic on the loopback IP?
    Furthermore, I changed my OCMS instance to my ethernet IP, since WireShark listens to it.
    However, I see that only SIP msgs sent from another box are recorded. Hence, if 2 clients talk on the same machine, the sip msgs r not registered. Why should that be the case?
    Message was edited by:
    A.J.

    Hi A.J,
    There is no way to capture any packages in a loopback. This is a limitation of Windows OS.
    And you can't capture network traffic within the same machine (or network interface)
    Regards,
    Juan

  • How can I use Local SPAN with RSPAN ??

    How can I use Local SPAN with RSPAN ??
    I want to mirror traffics from ISP-A and ISP-B to Anomaly-detector module.
    so I had configured like this...
    C6500-A
    vlan 1000
    name RSPAN
    remote-span
    monitor session 10 source interface Gi5/1 - 2 rx
    monitor session 10 destination remote vlan 1000
    monitor session 20 destination anomaly-detector-module 3 data-port 1
    monitor session 20 source remote vlan 1000
    interface GigabitEthernet1/13
    switchport
    switchport trunk encapsulation dot1q
    switchport trunk allowed vlan 1000
    switchport mode trunk
    no ip address
    C6500-B
    vlan 1000
    name RSPAN
    remote-span
    monitor session 10 source interface Gi5/1 - 2 rx
    monitor session 10 destination remote vlan 1000
    interface GigabitEthernet1/13
    switchport
    switchport trunk encapsulation dot1q
    switchport trunk allowed vlan 1000
    switchport mode trunk
    no ip address
    end
    but it was not working..
    it wasn't any change of input packet hit count when
    I'd enter a command 'show anomaly-detector module 3 data-port 1 traffic'
    was upper configuration wrong..?
    Can I use VACL configuration ?

    try to change "monitor session 10 destination remote vlan 1000 " to "monitor session 10 destination anomaly-detector-module 3 data-port 1 " on C6500-A

  • Can ZAM capture local Administrators from client?

    Hi, my first time posting here. My organization uses Zenworks 11 SP1 (ZCM and ZAM). Can ZAM be configured to capture members of the local administrators group off of the client? Our client machines are Windows XP SP3, and local administrators can be found at My Computer-Manage-Local Users and Groups-Groups-Administrators on the client.
    Our client services guys know ZAM much better than I do and they have never been able to find how to do this. I'm writing a custom app that needs requires this data. We have a workaround process in place, but it's a little clunky and it would really be ideal if we had a way to just capture this directly into ZAM since the large majority of the other data I need is already coming from ZAM. Was just wondering if any Zenworks gurus out there could shed a little light. Thank you in advance for any replies.

    Chris,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • Traffic-export capturing only inbound traffic

    Hi
    We have a Cisco 2811 running ITP IOS.  On that router we run the SMPP service.  A client on the network connects to this service, and we need to capture the traffic for debug.
    I've tried traffic-export, but I cannot see any outbound traffic.
    I'm guessing that this is due to the fact that the outbound SMPP traffic is not transit traffic as it is generated by the router itself.
    Is there any way to capture the outbound traffic?
    Thanks
    Colin

    Hi Colin,
    Please see below
    http://www.cisco.com/en/US/docs/ios-xml/ios/sec_usr_cfg/configuration/12-4/sec-ip-traff-export.html
    Step 8
    outgoing            {access-list{standard | extended | named} | sample one-in-every packet-number}
    Example: Router(config-rite)# outgoing sample one-in-every 50
    (Optional) Configures filtering for outgoing export traffic.
    Note  
    If you issue this command, you must also issue the bidirectional  command, which enables outgoing traffic to be exported. However, only  routed traffic (such as passthrough traffic) is exported; that is,  traffic that originates from the network device is not exported.
    An option might be to plug in to a cisco switch and SPAN the port to an interface with a sniffer on it like wireshark?
    http://www.cisco.com/en/US/products/hw/switches/ps708/products_tech_note09186a008015c612.shtml#topic4

  • Inbound traffic alert (ESET) - Application: System

    I have a MacBook Pro (Retina, 15-inch, Mid 2014) running OS X Yosemite 10.10.2
    I have installed ESET Cyber Security Pro a while ago, and an inbound traffic alert just popped up. "A remote computer is attempting to communicate with an application running on this computer. Do you wish to allow this communication?"
    The application involved is "System", local port is TCP 8770. The remote computer is fe80::4c8d:97ff:feb4:5d8d, remote port is 56398.
    I am still new to Mac, and therefore I'm not sure if I should allow or block. I thought that it might be system updates, but not too sure about that so I'd rather wait for an answer before proceeding.

    Port 8770 is used for the Digital Photo Access Protocol, which in the case of a Mac means sharing of photos. I'm not sure exactly how this port is used in Yosemite, but you can bet this is just another Mac or iOS device on your local network querying your Mac to see if it is sharing any photos. It is very unlikely that you have a network configuration that would even allow a truly "remote" computer to connect to yours over the internet.
    ESET is wasting your time here. Uninstall it, and see my Mac Malware Guide for more information about protecting yourself from malware.
    (Fair disclosure: I may receive compensation from links to my sites, TheSafeMac.com and AdwareMedic.com.)

  • How can I capture an externally hosted page as a variable ?

    How can I capture the html or css of an externally hosted
    page and use it as a local variable ? There's plenty of options for
    doing it with local file but I can't work out how to go about it
    when the file isn't on your cf server. Any ideas ?

    Yes, of course.
    {insert the sound of slapping oneself in the head here}

  • Flex 3 How to recording the voice to the local file.can u help sample souce code

    How to recording the voice to the local file.can u help sample souce code

    What? the link is not opening? Check once properly man.  If you need code here it is
    import flash.system.Security;
    import flash.media.Microphone;
    import flash.events.ActivityEvent;
    import flash.events.SampleDataEvent;
    import flash.events.StatusEvent;
    import flash.utils.ByteArray;
    import flash.media.Sound;
    import flash.events.MouseEvent;
    import flash.media.SoundChannel;
    import flash.events.Event;
    import org.bytearray.micrecorder.encoder.WaveEncoder;
    import flash.net.FileReference;
    var mic:Microphone;
    var soundBytes:ByteArray;
    var recBytes:ByteArray= new ByteArray();
    var sc:SoundChannel;
    var sound:Sound;
    recordBtn.addEventListener(MouseEvent.CLICK, getMic);
    stopBtn.addEventListener(MouseEvent.CLICK, stopRecording);
    playBtn.addEventListener(MouseEvent.CLICK, plays);
    saveBtn.addEventListener(MouseEvent.CLICK, saveAudio);
    function getMic(e:MouseEvent)
    soundBytes= new ByteArray();
    //returns an array that total mics available
    var totalMics:Array = Microphone.names;
    //mic is a singleton class gets microphone to record sound
    mic = Microphone.getMicrophone();
    //Sets the minimum input level that should be considered
    mic.setSilenceLevel(0);
    mic.rate = 44;
    //to capture microphone audio listen for this event
    mic.addEventListener(SampleDataEvent.SAMPLE_DATA, recordAudio);
    function recordAudio(e:SampleDataEvent)
    //capture the byte array data available with the event
    while (e.data.bytesAvailable)
    var soundData:Number = e.data.readFloat();
    soundBytes.writeFloat(soundData);
    function stopRecording(e:MouseEvent)
    mic.removeEventListener(SampleDataEvent.SAMPLE_DATA, recordAudio);
    //set the bytearray position to zero for playing from starting
    soundBytes.position = 0;
    function plays(e:MouseEvent)
    //intatiazle sound instance
    sound= new Sound();
    soundBytes.position = 0;
    //listen for the event when runtime requests new audio data.
    sound.addEventListener(SampleDataEvent.SAMPLE_DATA, playAudio);
    //play the sound with sound channel
    sc = sound.play();
    sc.addEventListener(Event.SOUND_COMPLETE, soundComplete);
    function playAudio(e:SampleDataEvent)
    //if audio bytes is greate than 4 read the recorded byte array data and write it into the sound
    for (var i=0; i<8192; i++)
    if (soundBytes.bytesAvailable > 4)
    var sample:Number = soundBytes.readFloat();
    e.data.writeFloat(sample);
    e.data.writeFloat(sample);
    function soundComplete(e:Event)
    sound.removeEventListener(SampleDataEvent.SAMPLE_DATA, playAudio);
    sc.stop();
    function saveAudio(e:MouseEvent)
    soundBytes.position = 0;
    //waveencoder class used to encodes bytearray data properly used to play properly after saving
    //you can get this api from below link
    //http://code.google.com/p/micrecorder/downloads/detail?name=MicRecorder%201.2.zip&can=2&q=
    var encod:WaveEncoder= new WaveEncoder();
    var byte:ByteArray = encod.encode(soundBytes,2);
    var file:FileReference= new FileReference();
    file.save(byte, “test.wav”);

  • Can't capture frame?

    Can't  capture frame.

    My as/400 eth's mac is 4242.4242.0640,so I think the correct config of dlsw partner is
    2424.2424.6002. If I config 2424.2424.6002,the mac can't be found. if I config
    4242.4242.6002,the mac can be found. Like something is error,DLSw is try to chang my MAC
    addresses between canonical format and noncanonical format, but it only change the last two byte. And you can see,dlsw can translate correctly the destionation of as/400 0200.0000.4080 to router's vmac 4000.0000.0201.
    interface Serial0/0
    no ip address
    encapsulation sdlc
    no ip mroute-cache
    no keepalive
    sdlc role secondary
    sdlc vmac 4000.0000.0200
    sdlc address 01 xid-passthru
    sdlc partner 4242.4242.6002 01
    sdlc dlsw 1
    interface Serial0/1
    no ip address
    encapsulation sdlc
    no ip mroute-cache
    no keepalive
    sdlc role secondary
    sdlc vmac 4000.0000.0400
    sdlc address C1 xid-passthru
    sdlc partner 2424.2424.6002 C1
    sdlc dlsw C1
    router a#sh dlsw rea mac
    DLSw Local MAC address reachability cache list
    Mac Addr status Loc. port rif
    4000.0000.0201 FOUND LOCAL Serial0/0 --no rif--
    4000.0000.04c1 FOUND LOCAL Serial0/1 --no rif--
    4242.4242.6002 SEARCHING LOCAL
    DLSw Remote MAC address reachability cache list
    Mac Addr status Loc. peer
    4242.4242.6002 FOUND REMOTE 10.8.1.1(2065)
    2424.2424.6002 SEARCHING REMOTE
    router a#sh dlsw cir
    Index local addr(lsap) remote addr(dsap) state uptime
    3556770440 4000.0000.0201(04) 4242.4242.6002(04) CKT_ESTABLISHED -

  • RV110W Blocks all inbound traffic

    I have a RV110W that's been in service since Dec 2012. All Everything is working fine except every month or so the firewall starts blocking all inbound traffic. It does not respond to remote management access. If I reboot the firewall (pwr off/on) everything works correctly for the next month or so and then it begins blocking all inbound traffic again. Local access to the Internet and VPN tunneling are not affected. When it's working, all my rules and port forwarding work correctly. Anybody seen this before?

    Hi David,
    Please call the Small Business Support Center and speak with an engineer. The phone numbers for the support center is located here: https://www.cisco.com/en/US/support/tsd_cisco_small_business_support_center_contacts.html
    Regards,
    Cindy Toy
    Cisco Small Business Community Manager
    for Cisco Small Business Products
    www.cisco.com/go/smallbizsupport
    twitter: CiscoSBsupport

  • Sentence SQL can be captured

    Sentence SQL can be captured from a form since the form that I have been able to recover does like the following example.
    DELETE FROM provincia WHERE ROWID=:1
    pardon by my english
    INSERT INTO provincia(CODPRO,NOMPRO) VALUES (:1,:2)
    SELECT CODPRO,NOMPRO FROM provincia WHERE ROWID=:1 FOR UPDATE OF CODPRO NOWAIT
    SELECT ROWID,CODPRO,NOMPRO FROM provincia
    UPDATE provincia SET CODPRO=:1,NOMPRO=:2 WHERE ROWID=:3
    When doing update, insert or delete from sql*plus or SQLPlus Worksheet if it recovers the complete syntax
    insert into provincia values(78, 'Zamora')
    I am working with
    oracle 8.1.7
    forms 6i

    TOAD from quest comes with a program that monitors the sql being submitted from just about anything running client server on your local pc. It will give u the complete sql with the values for the bind variables. If you have toad, look for a program called SQLMonitor.exe where toad is installed.
    --pat                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Can not capture from Sony HDV 1080i (recording in 60i)

    Hello
    We are trying to capture from the above camera to a Mac Dual G5. We are using FinalCutPro 5.1.2. We are using a FireWire 400 cable to connect to the front of the computer (have also tryed back of Cinema Display). The footage was captured in HDV1080/60i, and we have tried the corresponding formats in Easy Setup (Basic, standard, Apple Intermediate).
    The problem: we can control the camera from the Log and Capture windows, but when starting capture, no data is coming in, and the program therefor gives up after a few seconds (displaying a no data error message).
    We have tried Batch and Now capture. We can log clips, and get the correct time code, but can not capture those clips due to the no data problem.

    This is a good workaround for curing your camera recognition problem with FCP (if that's what it is):
    First, check that your Easy Setup / Timeline / Camera or Deck Settings are all exactly the same, then making sure your camera or deck is in VTR mode, try to capture again.
    FCP uses a different form of QT than iMovie for capturing, so if the camera works in iMovie (or if it's listed in System Profiler) but not FCP, it obviously means your Mac can see the VTR but FCP can't, so you need to do this QuickTime fix.
    http://docs.info.apple.com/article.html?artnum=301852
    Follow the instructions carefully and you should have things running in no time - it's quite safe but you must Trash the Receipts AND re-install QT from the link provided.
    If the Camera / Deck isn't recognised by iMovie or System Profiler, try resetting the Firewire Bus . . . Turn off the Mac and disconnect the power and all Firewire cables. Leave it for 30 mins then connect back up.
    Still not working? Try a different Firewire cable.
    Failing all this, try resetting the PMU (Power Management Unit). The method varies from machine to machine, so visit the Apple site and search for it in support.
    Don't use iMovie for capturing - it doesn't give you a timecode and that's very important.
    Let us know how you get on!
    Andy
    Quad 8GB. 250+500 HDs. G-Raid 1TB. NORTON. FCP 5.1.2. QT 7.1.3. Sony HVR Z1E   Mac OS X (10.4.7)  
    "I've taught you all I know, and still you know nothing".

  • Can't capture video using iSight camera in QuickTime 7.4 (92)

    OK, I see that there are plenty of "bugs" with Quicktime Version 7.4 (92), but I don't see the problem I am having, posted anywhere. Here goes...
    I cannot capture video using my [Firewire] iSight camera on my CoreDuo MacMini. I definitely used to be able to do this. When I go to File>New Movie Recording, I get a back/blank Movie Recording window and that's it. I click on the Red/Record button and nothing happens. The timer doesn't even advance. Just sits there. When I try to stop the recording, I get the following message:
    *"Recording failed because no data was received.*
    *Make sure that the media input source is turned on and playing."*
    I can still capture audio, although had some problems and had to "downgrade" to version 7.3.x and subsequently reinstalled 7.4. Now the audio works but still no video.
    A few things:
    1. YES, the iSight camera works - I can use it in iMovie, iChat, Photobooth, etc. - for both video and audio.
    2. As I mentioned, I tried "downgrading" (using "Pacifist") but still no video.
    3. I re-installed Version 7.4 and the audio problems cleared up, but again, still unable to capture video.
    3. All software updates installed.
    Any ideas???
    Thanks!

    "As I mentioned, I tried "downgrading" (using "Pacifist") but still no video."
    See QuickTimeKirk’s posting in the following thread:
    http://discussions.apple.com/thread.jspa?threadID=1357579&tstart=0
    Try the following:
    Trash com.apple.LaunchServices.plist
    It's located in your account:
    HD/Library/Preferences/com.apple.LaunchServices.plist
    Delete the file, restart (a new .plist will be created) and quicktime hopefully will work again w/o doing an Archive & Install.
    +If you want to do an A&I:+
    Do an archive and install of your OS from the OS disc. Stop at the QT upgrade you need.
    http://docs.info.apple.com/article.html?artnum=301270 Scroll down to "Archive and Install”
    IMPORTANT: Maker sure you select "preserve user preferences and data" when you performed the A&I?
    Good luck!

  • After downloading IO6, can't capture photos from Facebook. I get "save photo" instead of "save image".  While browsing, save image comes up and photos save to camera roll.  Seems to be a problem only on FB.

    Downloaded IO6 on my iPhone 4s.  Now I can't capture a photo off Facebook to the camera roll.  When I try, I get a "Save Photo" tab rather than a "Save Image" button,  The photo does not save to camera roll.  For email images and Safari images, "save image" comes up and save to camera roll.  Seems only a problem with images on FB.  Any ideas?  Thanks

    You launched iPhoto and from its Preferences you selected Connecting camera opens.....

Maybe you are looking for

  • Disposing RefCursor does not close RefCursor?

    Hi, I want to dispose the OracleRefCursor after executing the executedatatable command. To achieve this, i tried to dispose the OracleRefCursor object but it did not close the cursor, i saw the related cursor in v$open_cursor table. So how can i clos

  • Connect to multiple drives in the same directory?

    Please pardon me for not using correct terminology. I cannot mount (map) two drives in the same directory. I use "Go >Connect to Server >smb://fs.domain.edu/~directory/folder1" and the folder1 icon pops up on my desktop. Then if I use the same struct

  • Calling a function in a stored procedure

    How to call a function in a stored procedure Oracle 11g

  • Pse 12 wont open my d750 raw images

    I recently upgraded my camera to D750.   My raw images will not open in pse 12.  - Is there a plug in? or do I need to upgrade my software as well?

  • PSD's only show as small squares in overflow!??!?

    Hey Guys Please help with this. This is So frustrating. I even upgraded to Maverick to see if itbwould help. So I have thousands of files. As I scan to open one in Photoshop (or any other Cloud app) - I see the entire thumbnail for all file styles EX