Using TCL to Directly Access Forwarding Databases

Please can someone tell me if this is even possible with a TCL script on IOS?
Open a TCP / SSL control channel from the router to an external monitoring server to do the following:
Reliably replicate the global routing table and VRF routing tables with all information, such as protocol, metrics, next hop, prefix, mask, VRF, etc.
Poll the global routing table and VRF routing tables for changes and send real time updates when there are changes
Encapsulate the information into XML so it can be decoded by the monitoring server
I don’t want to scrape show commands as I don’t believe it would scale or be accurate enough. I’m not even sure if it’s possible to direclty access the forwarding databases (MPLS, routing tables, etc)?  Does TCL only work with CLI output?
Thanks!
Richard

Thanks for your help Joseph. Are there any plans to pass VRF information in the routing detector?
Are there any other detector subsystems or methods to directly monitor the routing processes? For example by using the Application Detector (event_register_appl) to subscribe to IOS subsystem events and bypass the built in detectors, or use Resource Detector (event_register_resource) to detect a state change?  Even when writing custom TCL scripts are we bound by the predefined event detectors or are there other ways of accessing IOS subsystems?
I also wondered if it was possible to create an EEM / TCL resource tracker or counter tracker that tracks the routing tables for changes via SNMP. The problem here is I’m not sure if it’s possible to monitor the MIB for specific changes, then poll for that specific change, as opposed to doing a complete SNMP walk? For example, with a number of VRFs and hundreds of thousands of routes I just need to know when there has been a change, and report just that change.
I could take the output from the Routing Event then SNMP poll the global routing and all the VRFs for that prefix. With a lot of route updates and lots of VRFs there would be a lot of unnecessary SNMP polling (and it probably wouldn’t scale).
Regarding the SSL limitation it looks like it’s possible (from one of your previous posts) to perform an MD5 hash (maybe even SHA). Therefore I’d expect I can hash the XML payload in the TCP session.
Thanks again!

