JIT - ACM with two Instance of the Ethernet on the same interface Service

Hi all

I develop script of EEM for platform of ASR903... I would define VCA two, one for each 'host' connected to the same interface of ASR903 (GI 0/1).

Each host sends CFM package, I will know which CVS the CFM package arrives. In the EEM scripting language, there are the following variable: $_ethernet_intf_name that can be used to retrieve the name of the interface. Is there another variable that can be used to recognize the VCA or is there any syslog message that conatins this information?

CFM Ethernet ieee

Ethernet global cfm

field of Ethernet HOST1 level 2 cfm

Service vlan301 evc301 evc vlan 1301 direction downwards

continuity check

!

CFM Ethernet ieee

Ethernet global cfm

area of cfm Ethernet HOST2 level 3

Service vlan301 evc302 evc vlan 1302 direction downwards

continuity check

!

VCA evc301 Ethernet

VCA evc302 Ethernet

!

interface GigabitEthernet0/1

ink description to ASR - 903 by microwave

no ip address

load-interval 30

auto negotiation

Ethernet microwave hold sending 10 event

Ethernet microwave wtr event 5

Ethernet microwave-threshold of loss of 255 event

!

service instance 301 ethernet evc301

encapsulation dot1q 301

rewrite tag pop 1 symmetrical penetration

Bridge-domain 301

CFM mep field HOST1 mpid 101

CFM encapsulation dot1q 301

!

service instance 302 ethernet evc302

encapsulation dot1q 302

rewrite tag pop 1 symmetrical penetration

Bridge-domain 302

mep field HOST2 mpid 102 cfm

CFM encapsulation dot1q 302

!

Ah, ethernet OAM.  I've never used the detector of this event, so I don't know what capabilities are available.  I don't have a handy to test myself ASR903.  You can run the command "show event handler detector ethernet detail" to see what built-in variables are available to your EEM ethernet event policy.  You can also do "display event handler detector all ' to see all detectors of the event.  I hope you see something out there that specifies the VCA.

If this isn't the case, you certainly could extract something like a syslog message if a message is generated that contains the name of EVC.  Still, I don't know what syslogs are generated, so you should test yourself.

Tags: Cisco Network

