Remove static entry with tcl + ios_config when in use

Hi all.
We are using a TCL script to to change NAT entries. It works fine but when the entry is in use, the delete entry command ios_config "no ip nat inside source static tcp <local ip> <local port> <global ip> <global port> extendable" "end" returns :
Static entry in use, do you want to delete child entries? [no]:
%: Error: static entry in use, cannot remove
Is it possible to 'interact' inside the TCL script so when the ios_config command returns 'Static entry in use, do you want to delete child entries? [no]:' the script could send 'Y' to remove the entries?
Thanks in advance.

We've solved using forced in spite of extendable, so :
ios_config "no ip nat inside source static tcp <local ip> <local port> <global ip> <global port> forced"

Similar Messages

  • How can I remove ASCII text from a field when I use it in a query

    How can I remove ASCII text from a field when I use it in a query?
    I am running a select statement on a table that appears to have ASCII text in some of the fields. If I use these fields in the where statement like the code below nothing returns:
    SELECT FIELD1 FROM TABLE1 WHERE FIELD1 IS NULL
    But the field looks empty if I do a straight select without the where clause. Additionally, one of the fields has text but appears to be padded out with ASCII text, which I need to strip out before I can use this field in a where or join statement. I have tried using a trim, ltrim, rtrim, to_char, nvl, decode and nothing works. When I use excel to run the same query it looks as if these ASCII fields are boxes.
    I have asked our DBA team to see what they can do to prevent these from going into the table, but in the mean time I still need to run this report.
    Do you have any suggestions?

    Can you provide an example? I've been trying (for
    example) "select translate(' test one', ascii(' '),
    'X') from dual" with no luck.
    Thank you.To replace space, you should query like this:
    select translate(' test one', chr(32), 'X') from dual instead of select translate(' test one', ascii(' '), 'X') from dual Thanks,
    Dharmesh Patel

  • HT4245 i use a macbook pro which came with facetime i have an iphone 4S as well. whenever i use the wireless on my iphone i can facetime with ease however when i use the same wireless for my mac to facetime the call always gets disconnected.

    i use a macbook pro which came with facetime i have an iphone 4S as well. whenever i use the wireless on my iphone i can facetime with ease however when i use the same wireless for my mac to facetime the call always gets disconnected.

    To use factime on your Mac, I believe you will need to use your email address to do so instead of your wireless number.  Since you can't make calls on the Mac.

  • I have an IPod touch 4 gen. And I'm having problems with the audio when I use other than Apple brand earphones

    I have an Ipod Touch 4 gen. and I'm having problems with audio when I use other than Apple brand earphones. I'm talking about music only so far, when I use apple earphones all is fine, but if I use other type of phones ( sony for exemple ) I can only hear the music and the background but not the lead singer voice, can anybody explain this to me? thank you.

    - Try cleaning out/blowing out the headphone jack. Try inserting/removing the plug a dozen times or so.
    - If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar                                      

  • I've a problem with QuickTime controlbar when I use transparent wmode

    Hello All,
    I've a problem with QuickTime controlbar. When I use this code :
    <object height="592" width="690" codebase="http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B">
    <param value="http://streamer.podcast.ulg.ac.be/reflexions/scienceensamusant/doccafe/D ocHorlogesBis.mov" name="src">
    <param value="true" name="autoplay">
    <param value="true" name="controller">
    <param value="true" name="kioskmode">
    <param value="true" name="loop">
    <param value="video/quicktime" name="type">
    <param value="transparent" name="wmode">
    <embed height="592" width="690" type="video/quicktime" loop="true" kioskmode="true" controller="true" autoplay="true" pluginspage="http://www.apple.com/quicktime/download/" src="http://streamer.podcast.ulg.ac.be/reflexions/scienceensamusant/doccafe/Doc HorlogesBis.mov">
    </object>
    with transparent wmode, the controlbar don't print correcty on IE7/IE8.
    If I use this code without wmode='transparent', It work but my css menu doesn't work.
    Anybody can help me ? Thank in advance.
    JP

    Hello,
    The suggestion made by Golubkov is correct. Make sure that you have configured the CAN objects to correspond to the Ports- for instance, Port1 to CAN0 and Port 2 to CAN1.
    If this dosen't fix the problem, let us know what the error message clearly states ( can be found out by clicking on the details tab).

  • Static n TV, and worse when I use my wifi. Was fine yesterday.

    Static on bedroom TV and worse when I use wifi. Was fine yesterday and living room TV is not affected.

    pate827 wrote:
    Static on bedroom TV and worse when I usewifi. Was fine yesterday and living room TV is not affected.
    Apologies for the issue and the experience that you described above. In reviewing your account I do see a technician visit currently scheduled for Wednesday so that we can get this issue identified and resolved. Thanks for your patience.  

  • Removing multiple entries with minimal overhead

    What is the best way to remove a set of entries from an optimistic cache with minimal messaging overhead? Right now, I'm calling myCache.keySet().removeAll(setOfKeys). Does tcmp coalesce all these removals into one messaging sequence, or are all of the keys processed separately? Is there a more efficient way for me to do bulk removal in an optimistic cache? Thanks.
         -pete

    Pete,
         Calling myCache.keySet().removeAll(setOfKeys) is the most optimal way indeed.
         At the moment the OptimisticCache service does not "bundle" the removals into one message, though all the messages are asynchronous (meaning that the client thread will not wait for the remove confirmations).
         Regards,
         Gene

  • Issue with XML post when port used with server name

    Hi Guys,
    We are currently using an agent on our application servers which puts a server in "inservice standby" if the CPU load on the system goes above 75%. This agent is using an XML post on the CSM to achieve this and put the server back inservice using XML post as well.
    Currently we are trying to use the same agent for another application which has a port number defined as well and it does not seem to work.
    To give an example where it works:
    serverfarm TEST
    nat server
    nat client TEST
    real name BLABLA
    inservice
    The example where it does not work:
    serverfarm TEST
    nat server
    nat client TEST
    real name BLABLA 50000
    When we get the server name via XML we see that CSM returns the name as BLABLA: 50000 however using the same in the script does not work.
    Would someone know how to put the port number in an XML script so that the CSM understands which server need to be changed.
    Thanks,
    Murtaza

    It would be some thing in line with the following example
    <?xml version="1.0" ?>
    The DTD for CSM XML will let you know what tags and attributes are available to use:
    http://www.cisco.com/univercd/cc/td/doc/product/lan/cat6000/mod_icn/csm/csm4
    _1_2/icn/xmldtd.htm
    HTH
    Syed

  • Problem with special characters (&) when printing using XSL-FO ...

    Hello everybody !!
    I have a problem when I want to print a Report with a link to a URL where the character "&" is present :
    I want to have something like : src="file:///...webfile?param1=val1*+_&_+*param2=val2"
    In my XSL-FO file, I wrote : src="file:///...webfile?param1=<xsl:value-of select="IDARTICLE"/>*+_<xsl:text>&amp;</xsl:text>_+*param2=<xsl:value-of select="MARQUE"/>"
    When I try this only with FOP, it works. However, when I upload the XSL-FO file to ApEx, it says my PDF file is corrupted when I want to open it.
    What do I have to put the '&' symbol when I want to print the Report ??
    Could anyone help me ??
    Thanks by advance,
    Pierre C.

    I believe this relates to something I have actually found in my own testing.
    It is probably due to the Template not being URLEncoded prior to transmission to the FOP processor.
    I actually determined that special URL characters, like '+' and '&', are lost on transmission because the type of submission is POST with x-www-form-urlencoded, but the fields are not actually encoded entirely. The XML Element contents are encoded prior to transmission in order to preserve data.
    Work around would be to URLEncode the template as it sits in the WWV_FLOW_REPORT_LAYOUTS. I have been able to successfully get around the problem by doing that.
    -Richard
    The post I describe the problem: Reports Layout->storing custom report layouts that aren't FOP/RTF
    The post under the enhancement request thread: Re: Enhancement Request Thread : Post 3.1

  • OS 10.3 works with Linksys but when startup using 9.2.2 won't work

    I apologize if I'm on the wrong forum. I don't know if what I'm asking applies to Express or Extreme--all I know is that I have an airport card in my laptop. I have a wirless airport card in my old titanium G4 and it works fine with my Linksys SRX router when I'm running 10.3. When I start in 9.2.2 (which I have to do to run the version of Virtual PC I own) I can't seem to get the computer to talk to the Linksys. I set appletalk to airport and TCP/IP to airport and DHCP but when I type in the password for the router it says it can't go to the network. Any thoughts? I used to use the 9.2 side with an airport base station that has since died and I hadn't used the 9.2 since I bought the linksys. Thank you.

    I hope I'm doing this right. I forgot to mention
    that I am using WPA personal
    This is why.
    You need to be running 10.3 or later to connect to a WPA encrypted network, a Mac running OS 9.22 will only be able to connect to a WEP encrypted network.
    iFelix

  • Duplicate Entries in Flashback Table when queried using as of timestamp

    Hi All,
    Oracle Version : Oracle Server - Enterprise Edition 11.1.0.7
    OS: HP-UX PA-RISC (64-bit)
    We have a table name DIRECTORY_LISTING_GROUP with HEADER_KEY as primary key.
    So when i query like this
    SELECT * FROM DIRECTORY_LISTING_GROUP AS OF TIMESTAMP TO_TIMESTAMP('05-NOV-12 10:00:00','DD-MON-YY HH24:MI:SS') WHERE HEADER_KEY=#
    Ideally i should get only one row but i m getting two rows which are exactly the same.
    Please advice

    Peter vd Zwan wrote:
    Hi,
    Maybe it is a primary key now but are you sure it was a primary key at 05-NOV-12 10:00:00 ?If it was not primary key at 05-NOV-12 10:00:00, and now it is,
    which implies primary key constraint was added using ALTER TABLE command.
    But using ALTER TABLE command would invalidate the undo data for that table. And using the flashback query would generate exception something like "table definition has changed".

  • What to do with Time Capsule when not using for Wireless Internet

    I previously connected my Time Capsule to my fiber optic router but in my no home this is no longer needed as the cable TV company now provides 160 MPS Internet in a router that contains a wireless router built in. It works fine.  My computer is now connected wirelessly to that router (too far to take advantage of the wired connection).
    Therefore I want my Time Capsule to just be connected to the computer for backups.  I gather I have to connect it via Lan and make sure it does not transmit r receuve wirelessly. In fact, other wireless computers in the huse occasionally try to log into the old Time Capsule PPoE settings, so I want to erase them and start fresh.
    This seems to be similar to what I want t do, but I want to make sure and ask:
    https://discussions.apple.com/message/8256674#8256674
    If this is not correct, can someone advise.
    By the way, I have a first generation Aiport Express that I hope to use with my new cable router (modem?).  I assume it will work as it did with the Time Capsule. Purpose is for Airplay with an audio system.
    Thanks!

    Thank you for your replies. I really appreciate it.
    To answer your questions in order, but first I should mention that due to work reasons, I will be away from my computer until Friday night Japan time, or Friday AM US time.
    Anyway, probably better I go slowly,as I tend to get overwhelmed by technical things.
    1) You said:  "The TC does NOT require an Internet connection for network connectivity. You DO have to connect the TC by Ethernet to the Fiber Optic router in order for it to gain network connectivity AND to allow network clients to access it."
    -->Ok, this is in reference to my Time Capsule and the previous network n myold apartment.  But your next question makes me wonder:
    2) "Is this Motorola device the one that replaced the Fiber Optic router that you mentioned in your original post? What is its model number? Do you have the TC connected directly to it by Ethernet?"
    Ok, this is what I have:
    Wall--> Cable modem with wireless (Motorola SURFboard SBG6580J Wireless Cable Modem Gateway.)
    Other Room  IMAC connected wirelessly to Cable Modem (no Ethenet connection to it since there is no jack and too far to run a cable (permanently--I can do for setup if needed)---> connected to TC and Time Capsule is backing up ok. Time Capsule is also not connected to the Modem
    3) "Since you will only want to use the Time Capsule for Time Machine backups, I understood that you wanted to disable its wireless network. If this is still the case, the Express would need to be configured to join the wireless network provided by the Motorola wireless router."
    Yes, This is what I am wondering. Do I have to connect it by LAN to the Motorola?  A few times, when it was just plugged into the Wall, my Mac airport utility found but them could not connect to my Express. maybe because I did not configure it to work with the Motorola as you say.
    4)
    "By default the Express will broadcast its own wireless network with a network name of something like: Apple Network NNNNNN. You would need to connect to this network with your computer prior to attempting to access it with the AirPort Utility. Another option would be to temporarily connect it, by Ethernet, to the Motorola router during its setup phase. Once completed you can move it to the desired location."
    Ok, this confirms what I guessed.  Connecting the computer to the Expressby Lan?  Is that what you mean?
    I do understand the second option---connecting the Express to the Motorola. 
    If that is right, I can try that.  Do I need to do anything other than connect it?
    I will be able to try this Friday or Saturday I hope.
    Once again. thanks for all your help. Really appreciate your taking the time to explain it.
    paul

  • Query with two registers, when i use two taxcode

    Hi everybody, my question in this opportunity, it's about  this query:
    /*LIBRO DE COMPRAS CELULAR STRA S.A. DE C.V.*/
    SELECT T0.[TaxDate] Fecha,
           T0.[NumAtCard] 'DOCUMENTO',
           T1.[U_RegIva] 'NRC',
           T0.[CardCode] 'CODIGO DE PROVEEDOR',
           T1.[U_NIT] 'NIT',
           T0.[CardName] 'NOMBRE DE PROVEEDOR',
           SUM(CASE 
                  WHEN T2.[TaxCode] = 'IVAEXE' THEN T2.[LineTotal]
                  ELSE 0
               END) 'LOCALES EXENTAS',
           0.00 ImportacionesExentas,
            (SELECT sum(T12.[LineTotal]) FROM PCH1 T12 INNER JOIN OPCH T10 ON T12.[DOCENTRY] = T10.[DOCENTRY] WHERE T12.[AcctCode] != '11209' AND T12. [TaxCode]  = 'IVACCF' AND T12.[DOCENTRY] = T0.[DOCENTRY]  AND T10.[TaxDate] >= '[%0]' and T10.[TaxDate] <= '[%1]') 'LOCALES GRAVADAS',
            0.00 Importaciones,
            T0.[VatSumSy] 'CREDITO FISCAL',
                  T0.[DocTotal]+
    T0.[DocTotal] -(CASE
                         WHEN  T2.[ACCTCODE] = '11209'
                         THEN ((SELECT (T12.[LineTotal]*-1)
                         FOM PCH1 T12
              INNER JOIN OPCH T10 ON T12.[DOCENTRY] = T10.[DOCENTRY]
                    WHERE T12.[AcctCode] = '11209' AND
                    ---T12.[TaxCode]  = 'IVACCF' AND
                     (T12.[DOCENTRY] = T0.[DOCENTRY])  AND
                         T10.[TaxDate] >= '[%0]' and T10.[TaxDate] <= '[%1]'))
                           ELSE T0.[DOCTOTAL] END) 'TOTAL COMPRAS', --This statement, cause the error, or,  think so i
            (SELECT SUM(T13.[WTAMNT]) FROM PCH5 T13 WHERE (T13.[WTCode] = 'RET1' OR T13.[WTCode] = 'RET2') AND T13.[ABSENTRY] = T0.[DOCENTRY] )'RETENCION IVA',
           0.00 ComprasExcluidos
    FROM OPCH T0
       INNER JOIN OCRD T1 ON T0.[CardCode] = T1.[CardCode] INNER JOIN PCH1 T2 ON T0.[DocEntry] = T2.[DocEntry]
    WHERE T0.[TaxDate] >= '[%0]' and T0.[TaxDate] <= '[%1]' AND T1.[Country] = 'SV' AND T0.[Series] = 7 and
       t0.docnum not in (SELECT distinct T0.[DocNum] FROM [dbo].[OPCH] T0 INNER JOIN [dbo].[PCH1] T1 ON T0.DocEntry = T1.DocEntry
                                                                          inner join RPC1 T2 on t1.trgetEntry=t2.docentry INNER JOIN ORPC T3 ON T2.DocEntry = T3.DocEntry
                         WHERE T3.[TaxDate] >= '[%0]' and  T3.[TaxDate] <= '[%1]' and t3.series=9) AND
          T0.NumAtCard NOT LIKE '%F%' AND
          T0.NumAtCard NOT LIKE '%REDIGIT%'
    GROUP BY T0.[TaxDate],
             T0.[DocNum],
             T0.[CardName],
             T0.[CardCode],
             T1.[U_NIT],
             T0.[VatSumSy],
             T0.[DOCENTRY],
             T0.[DocDate],
             T0.[DOCTOTAL],
             T0.[NumAtCard],
             T1.[U_RegIva],
            T2.[AcctCode],
            T0.[DocTotal]
    the result shows two line with the information of one vendor invoice,
    example:
    numatcard     cardcode      tax exempt     local shopping   tax     total
    12345           0125             0.00             100         13      115
    12345           0125             2.00             100         13      115
    i think this be must to tax indicator, because in the document i use two diferent taxcode. i need help to avoid this error, if somebody know how resolved, me will great util

    Well Gordon,
    If you see in the statement, the register is in one line:
    (SELECT sum(T12.[LineTotal]) FROM PCH1 T12 INNER JOIN OPCH T10 ON T12.[DOCENTRY] = T10.[DOCENTRY] WHERE T12.[AcctCode] != '11209' AND T12. [TaxCode] = 'IVACCF' AND T12.[DOCENTRY] = T0.[DOCENTRY]  AND T10.[TaxDate] >= '[%0]' and T10.[TaxDate] <= '[%1]')
    to better expalin.
    i have this line  without tax, i only need a statement in the that be sum, the line of tax exempt + line without tax + tax total.
    if you see in the query, i've excluded the acctcode = '11209', really without this filter, only  i need select the doctotal to view the result. but if, i do a statement where only excluide the document line where appear this account, the quey returns a wrong

  • Problems with sound quality when ripping using apple lossless

    When ripping cd with apple lossless I have problems with parts of the songs falling out. It does not apply for all songs. I use a Mac Pro OS X 10.9.2  with iTunes 11.1.5. Does anyone know why this happens, and what I can do to prevent it from happening again?

    Hi Amy:
    Sorry that the Color Setting idea didn't do the trick. Since the occurrence is separate, that is, seeing one color view using Elements and a different color view using email view. I still suspect this area.
    Calibrating a monitor to me (as the saying goes), is easier said than done. You may want to do a web search using Calibrate Monitor, or similar search words. This will find some interesting websites on calibrating monitors you can read and try out. If you do change some settings, write down what your original settings are before hand, so if you make it worse, you can go back where you started.
    There are two areas to calibrate the monitor.
    1. Using the monitor controls on the monitor itself.
    or/and
    2. Using the graphics card (software) control. Which is normally found (Win XP) DISPLAY PROPERTIES>SETTINGS>ADVANCED> then the TAB with your graphics card name.
    3. Actually there is a third one, which uses a very expensive device that connects to the monitor. At the moment this method escapes me. Mainly used by professionals and serious photo editing people.
    Good Luck!
    Tony

  • I have problem with the GPS when i use the apps

    I try to use diffents apps like Runstatic, RunKeepr, Emondo and the record after any running activiti it shorw me a no correct distance and no correct way on the map. Always is more than i did. Is a problem with the GSP of my Iphone ? How I can solvet the problem ? Thanks so much

    Hello eamt,
    Thank you for the details of the issue you are experiencing when you are using apps that use GPS.  It sounds like you are seeing some inaccuracy when using these apps.  I recommend the following steps to improve GPS accuracy:
    Improve GPS accuracy2,4
    GPS accuracy varies depending on the number of visible GPS satellites. Locating all visible satellites can take several minutes, with accuracy gradually increasing over time. Use these tips to improve GPS accuracy:
    Ensure the date, time, and time zone are correctly set on the device in Settings > General > Date & Time. If possible, use Set Automatically.
    Important: Incorrect settings on your computer can sync to your device. Verify the date, time, and time zone on any computer that syncs with your device.
    Restart your device.
    Verify that you have a cellular or Wi-Fi network connection. This allows the Assisted GPS (A-GPS) on the device to locate visible GPS satellites faster, in addition to providing initial location information using the Wi-Fi or cellular networks.
    Note: Microcells (sometimes called Femtocells) aren't supported with Location Services.
    Maintain a clear view of the horizon in several directions. Keep in mind that walls, vehicle roofs, tall buildings, mountains, and other obstructions can block line of sight to GPS satellites. When this occurs, your device will automatically use Wi-Fi or cellular networks to determine your position until the GPS satellites are visible again.
    Find the full article here:
    iOS 7: Understanding Location Services
    http://support.apple.com/kb/HT5594
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