Similar Messages

  • Logical database vs direct access of database table

    Hi
    I have created a FI report.    I am trying to get data from large FI tables like BSAK, BSEG, BKPF, RSEG.  eventhough there are 10 records as per my criteria, system is taking morethan an hour time even in background processing.  This may be becaz of lot of conditions that I am applying to filter the data.  But still trying to improve the performance
    For fetching data which is the better way for getting optimum performance of the report.
    a) directly fetching data from database tables
    b) using logical database collecting data into an itab
    regards,
    mallik

    Hi,
    If you are accessing the database tables more than once with different criteria then definetly it will take more time. In such case write only one Select statement on the table and get all the required data into an internal table and then process this internal table as per your logic.
    Use of LDBs is definetly faster but filter conditions might not match with your filter conditions. In such case direct access of database table is preferable but as i said in above paragraph.
    thanks,
    sksingh

  • Can midlet directly access a database?

    I'm creating a midlet that connects to a database. Do i need to go through a server and then access the database or can i directly access the database through the midlet?
    Does anyone have a sample code that have a midlet interacts directly with a database? Or is it impposible to do so without going through a web server.
    Blaise,

    Your message arrived at the rigth address :)
    I am experienced in J2ME programming and made several projects with it including my graduation thesis . (you can check http://2m.turkmenweb.com for my J2ME projects).
    You can directly acces from MIDlet DB, but it is not so reccomended, since mobile devices have certain limitations. When we had to use DB in our J2ME projects(with MIDP1.0 and MIDP2.0) we achieved it by collaboration of JSP with our MIDlet.. That is MIDlet was only sending a URL to Tomcat Server (JSP server) i.e. http://someurl.com/show?task=topusers, and this URL was parsed by a Servlet which was making all needed conenctions to DB.
    I also know that there are K editions (very small) of DBMS built especially for mobile devices. You can use them also .. I guess Oracle has such a thing..
    Good luck!
    Muhammed Mamedov
    [email protected]

  • Can I use web Dynpro to access other database

    Hi Experts,
    Can I use web Dynpro to access other database? Like we have a Siebel Database, can web dynpro application read data from there? If yes, How can I do it?
    Thanks a lot!!!
    MH

    Hi,
    I think you should be able to write Native SQL in the supply function or the methods of the Assistance Class.
    Hope this helps.
    Regards,
    Kedar

  • Using Single Datasource to Access Multiple Databases

    Hi,
    We would like to know the pros and cons of accessing multiple
    databases through a single datasource, versus accessing each
    database through its own datasource. Our environment includes
    multiple web servers w/ the latest version of ColdFusion MX 7,
    clustered through a load balancer. Each web server has 800+ dsns
    pointing to different SQL databases on the same SQL server. We have
    noticed that the ColdFusion administrator is taking a long time to
    display or verify all datasources and sometimes it even times out.
    Another problem is that sometimes the neo-query file gets corrupted
    (for unknown reasons) which results in the deletion of one, or
    more, or all datasources on the web server.
    Because of the issues above we are researching the
    possibility of removing most of the datasources, and then accessing
    each database through a single bridge datasource. In that regard we
    plan to change our queries by inserting the sql db name and user in
    front of each table in the query such as:
    <cfquery name="query" datasource="single_dsn_name">
    select * from [#dbname#].dbo.tableName
    </cfquery>
    In the example above, obviously #dbname# would be a variable
    that will hold the name of the requested database. The code above
    would similarly apply to queries using, update, insert and join
    words.
    Are there any limitations or negatives from scalability,
    performance, and reliability perspective in implementing the above
    scenario versus having one datasource for each database.
    Also, if there is a better way of accomplishing this, we
    would love to hear about it.

    Here is my opinion, because I work with both schemas. The
    main advantage to use one datasource for all DBs in a SQL Server is
    the simplicity of administration.
    But the main disadvantage is security, because you are using
    a single user to access all DB in a server, you don't have
    isolation, and a user that knows your schema can access data of
    other DBs that he sould not be authorized.
    Another issue is is a user must access 2 differents DB with
    different permissions (a DB only read and the other read/write),
    you'll have to create another datasource, user, etc for it.
    But the decision depends in the enviroment. If you are a
    hosting company, I would use 1 datasource for user or DB. If the
    servers and DBs are of the same company, I could use one datasource
    for each SQL server.
    Best regards

  • Direct Access to Database in JDeveloper 11g TP4@FusionWebApplication?

    Hi,
    i have added a Database (Application Resources --> Connection --> Database --> "myDB") to my Application. I can creat Business Components et cetera with the wizard... all works...
    Now I have a simple Java-Class and i want a access to one table in my Database... must i creat a new Connection like
    Connection c = DriverManager.getConnection("jdbc:oracle:thin:@" + host + ":" + port + ":" + sid, user, pw); (simple java-code)
    or is there a chance for direct access to "myDB"?

    If you just want the connection information raw, you could try something like:
    package test.model;
    import oracle.adf.share.ADFContext;
    import oracle.jdeveloper.db.adapter.DatabaseProvider;
    public class Class1 {
        public static void main(String[] args) throws Throwable  {
              DatabaseProvider cd = (DatabaseProvider)ADFContext.getCurrent().getADFConfig().getConnectionsContext().lookup("scott_local");           
              System.out.println("ConnURL= "+cd.getConnectionURL());
              System.out.println("Host = "+cd.getProperty(DatabaseProvider.HOSTNAME_CLASS_REFTYPE));
              System.out.println("Port = "+cd.getProperty(DatabaseProvider.PORT_CLASS_REFTYPE));
              System.out.println("SID = "+cd.getProperty(DatabaseProvider.SID_CLASS_REFTYPE));
              System.out.println("Username = "+cd.getProperty(DatabaseProvider.USERNAME_CLASS_REFTYPE));
              System.out.println("Password = "+cd.getProperty(DatabaseProvider.PASSWORD_CLASS_REFTYPE));
    }

  • How to use PDA module to access the database of PDA?

    I want to develop a program which  can access the database of PDA by the pda module. give me some advice!
      thanks!

    It may help you to know how I add JARs
    1. I open my Project (myProject)
    2. I Mount the JAR to the FileSystem (like mypackages.jar = which includes com.mus.de.myClass.java)
    3. I Mount the File to the FileSystem (like c:\..myfiles..\myProject)
    3.1 I add the File to my Project
    4. I select File | New -> Classes | Main
    4.1 I typed "import com.mus.de.myClass.java" to refer to this package.
    4.2 I called some of the public methods
    thats it
    Andreas

  • Can lync client use internet proxy settings to proxy edge servers, if direct access is not reachable?

    Hi everybody I am trying to Login with my lync Client out of my organization. So I am using lync as a remote user. I am in another organization, and I am using their coporate lan wired and wireless, but I cannot Login to lync in my organization.
    I see that I cannot Access my edge Server on port 443 to authenticate directly, I know that Client in this organization use Internet Proxy to browse the Internet. they have a .pac in their ie Settings.
    my question is; can lync Client use Internet Proxy Settings to reach the Destination? I mean the Access edge on port 443?
    or it can use only Client direct Access to reach the edge Servers?
    I Think that the answer is that I use tcp protocol and not http, and maybe that is the reason why I cannot use the Internet Explorer Proxy Settings to reach the Access edge Servers, different maybe is the case I Need to reach the reverse Proxy for live Meetings.
    Hope my question is clear.
    Thanks

    Proxy settings are used to tell Internet Explorer the network address of an intermediary server (known as a proxy server) that is used between the browser and the Internet on some networks.
    Lync client doesn’t use Internet Proxy Setting. You need to access the Edge service directly.
    Lisa Zheng
    TechNet Community Support

  • WHY can't I access my database from an applet???????????

    The security code won't let my applet access its own database (from its own server)..
    I'm using getDocumentBase()
    to try and tell it that it is my own damn file..
    I keep getting :
    java.securityAccessControlException: access denied <java.util.PropertyPermission jdbc.drivers write>
    ...etc.
    This applet crap is really starting to piss me off. I can see why they came out with JSP.
    All I need to do is access my database, update it, etc. It kind of defeats the purpose of being able to do jdbc from applets if you can't even access the database on your own damn server.
    If you all don't have a clue, I'm freakin switching to PHP--I'm tired of this crap-I was thinking Java was a damn good language until I hit applets.

    The simple answer to your question is: Because of security concerns.
    The somewhat longer answer is that directly accessing a database from an applet is generally not a good idea. A lot of security-critical code like DB username/password must be hidden in the applet which potentially can be downloaded (and disassembled) by anyone that hits your webpage. Maybe you do an intranet solution with trusted users but that is not what applets were originally designed for.
    The clean way is to make your applet talk to a servlet that talks to your database.
    If that is not the way you want to do it, make sure that all client policy files (yes, on the browser machine) contain the permissions that your applet needs.

  • Accessing shared database throws exception from one of 2 web roles

    Setup:
    Shared database
    Main site and "admin site" each using separate web roles accessing shared database.
    I had things working and running correctly until about 2 days ago.  Then, only the "admin site" stopped working.  I am using the same code to access the database across both sites but am getting the following exception when trying to access the
    database in the admin site:
    Message: Unable to open connection to "Microsoft SQL Server, provider V2.0.0.0 in framework .NET V2.0".
    Stack Trace: at IBatisNet.DataMapper.SqlMapSession.OpenConnection(String connectionString) at IBatisNet.DataMapper.SqlMapSession.OpenConnection() at IBatisNet.DataMapper.Commands.DbCommandDecorator.System.Data.IDbCommand.ExecuteReader() at IBatisNet.DataMapper.MappedStatements.MappedStatement.RunQueryForObject[T](RequestScope
    request, ISqlMapSession session, Object parameterObject, T resultObject) at IBatisNet.DataMapper.MappedStatements.MappedStatement.ExecuteQueryForObject[T](ISqlMapSession session, Object parameterObject, T resultObject) at IBatisNet.DataMapper.MappedStatements.MappedStatement.ExecuteQueryForObject[T](ISqlMapSession
    session, Object parameterObject) at IBatisNet.DataMapper.SqlMapper.QueryForObject[T](String statementName, Object parameterObject) at AutoOffers.Persistence.SqlMapperWrapper.QueryForObject[T](String statementName, Object parameter) at AutoOffers.Persistence.Mappers.DbUserMapper.FindByEmailAddress(String
    emailAddress) at AutoOffers.Persistence.Repositories.UserRepository.FindByEmailAddress(String emailAddress) at AutoOffers.Core.Domain.Services.Authentication.MembershipService.ValidateUser(String username, String password) at Admin.AutoOffers.Web.Controllers.HomeController.Login(LoginModel
    model, String returnUrl) at lambda_method(Closure , ControllerBase , Object[] ) at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext,
    IDictionary`2 parameters) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass42.<BeginInvokeSynchronousActionMethod>b__41()
    at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass8`1.<BeginSynchronous>b__7(IAsyncResult _) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.End() at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult
    asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.<>c__DisplayClass39.<BeginInvokeActionMethodWithFilters>b__33() at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49()
    at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.<BeginInvokeActionMethodWithFilters>b__36(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.End() at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult
    asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass25.<>c__DisplayClass2a.<BeginInvokeAction>b__20() at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult
    asyncResult)
    NOTE: I've tried to go to the v4 provider but get the same error (except with v4 in place of v4).  I would suspect something amiss with my application if I didn't have a working one using shared code...though I'm still not ruling out that I'm doing
    something wrong, just waiting for input from here.
    Thanks in advance.

    Hey there, and apologies for the lack of response.  Are you still having this issue and still needing help?  If so can you tell me a little more.  Where is the application running (web/worker rolls)? what are the details on the SQL Database?
    Thanks Guy

  • Access to databases

    Has anyone ever used DAO functions to access to databases in a CVI program?
    I tried creating the FP with 'tools/create ActiveX automation controller'
    but then I found a lot of functions with no expanations at all... It would
    be enough for me to use an existing database, I don't need to create and
    maintain one by my program.
    I am thinking about DAO because I don't have SQL toolkit and I am not
    planning to buy and use it.
    Any help (examples, bibliography...) would be appreciated.
    Thanks
    Roberto

    Try the Oracle DBA Studio. It's a fairly easy GUI to use.

  • Can we directly access database by using BI Accelerator ?

    Hi Experts,
    I have several question about BIA NetWeaver2004:
            1. Can we directly accessing database by using BIA?
            2. What is advantage and disadvantage of BIA? Why'd some people rather use BIA than Aggregates?
            3. Could anyone show me the example or demonstration about BIA
    I am a newbie in BI, so please give me information about BIA.
    Thanks a bunch.

    Hi,
    Welcome to SDN. Remember the rule --- before posting, you should search the forum first.
    1. Can we directly accessing database by using BIA?
    ---> No.
    2. What is advantage and disadvantage of BIA? Why'd some people rather use BIA than Aggregates?
    --> search SDN
    3. Could anyone show me the example or demonstration about BIA
    --> search SDN
    Thanks...
    Shambhu
    Edited by: Shambhu Kumar Gupta on Mar 17, 2009 11:22 AM

  • Connect to the database straight from the direct access of form builder

    What do i have to put in the direct access of form builder and procedure builder to connect to the database without have to do it once i4ve enter into form or procedure builder, I know i have to put user/password and connect string but in which order or which characters do i have to use.
    Thanks in advance.

    thanks jdendas, that works with forms but not with procedure builder, if i put that it does not start the session with the procedure builder.
    Thanks anyway-

  • Can I use BI Beans directly with an OES 6.3.2.1 database ?

    Is it possible to use BI Beans directly with an OES 6.3.2.1 database ? Or is the only supported method, to attach an Express database as a workspace via 9i OLAP ?

    Hi,
    BIBeans is designed to work directly against the Oracle 9iR2 database and the 9iOLAP. It is not possible to use BIBeans to access Express Server directly. However, the BIBeans Crosstab/Graph beans do support XML as a datasource. So I would assume that one option moght be to create an XML generator within OES to feed back the BIBeans.
    Hope this helps...
    Keith Laker
    BIBeans Product Manager

  • How to access remote database using applet

    hi all,
    I want to know how to access remote database using applet,
    Please help me anybody.
    Regards
    Jesu

    If the database is on a public server, you probably can't access it directly (security wise). You can make your applet talk to a server-side application, which makes the database calls on behalf of the applet. But even in an intranet environment this setup is often preferable, because you don't need to distribute a JDBC driver to all your clients.

Maybe you are looking for

  • SAP R/3 4.6B to SAP Enterprise UPGRADE landscape methodology

    My primary question involves the upgrade landscape and its relationship with SAP's  E-Buyer system. We're upgrading R/3 in Q2 of 05. In all past upgrades I've done, I've used parallel landscapes; the existing DEV -> QAS -> PRD landscapes stays the sa

  • Photoshop is running very slow in a very high power computer

    Hello to all the community. Recently I buyed a new PC and I have all the CC adobe softwares. Here are the specs of my PC: - W7 64 bits - Seasonic M12II EVO-750W 80Plus Bronze - Samsung 850 PRO Series 256 GB 2.5" SATA 3 - ASROCK X99 Extreme6 - Intel C

  • Network printing with time capsule doesn't work with OS X Lion

    I have a canon printer which will print when it is set up and connected to my imac.  However when it is set up and connected to time capsule it will not print.  It thinks it has completed the job but it hasn't. I think that this may have something to

  • ITunes 8.1 Causes Major Problems on 2 Dell Systems

    No problems with version 7 or 8.0. Upgraded to version 8.1 on two different Dell XPS desktops. On one, both internal cd/dvd drives are no longer recognized (they are shown as not working in device manager). On the other system, two USB ports are imme

  • Business Explorer - Internet Explorer

    I present you following problem : since the installation of the module Business Explorer for SAP Gui 7.10 we encounter problems with one of our manufacturers website application through Internet Explorer. It seems that Internet Explorer can't open th