Similar Questions

  • You can play with two players on the same conlsoe on modern war

    XXXXXXXXXXXXXX

    Hi Capcurt,

    Welcome to the Microsoft Answers site!

    You try to play the game live with 2 players on the same console?

    Unfortunately, you can not go online with two people on the same console. Modern Warfare 2 allows a user to sign in when you play in multiplayer.

    Modern Warfare 2 is a completely new game mode that supports 2-player cooperative play in single line of the solo campaign in history. To do this, you will need two machines.

    For better support, you can contact Xbox Forums.

    http://www.xbox360forum.com/Forum/

    Hope this information is useful.

    Amrita M

    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • When you add pictures to the Vista image folder it creates a folder HIDDEN of the same name with two copies of the same image inside

    I use Vista 32 bit. I started to see this problem when I recently copy photos from an SD card.

    When you add pictures to the Vista image folder it creates a folder HIDDEN of the same name with two copies of the same image inside

    I saw hidden files enabled in folder options.

    Any help is appreciated.

    Hey guys... I found the answer... Problem is with the software vaio content analyzer that comes with the vaio...

    It just search for Vaio Content Analyzer (parameters) and deselect

    Video analysis
    image analysis
    analysis of the music

    I went looking for this crazy thing... used almost all types of online scan, and finally to find that it is caused by an internal software only...
    anyway thanks to all... Hope it helps someone in the future :)
  • Two instances of the same access point in Windows TAsk Mgr - both unresponsive.

    Quite often an application will show twice in the Windows Task Manager. as long as no response; IE8 will also be repeated.  Trying to close a (whatever) will have dumprep.exe showing the 70-90% more CPU usage.  Is it normal; If this is not the case, how can I cure this?  Thank you.

    Hi Phil F1947,

    1. did you of recent changes on the computer?

    2 when was the last time it was working fine?

    3. when there are two instance of the application in the application Task Manager works correctly?

    It is possible that some third-party programs installed on the computer is causing the problem.

    I suggest that you put the computer in a clean boot state and check if it helps.

    To help resolve the error and other messages, you can start Windows XP by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    See the link below to learn more about how to clean boot.

    How to configure Windows XP to start in a "clean boot" State

    http://support.Microsoft.com/kb/310353

    Reset the computer to start as usual

    When you are finished troubleshooting, follow these steps to reset the computer to start as usual:

    (a) click Start, type msconfig in the search box and press ENTER.

    (b) If you are prompted for an administrator password or for confirmation, type your password or click on continue.

    (c) under the general tab, click the Normal startup option, and then click OK.

    (d) when you are prompted to restart the computer, click on restart.

  • How can I have two instances of the same open page to separate tabs?

    New 4.0.1 on a Win7 machine - last week using. It happens in time I want to open the same page twice. In the case of today, it's because I need to fill out a form and the need to look at a previous version - filled - in the same form that opens with the same URL. I've done this before, on the old machine with the next recent FF and Win XP.

    Thank you and I love Firefox!

    You can middle - click reload on the side of the right end of the address bar to open the same page in a new tab.

  • Bluetooth connection with two devices at the same time? (on TX)

    I have a Palm TX and am trying to connect to the Palm Bluetooth keyboard wireless AND my cell phone of Nokia (Internet, etc.) at the same time.  The TX works very well with each device individually.  However, when I try to use them together, it won't work.  If I connect the keyboard first, then try to connect to the phone for internet access, it automatically CUTS the keyboard; and vice versa - any order of connection, it will cut the previous when it is connected.  (If the keyboard is connected and I use a fast connection button to go directly to the internet, when he tries to connect it will say that the port/cable is bad and can not connect.)

    (I know generally that a bluetooth device can support up to 7 other devices in its network and I've read where people supposed to logged keyboards and phones to the TX before I bought the keyboard).

    Any help is appreciated!

    fitnessdr wrote:

    Thank you for the information.  So if I had to return the new bluetooth keyboard, should I get the 'Palm 3169WWZ Wireless Keyboard", or y at - it another model I should look for?  (From what I can tell, I think he will use IR)

    Thank you!

    Well, that's the one I use.

    Don't forget to download the driver for the more recent (1.13) for the keyboard in the Palm Support pages for the keyboard:

    http://KB.Palm.com/wps/portal/KB/na/keyboards/palmuniversalwirelesskeyboard/unlocked/downloads/page_en.html

    Do not install the driver provided with the device on the disc - 1.13 is designed for the TX and fixes a bug that existed in the original pilot.

    WyreNut

  • How to call a second instance of the same VI?

    Hello

    I have a useful VI dealing with IO operations. To save some time, of what I would call the VI as a second instance do work at the same time. I created a sequence sub with the run option 'Use the new thread' and I called the Vi (a step of the sequence only). Execution time of the VI is about 20 seconds run Durin I called the subsequence and I carried on running my main sequence (parent). Since then 10 seconds to launch the subsequence (in the thread of sepatate I called the same VI as in the thought of subsequence the second instance will be created. However, instead of parallel work of the two instances of the same VI had to wait when mt subsequence end known call the VI th.

    So my question is, as in the topic: how to call a second instance of the VI even at the "same time"?

    Could you please tell me about the best approach to solve the problem?

    Any VI that you want to run in parallel must be paid also re-entrant, including screws.

  • Open program of the two facades of the same type of v.i

    I would like to know if it is possible to open by program of the two facades of the the same type of v.i, but with activity on a front panel without impact on the activity on the other side... for example, the way that you would open two windows of a chrome for example of browser.. .thank you

    Want to open two instances of the same VI?  It's simple.  Just do the reentrant VI.

  • Can VMware Player run multiple instances of the same VM?

    I looked around but could find an answer to this question. If it has already been answered, please feel free to point me to that answer. I am relatively new to VMware Player, so this may seem like a stupid question. Please bear with me.

    I've been running Linux in a virtual machine using VMware Player 5.0.2 on Win7 and I would like to start another instance of the same virtual machine, simultaneously. When I try to launch the image once again, VMware asks if I want to take possession of the virtual machine running, but does not give the opportunity to start another instance.

    Is it because it is not possible to run two instances of the same VM, or y at - it another way to get there?

    Welcome to the community,

    This can be done. If another instance would be allowed to use the same file system, the guest operating system would be very likely corrupt the file system. What is possible - at least with VMware Workstation - is to create clones related, where the Basic virtual disk is the same (open in read-only mode), but writes go to independent virtual disk files.

    André

  • Number shaped with two digits "behind the point" :-)

    Hello

    Please excuse my very bad English because I'm french :-)

    I use the beta JDE v4.7 and the Blackberry Storm Simulator included.

    I would like to know how to format a calculated result as #. # (a floating-point value with two digits "behind the point') to display in a RichTextField instance.

    I tried this:

    """"
    String strSomme;
    String strSommeTTC;
    Double dblSomme;
    Double dblSommeTTC;
                   
    strSomme = saisieField.getText ();
                   
    dblSomme = Double.parseDouble (strSomme);
    dblSommeTTC = dblSomme * 119,6 / 100.0;
     
    Trainer fmt = new Formatter();
     
    strSommeTTC = fmt.formatNumber(dblSommeTTC,2);
     
    RichTextField affichageField = new RichTextField ("sum TTC:" + strSommeTTC, Field.NON_FOCUSABLE);
    Add (affichageField);
    """"
     
    Only the small portion of code compiles fine but I get an exception when you run the program in the Simulator: javax.microedition.global.UnsupportedLocaleException

    I don't know if the Formatter class is the best way to convert a 45.528652541 to 45.53 number for example.

    Thanks for any help.

    Nice day.

    Marc

    I ended up writing a method to do this...

        final static String toString(double sum)
        {
            // Turn random double into a clean currency format (ie 2 decimal places)
            StringBuffer result;
    
            if (Math.abs(sum) < .01)
            {
                result = new StringBuffer("0.00");
            }
            else
            {
                if (sum > 0)
                    sum = sum + 0.005;
                else
                    sum = sum - 0.005;
                result = new StringBuffer(Double.toString(sum));
                final int point = result.toString().indexOf('.');
                if (point > 0)  // If has a decimal point, may need to clip off after 2 decimal places
                {
                    if (point < (result.length()-2))  // eg "3.1415"
                    {
                        result =  new StringBuffer(result.toString().substring(0,point+3));
                    }
                }
            }
            return result.toString();
        }
    

    I would like to know if there is a better way!

  • Several instances of container, with PDB, located in the same House of Oracle?

    Hello

    I'm just doing labs OBE on a VM for now, until I get new hardware which runs to 12.1.0.2 database. The issue I'm having with a laboratory OBE, which demonstrates her unplug and plug from one container to another PDB has confused me. The laboratory reports the following set up:

    Prerequisites

    Before you begin this tutorial, you should:

      • Install the Oracle 12 c database.
      • Create two CDBs with two PDBs in the CBD first.
    1. The environment used in the development of this tutorial is:
      • ORACLE_HOME: /u01/app/oracle/product/12.1.0
      • TNS listener: 1521
      • Databases:
        • SID: cdb1
        • SID: cdb2
      • Pluggable databases (in cdb1):
        • PDB1
        • pdb2

    The problem I have is when I use DBCA or scripts to create CDB2, it does not create a new database from the container. I get an instance and a database called CDB2, but it is not a CBD. I getORA-65090: operation only allowed in a container database.

    In the DBCA Wizard, make sure that "install connectable database to" is checked, and I in the SPFILE ENABLE_PLUGGABLE_DATABASE = TRUE... The new instance is the name I gave him, without plug-in database installed and for CDB2:

    SQL > select name from v$ database;

    NAME

    ---------

    CDB2

    SQL > show con_id

    CON_ID

    ------------------------------

    0 (is expected to see a 1)

    SQL > show con_name

    CON_NAME

    ------------------------------

    cdb2 (is expected to see CBD$ ROOT)

    The link to the lab can be found here:

    Connect a disconnected Pluggable database

    Is it possible to have two databases containing the same ORACLE_HOME? What Miss me to install a second data base of the container?

    I chose not "tocreate a database of the container", but that I listed above, when he tries create the pdb file, it returns ORA-65090: operation allowed only in a database container.

    The OS is OEL 6.6 X86_64.

    You haven't said why you change the SPFILE - it will be created properly when you create a CBD.

    Remember: we cannot see your monitor or WHAT you do.

    You must post EACH NOT you do and EACH ENTRY you make or that we cannot try to reproduce the problem.

    Take a look at this article in the Oracle database in DBCA use to create a CBD and PDB at the same time. Notice how he SAYS what entries are made.

    ORACLE-BASE - shared: create and configure a database container (CDB) in Oracle Database Release 1 (12.1) 12 c

    Note also that the FIRST screen of the DBCA section will NOT lets you choose a House of the Oracle, but only the location for the database files.

  • Multiple instances of oracle with characterset different on the same server database

    Hello

    We are finalizing plans to install Automic (software scheduliong formerly UC4) for our suite of retail applications and replace Uc4.

    The process came to know that Automic does not support AL32UTF8 database characterset.

    At this moment we have RMS and UC4 UC4 supports AL32UTF8 and schema for UC4 running on the same database server is inside the RMS database.

    From now on, it is recommended to have a separate database instance on the same server as the RMS database and with a different characterset which is WE8MSWIN1252.

    Is it possible to have 2 instances of database running with different charactersets, one with AL32UTF8 and the other with WE8MSWIN1252. ?

    There are configuration requirements before implementing instances of database?  THS APPWORX (for UC4) schema will be exported (data pump export) and imported into the new database.

    The utility Automic we want to use is not compatible AL32UTF8 and manage only a database of character set WE8MSWIN1252.

    Any help and advice would be much appreciated.

    Thank you

    RAM.

    PL post OS and database versions.

    Is it possible to have 2 instances of database running with different charactersets, one with AL32UTF8 and the other with WE8MSWIN1252. ?

    Yes - without any doubt - two databases are independent and have nothing to do with each other.

    There are configuration requirements before implementing instances of database?  THS APPWORX (for UC4) schema will be exported (data pump export) and imported into the new database.

    You may have - to test the export/import process rigorously. If your source is AL32UTF8 and target is WE8MSWIN1252, data loss may occur for those characters that are in the former, but not the last.

    HTH
    Srini

  • How to watch two clips at the same time on the other, with an opacity of 50% each.

    How to watch two clips at the same time on the other, with an opacity of 50% each. It is confirmed that the position of the object even two clips of mergers.

    Thank you

    PPut a clip on top of another in the timeline panel. In the video Inspector reduce the opacity of the clip on top.

  • Mr President, how can I enter two rows at the same time with different default values that only the first line to use see?

    Mr President.

    My worm jdev is 12.2.1

    How to enter two rows at the same time with different default values that only the first line to use see?

    Suppose I have a table with four fields as below

    "DEBIT" VARCHAR2(7) , 
      "DRNAME" VARCHAR2(50),
      "CREDIT" VARCHAR2(7) , 
      "CRNAME" VARCHAR2(50),
    

    Now I want that when I click on a button (create an insert) to create the first line with the default values below

    firstrow.png

    So if I click on the button and then validate the second row with different values is also inserted on commit.

    The value of the second row are like the picture below

    tworows.png

    But the second row should be invisible. It could be achieved by adding vc in the vo.

    The difficult part in my question is therefore, to add the second row with the new default values.

    Because I already added default values in the first row.

    Now how to add second time default values.

    Concerning

    Mr President

    I change the code given by expensive Sameh Nassar and get my results.

    Thanks once again dear Sameh Nassar .

    My code to get my goal is

    First line of code is

        protected void doDML(int operation, TransactionEvent e) {    
    
            if(operation != DML_DELETE)
                 {
                     setAmount(getPurqty().multiply(getUnitpurprice()));
                 } 
    
            if (operation == DML_INSERT )
                       {
                               System.out.println("I am in Insert with vid= " + getVid());
                           insertSecondRowInDatabase(getVid(),getLineitem(),"6010010","SALES TAX PAYABLE",
                            (getPurqty().multiply(getUnitpurprice()).multiply(getStaxrate())).divide(100));      
    
                           }
    
            if(operation == DML_UPDATE)
                              {                                                    
    
                                 System.out.println("I am in Update with vid= " + getVid());
                             updateSecondRowInDatabase(getVid(),
                                 (getPurqty().multiply(getUnitpurprice()).multiply(getStaxrate())).divide(100));      
    
                              }                      
    
            super.doDML(operation, e);
        }
        private void insertSecondRowInDatabase(Object value1, Object value2, Object value3, Object value4, Object value5)
                  {
                    PreparedStatement stat = null;
                    try
                    {
                      String sql = "Insert into vdet (VID,LINEITEM,DEBIT,DRNAME,AMOUNT) values " +
                 "('" + value1 + "','" + value2 + "','" + value3 + "','" + value4 + "','" + value5 + "')";  
    
                      stat = getDBTransaction().createPreparedStatement(sql, 1);
                      stat.executeUpdate();
                    }
                    catch (Exception e)
                    {
                      e.printStackTrace();
                    }
                    finally
                    {
                      try
                      {
                        stat.close();
                      }
                      catch (Exception e)
                      {
                        e.printStackTrace();
                      }
                    }
                  }  
    
                  private void updateSecondRowInDatabase(Object value1, Object value5)
                  {
                    PreparedStatement stat = null;
                    try
                    {
                      String sql = "update vdet set  AMOUNT='"+ value5+"' where VID='" + value1 + "'";                     
    
                      stat = getDBTransaction().createPreparedStatement(sql, 1);  
    
                      stat.executeUpdate();
                    }
                    catch (Exception e)
                    {
                      e.printStackTrace();
                    }
                    finally
                    {
                      try
                      {
                        stat.close();
                      }
                      catch (Exception e)
                      {
                        e.printStackTrace();
                      }
                    }                  
    
                  }
    

    Second line code is inside a bean method

        public void addNewPurchaseVoucher(ActionEvent actionEvent) {
            // Add event code here...
    
            BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
                   DCIteratorBinding dciter = (DCIteratorBinding) bindings.get("VoucherView1Iterator");
                   RowSetIterator rsi = dciter.getRowSetIterator();
                   Row lastRow = rsi.last();
                   int lastRowIndex = rsi.getRangeIndexOf(lastRow);
                   Row newRow = rsi.createRow();
                   newRow.setNewRowState(Row.STATUS_NEW);
                   rsi.insertRowAtRangeIndex(lastRowIndex +1, newRow);
                   rsi.setCurrentRow(newRow);
    
                   BindingContainer bindings1 = BindingContext.getCurrent().getCurrentBindingsEntry();
                   DCIteratorBinding dciter1 = (DCIteratorBinding) bindings1.get("VdetView1Iterator");
                   RowSetIterator rsi1 = dciter1.getRowSetIterator();
                   Row lastRow1 = rsi1.last();
                   int lastRowIndex1 = rsi1.getRangeIndexOf(lastRow1);
                   Row newRow1 = rsi1.createRow();
                   newRow1.setNewRowState(Row.STATUS_NEW);
                   rsi1.insertRowAtRangeIndex(lastRowIndex1 +1, newRow1);
                   rsi1.setCurrentRow(newRow1);
        }
    

    And final saveUpdate method is

        public void saveUpdateButton(ActionEvent actionEvent) {
            // Add event code here...
    
            BindingContainer bindingsBC = BindingContext.getCurrent().getCurrentBindingsEntry();      
    
                   OperationBinding commit = bindingsBC.getOperationBinding("Commit");
                   commit.execute(); 
    
            OperationBinding operationBinding = BindingContext.getCurrent().getCurrentBindingsEntry().getOperationBinding("Commit");
            operationBinding.execute();
            DCIteratorBinding iter = (DCIteratorBinding) BindingContext.getCurrent().getCurrentBindingsEntry().get("VdetView1Iterator");// write iterator name from pageDef.
            iter.getViewObject().executeQuery();  
    
        }
    

    Thanks for all the cooperation to obtain the desired results.

    Concerning

  • Why I get two files with different names but the same image when I save in 2015 CC Photoshop?

    Why I get two files with different names but the same image when I save in 2015 CC Photoshop?

    Try resetting the PS preferences - Preferences in Photoshop

    ~ Rohit

Maybe you are looking for