Maybe you are looking for

  • Clearing of GL items through F-03

    Hi, We have defined 2GL 22000 as an open item management account and when we are trying to clear the line items on this account with difference of about Rs.8 the system saying that the amount is too large and cannot allow to post.Incidetally we have

  • IDOC- BPM- File - Acknowledgements

    The Scenario is to send IDocs from SAP through BPM to a file system. I want an acknowledgement to be sent back to SAP system incase of any error while writing the file. To simulate an error, I am giving an unauthorized file path. I have enabled appli

  • Getting error in indexing monitor for particular indexes

    Hi , As i am currently using TREX search engine to search documents and i am facing an error in some of the indexes. Please find below screen shot of the error while clicking on error mode documents: Please suggest. Regards, Krunal Patel

  • Get an error for changing the windows authentication mode to the both SQL and windows authentication mode

    I installed the SQL server Express 2008 R2 and then SQL Server Management Studio 2008 R2 . But during the installation, I could not choose the both SQL and windows authentication mode and an error accrued so I did that just with windows authenticatio

  • Widget triggers jumps around, drives me crazy!!

    http://delta.tinahammar.se/delta/get-better-effect.html#bad-triggers Again ... why does the triggers jump around. Why can't they just stay the way they are in design mode. When slideshows go nuts, I usually have to start all over again, and somehow t