LMS 4.2 | discovery based on specific IP Adress

Hi Netpro
1)is there any methods to let LMS 4.2 discover Cisco devices based on specific ip like Loopback address ? coz in my Cisco devices i have more than ip address configured , please advice?
thanks
ibrahim

1. Please refer to the context-sensitive help when you get to this step. It will give you a page with very detailed file formats and fields that are used (see screenshot below from my lab server). That page is also in Chapter 4 of the Inventory Management guide online.
2. Device adjacencies are determined via a correlation of various MIB variables including CDP neighbor details and other details. I recommend you read through Joe Clarke's document on understanding LMS discovery.
One thing to note is that is is best to have the IP addresses of the devices in DNS. If that is difficult for whatever reason, the first create a local hosts file with the devices. You will get better results if the device IPs resolve to host names.

Similar Messages

  • LMS 3.2 discovery problem

    Hi
    I am doing a POC at one of the customer location for LMS 3.2
    Now the problem i am fcaing is that when i have enabled the discovery based on CDP i am only able to discover two to 3 cisoc device only.
    The customer has around 75 cisco devices including routers.
    Its is not able to discovers the MPLS router across WAN however it is discovering the router where peer to peer link is there.
    Am i missing something
    I have enabled CDP in all the devices but still it is not able to discover the devoves.
    I am using the evaluation version.
    Thanks

    Make sure the SNMP credentials you have configured in Discovery are the correct ones, and that the LMS server is capable of polling these missing devices with SNMP.  You can use a sniffer trace filtering on udp/161 traffic to see what Discovery is sending, and whether or not the devices are replying correctly.
    Yes, Discovery will pick up firewalls with the ICMP module provided the firewall allows LMS to ping it, and poll it with SNMP.

  • Payment terms based on specific dist.channel, division and Plant but not from customer master.

    Dear All
    I have a requirement,
    Generally payments terms from customer master will flow to sales order. but here my requirement is to get a different payment terms based on specific distribution channel, division, customer  and plant those are there in sales order but not from customer master. is there any user exit or functional module to fulfill this requirement, or any other suggestion appreciated.
    Thanks,
    Reddy

    This Problem you can solve without user exit too.
    The Customer master data itself can solve the problem.
    You can maitain diffrent Payment Term as per the sales area (Dist.Ch+Div+S.org) of customer master.
    and each sales are wise u can change the plant also.
    You just need to set your logic with the combination of sales are and plant. And need to assign which payment term should determine to sales order.
    If you are rasing sales order with X sales area relavent to that payment term will trigger.
    Hope above logic will work, otherwise you can go with user exit.

  • How to activate or deactivate a user-exit based a specific condition

    hi all,
    i want to activate or deactivate(make it trigger) a particular user-exit based in a condition.
    can i do that. if yes please tell me how.
    can we use COMMIT in user-exits or BADI's.
    Thanks & Regards,
    Saroja.

    Hello Saroja
    The solution provided by Rich should be used for testing purposes only in the the reverted sense:
    IF ( syst-uname ne '<specific user>' ).
      RETURN.
    ENDIF.
    " Execute user-exit for specific user
    However, for serious programming you should use a a better strategy. In principle, user-exits are either ON or OFF and, if they are ON, they are ON for <b>all </b>user which is usually not intended.
    The following example shows a (possible) strategy how to execute user-exits based on specific conditions.
    The SAP extension CATS0001 contains the component EXIT_SAPLCATS_001 with the following interface:
    FUNCTION EXIT_SAPLCATS_001.
    *"*"Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(SAP_TCATS) LIKE  TCATS STRUCTURE  TCATS
    *"     VALUE(SAP_PERNR) LIKE  CATSFIELDS-PERNR
    *"     VALUE(SAP_DATELEFT) LIKE  CATSFIELDS-DATELEFT
    *"     VALUE(SAP_DATERIGHT) LIKE  CATSFIELDS-DATERIGHT
    *"     VALUE(SAP_DATEFROM) LIKE  CATSFIELDS-DATEFROM OPTIONAL
    *"     VALUE(SAP_DATETO) LIKE  CATSFIELDS-DATETO OPTIONAL
    *"  TABLES
    *"      SAP_ICATSW STRUCTURE  CATSW
    *"      SAP_ICATSW_FIX STRUCTURE  CATSW OPTIONAL
      INCLUDE ZXCATU01.
    ENDFUNCTION.
    The include ZXCATU01 contains only the following coding:
      CALL FUNCTION 'Z_EXIT_SAPLCATS_001'
        EXPORTING
          sap_tcats            = sap_tcats
          sap_pernr            = sap_pernr
          sap_dateleft         = sap_dateleft
          sap_dateright        = sap_dateright
          SAP_DATEFROM         = SAP_DATEFROM
          SAP_DATETO           = SAP_DATETO
        tables
          sap_icatsw           = sap_icatsw
          SAP_ICATSW_FIX       = SAP_ICATSW_FIX.
    This function module is just a copy of the exit function module in the customer namespace.
    Let us assume that your condition at which the user-exit should be executed is that the employee (SAP_PERNR) belongs to a specific controlling area. Thus, we make another copy of the original exit function module and call this fm within the "general" customer-specific exit function module:
    FUNCTION z_exit_saplcats_001.
    *"*"Local Interface:
    *"  IMPORTING
    *"     VALUE(SAP_TCATS) LIKE  TCATS STRUCTURE  TCATS
    *"     VALUE(SAP_PERNR) LIKE  CATSFIELDS-PERNR
    *"     VALUE(SAP_DATELEFT) LIKE  CATSFIELDS-DATELEFT
    *"     VALUE(SAP_DATERIGHT) LIKE  CATSFIELDS-DATERIGHT
    *"     VALUE(SAP_DATEFROM) LIKE  CATSFIELDS-DATEFROM OPTIONAL
    *"     VALUE(SAP_DATETO) LIKE  CATSFIELDS-DATETO OPTIONAL
    *"  TABLES
    *"      SAP_ICATSW STRUCTURE  CATSW
    *"      SAP_ICATSW_FIX STRUCTURE  CATSW OPTIONAL
    " User-Exit specific for employees (SAP_PERNR)
    " belonging to controlling area 1000
      CALL FUNCTION 'Z_EXIT_SAPLCATS_001_1000'
        EXPORTING
          sap_tcats      = sap_tcats
          sap_pernr      = sap_pernr
          sap_dateleft   = sap_dateleft
          sap_dateright  = sap_dateright
          sap_datefrom   = sap_datefrom
          sap_dateto     = sap_dateto
        TABLES
          sap_icatsw     = sap_icatsw
          sap_icatsw_fix = sap_icatsw_fix.
    " User-Exit specific for employees (SAP_PERNR)
    " belonging to controlling area 2000
      CALL FUNCTION 'Z_EXIT_SAPLCATS_001_2000'
        EXPORTING
          sap_tcats      = sap_tcats
          sap_pernr      = sap_pernr
          sap_dateleft   = sap_dateleft
          sap_dateright  = sap_dateright
          sap_datefrom   = sap_datefrom
          sap_dateto     = sap_dateto
        TABLES
          sap_icatsw     = sap_icatsw
          sap_icatsw_fix = sap_icatsw_fix.
    ENDFUNCTION.
    Finally, within the specific exit function module we define the condition when the exit should be executed:
    FUNCTION z_exit_saplcats_001_1000.
    *"*"Local Interface:
    *"  IMPORTING
    *"     VALUE(SAP_TCATS) LIKE  TCATS STRUCTURE  TCATS
    *"     VALUE(SAP_PERNR) LIKE  CATSFIELDS-PERNR
    *"     VALUE(SAP_DATELEFT) LIKE  CATSFIELDS-DATELEFT
    *"     VALUE(SAP_DATERIGHT) LIKE  CATSFIELDS-DATERIGHT
    *"     VALUE(SAP_DATEFROM) LIKE  CATSFIELDS-DATEFROM OPTIONAL
    *"     VALUE(SAP_DATETO) LIKE  CATSFIELDS-DATETO OPTIONAL
    *"  TABLES
    *"      SAP_ICATSW STRUCTURE  CATSW
    *"      SAP_ICATSW_FIX STRUCTURE  CATSW OPTIONAL
      IF ( <user BELONGS to CONTROLLING area 1000> ).
        "   execute user-exit
      ELSE.
        RETURN.
      ENDIF.
    ENDFUNCTION.
    The alternative would be to place the entire coding including the conditions in the include ZXCATU01. However, in this case you can test the user exit <b>only in the context of the transaction</b> in which the user-exit is passed.
    Using the strategy I have devised you are able to test the user-exit in general and the specific user-exits <b>independent </b>of the transaction. For example, if you are already working on 6.40 or higher then you could use ABAP Unit Testing for this purpose.
    The same logic can be applied for BAdI where we can have only a single active implementation.
    Finally, I hope to convince that it makes sense to spend some time into a reasonable strategy for implementing user-exits.
    Regards
      Uwe

  • Create a document based on specific document template using JavaScript (ECMA Script/REST API/SP Services)

    Hi,
    I have requirement to create a new document based on specific document template available in document library. Able to set the specific content type but the respective document template not being applied. I am trying with ECMAScript, REST API and SPServices
    but no luck for now. Please help me.
    Thanks,
    JP

    Hello,
    I have already tried your solution, however in that case I get the error - "UncaughtSys.ArgumentNullException: Sys.ArgumentNullException:
    Value cannot be null.Parameter name: context"...
    Also, I tried removing SP.SOD.executeFunc
    from my code, but no success :(
    Kindly suggest !!!
    Vipul Jain

  • VB Scripting to monitor application event log based on specific words.

    Hi All,
    I Have written, vb script to monitor application event log based on specific word in the message. when I have included same script in monitor, after running this script at specific time once in day, I am getting run time error in the server, where it
    supposed to run, could you please check the command where I have highlighted in below script.
    Dim VarSize
    Dim objMOMAPI
    Dim objBag
    Set objMOMAPI = CreateObject("MOM.ScriptAPI")
    Set objBag = objMOMAPI.CreateTypedPropertyBag(StateDataType)
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Const CONVERT_TO_LOCAL_TIME = True
    Set dtmStartDate = CreateObject("WbemScripting.SWbemDateTime")
    dtmStartDate.SetVarDate dateadd("n", -1440, now)' CONVERT_TO_LOCAL_TIME
    strComputer = "."
    Set objWMIService = GetObject("winmgmts:" _
     & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
    Set colLoggedEvents = objWMIService.ExecQuery _
     ("SELECT * FROM Win32_NTLogEvent WHERE Logfile = 'Application' AND " _
     & "EventCode = '100'")
    For Each objEvent in colLoggedEvents
    If InStr(LCase(colLoggedEvents.Message), "Message :Application A3 has been successfully processed for today") Then
    X= "Success"
    end if
    Next
    if X="Success" then
    call objBag.AddValue("State","GOOD")
    call objMOMAPI.Return(objBag)
    wscript.quit()
    Else
    call objBag.AddValue("State","BAD")
    call objMOMAPI.Return(objBag)
    wscript.quit()
    End If

    By programming standards since as long as I can remember the use of the value of a variable to detect its Boolean state has been used.
    Cast your mind back to strongly typed languages, e.g. Pascal.
    I'll cast back to the very early days of the "C" language where all variables could be treated as "bool" without a cast. The is no more strongly type language than "C". "C" practically invented the standards for all modern languages. 
    When I was writin machine language we also used zero as false but many machines only  tested the high bit for truthieness.  The HP machines and Intel allowed a test to aggregate to the sign bit.  Adding that flag to the test alloed tru for
    an numeric value that was non-zero.  A boool test was also used for a negative e switch.  If you study micro language implementation you will find that this hardware design and the companion compiler design is ... well... by design.  It is a
    way of improving the completeness and usefulness of an instruction set.
    Other langauges may require further decoration due to some mistaken desire to be better than perfect. That is like trying to change number theory by renaming addition to be "gunking" and forcing everyone to use multiplication when adding the same number
    more than once.  A Boolean test os a test of the flag bit with to without aggregation.    Even if we test a bit in a word we still mask and aggregate.  It is always the most primitive operation.  It is also the most useful
    operation when you finally realize that it is like an identity in math.
    Use the language features that are designed in. They can help to make code much more flexible and logical.
    By the way, Pascal also treats everything as Boolean when asked to.
    ¯\_(ツ)_/¯

  • Is it possible to limit internet speed for a specific ip adress?

    I have a laptop and a ps3 connected to my router via wifi. I wanted to know if i can limit the bandwith for my ps3. I assigned the ps3 system a specific ip adress and now want to limit the speed it gets lower. I searched around and i think it is possible by changing some things around in the qos settings for a specific ip but do not have any idea what to do after going there. Can anyone help?

    There has not been a native Apple OS version of IE for many years now, sorry.  The only way you will be able to do this is to install windows, either via bootcamp and dual-boot your machine, or in a virtual machine like Parallels or VMWare Fusion.
    You can make the site think Safari is IE by using the Developer's Advanced menu to check the box - however, this only makes Safari "sign in" as IE.  If the program actually requires proprietary Microsoft Active-X features, then you need IE itself, and that will require windows.

  • LMS 3.2 discovery process runs for ever

    Dear friends,
    I am having a problem with discovery on Ciscoworks LMS 3.2. The discovery process runs eternally and does not discover any devices.
    Here are the individual device versions:
    Name   Version   Size   Status   Expiration Date 
    1. CM 5.2 300 Purchased Never
    2. DFM 3.2 300 Purchased Never
    3. HUM 1.0 100 Evaluation Sun Jul 26 12:18:01 GMT+03:00 2009
    4. IPM 4.2 300 Purchased Never
    5. RME 4.3 300 Purchased Never
    6. VNM 1.0 Unlimited Purchased Never
    Please find enclosed the csdiscovery.log which indicates the following error
    1000 [main] DEBUG com.cisco.nm.csdiscovery.CSDiscoveryManager  - FATAL: Exception occured in the start discovery Exception occured during start of discovery in CS.
    Reason : failed to initialize DiscoveryController
    I am also enclosing the CSDiscovery-config.xml under the config directory and the specific job as well.
    ngdiscovery.log shows 0 bytes. I am not sure if it is to be populated only when we initiate some debugging?
    Thanks a lot
    Gautam

    It seems you're missing some critical files.  Under NMSROOT/conf/csdiscovery, you should have the following zip files:
    SharedDiscoveryAUS.zipSharedDiscoveryCluster.zipSharedDiscoveryGeneral.zipSharedDiscoveryIGX.zip
    The casusers group should have full control on all four files.  If these files really are missing, you will need to contact TAC to get new ones, or you will need to reinstall Common Services.

  • Assigning category to orders based on specific criteria (CIF Outbound)

    Hi Experts,
    would you know if there is a user exit or a BADI, for outbound CIF from R3 to APO, which could assign specific order category to an order based on our own conditions? We would put these conditions in our code in this exit.
    The order type is the same, but when we cif orders to SNP, we need to read a specific field if it is populated and if yes, we need to assign it a separate category.
    J.

    Hello Jurej,
    When you say - category ; Is it ATP Category of the sales order ? 
    if yes, you can stil achieve this using the user exit EXIT_SAPLCSLS_002. This exit gets triggered just before CIFing the Sales documents to APO system.
    You need to influence the field ATPCAT of the internal table CT_DOC in the above mentioned exit.
    Thanks
    Babu Kilari

  • LMS 4.2 discovery does not resolve hostname

    Hi,
    I'm trying automatic discovery with Ping on sweep module. I'm using the following configuration (you can also see it in the attached file):
    discovery module - ping on sweep
    global seed device - 192.168.6.35
    preferred DCR display name - DNS resolvable hostname
    The LMS server has its hostfile populated with the device ip/hostname that i'm testing with and resolving from the server works in both directions. Nevertheless, after discovery proccess is finished, the device is added in DCR with its IP address as dispaly name (screenshot in the attached file).
    I've tried the same method in CiscoWorks 4.0.1 and it works fine.
    I'm attaching the debug log files from discovery test. The LMS is running on Windows Server 2008 standard
    Please advice,

    Hi,
    I'm trying automatic discovery with Ping on sweep module. I'm using the following configuration (you can also see it in the attached file):
    discovery module - ping on sweep
    global seed device - 192.168.6.35
    preferred DCR display name - DNS resolvable hostname
    The LMS server has its hostfile populated with the device ip/hostname that i'm testing with and resolving from the server works in both directions. Nevertheless, after discovery proccess is finished, the device is added in DCR with its IP address as dispaly name (screenshot in the attached file).
    I've tried the same method in CiscoWorks 4.0.1 and it works fine.
    I'm attaching the debug log files from discovery test. The LMS is running on Windows Server 2008 standard
    Please advice,

  • LMS 4.2 discovery failure

    Hi
    I have Cisco LMS 4.2 installed i was using SNMP V2c for polling my devices. After i turned on SNMPv3 all devices are reachable and even when i make credentials check it's ok, but the issue when i access any device from search pane it shows me in the collector status " Discovery failure"
    Steps i made to troubleshoot but not succeeded :
    1. Rediscover Devices
    2. Modify SNMP timeout & retry settings
    Devices: Catalyst 2960 , Catalyst 3560
    I've attached a snapshot of collector error
    Please help
    Thanks

    1. Please refer to the context-sensitive help when you get to this step. It will give you a page with very detailed file formats and fields that are used (see screenshot below from my lab server). That page is also in Chapter 4 of the Inventory Management guide online.
    2. Device adjacencies are determined via a correlation of various MIB variables including CDP neighbor details and other details. I recommend you read through Joe Clarke's document on understanding LMS discovery.
    One thing to note is that is is best to have the IP addresses of the devices in DNS. If that is difficult for whatever reason, the first create a local hosts file with the devices. You will get better results if the device IPs resolve to host names.

  • How to Configure TAB style reports based on specific Data?

    Hi All,
    I am new to Business Objects.
    I have an existing BO report and configured to display certain specific data in TAB sheets based on a kind of rule.
    Where is this exactly Configured in Desktop Intelligence? I need to modify this to add new TAB's as well as change some of the existing ones.
    I am being able to Run my UNIVERSE properly and retrieving all the required data (let's say I am getting 10 different Products, I need to display the associated data of specific Products on Seperate TAB sheets and some others in One TAB) but now my report displayed only part of the data (some of the products).
    Your help is much appreciated.
    Regards,
    Baz

    Hi Sneha,
    The only logic, i guess, that could be used is either defining the join fields or some restriction put in the selection conditions tab of the view. for e.g. if the view should only return Doc type XYZ, the same could be implemented in selection conditions tab. for transaction to check the view, it was already posted above.

  • LMS 4.0 Discovery,

    Hello,
    I have enabled PING and CDP for discovery, I ran a discovery and found swithes through CDP but i can't find firewall and branch routers through ICMP the seed devices for icmp module is the first devices (switch) which i added manually and it is seen in  DCR. Then i thought of doing alternate i.e.For firewall and branch Routers i added them manually they are successfully added but they are seen found by system not by icmp. WHY ?????????????????
    All devices are pingable and all devices are reacheable through SNMP,
    Thanks

    The Discovery ping sweep module will do unicast pings of a subnet (based on your address ranges), then contact each reachable node with SNMP.  Those nodes that are SNMP reachable are added to DCR.  When you say you add them manually and it works, what exactly do you mean?  You can add any device to DCR manually, and it should succeed.  DCR does not contact devices.  The real test is if you can run an inventory report on the devices and see data.  If that works, then Discovery must not be able to ping the devices (or they are not responding quickly enough).
    See https://supportforums.cisco.com/docs/DOC-9005#Troubleshooting_CSDiscovery .  If you enable debugging for the Ping Sweep and System modules, the ngdiscovery.log should indicate why the firewalls are not being discoverd.

  • ISE 1.2 Guest Report based on specific Guest IP Address

    Hi
    I have a simple requirement which I am not able to find the way. Maybe someone can help me out.
    I have a WLC / WiSM2 (7.5) Guest Controller and ISE 1.2 (Patch5) in production with only CWA for Guest Access.
    Since I should create a query based on the Guest's IP Address, I tried to find a way to do so. But the "Guest Activity" report is empty (I do not have a cisco ASA with URL logging in place).
    If I do a "Guest Accounting" Report, I am able to see the IP Address attribute per user (so the data is there). But there is no way to filter on that coloum (neither thorugh the filter button which only allows to filter on Endpoint ID and/or Identity, nor is there an option like in ACS 5.x to do an Interactive search).
    Any help?
    The Authentication tab would do the job as well, but there are no filterable time ranges....
    Thanks!

    If anybody get into the same isse, I got an answer from cisco to this, what I found out as well as a possible, but not very handy way:
    "A workaround is to configure a remote syslog target to capture logging category Administrative and Operational Audit and filter and parse the logs accordingly."

  • How to get textbox text inside Repeater based on specific row dropdownlist selection using JavaScript

    Hi All,
    I have dropdownlist and textbox controls inside repeater control. Suppose when i select specific dropdownlist i want get the value of selected item and mean while i want to get the textbox text which in the same row.
    <script type="text/javascript">
    var ddlType;
    function ddl(ddl) {
    ddlType = ddl.value;
    alert(ddlType);
    </script>
    <asp:Repeater ID="RepterDetails" runat="server"
    onitemdatabound="RepterDetails_ItemDataBound"
    onitemcommand="RepterDetails_ItemCommand" >
    <ItemTemplate>
    <tr>
    <td>
    <asp:DropDownList ID="ddlTypeName" runat="server" onchange="ddl(this)"></asp:DropDownList>
    </td>
    <td>
    <asp:TextBox ID="txtCode" runat="server" Text='<%#Eval("otaRoomTypeCode") %>' />
    </td>
    </tr>
    </ItemTemplate>
    </asp:Repeater>
    Using the javascript i got the selected dropdownlist selected value, how to get the textbox text which is in the same row.
    Please give me advice and please find the repeater control screenshot.
    Thanking You, Nagendra.

    This forum if for C# issues, please move your post to asp.net forum:  http://forums.asp.net/
    Thanks
    Fouad Roumieh

Maybe you are looking for

  • HOW DO I CHANGE MY BOOK SIZE ON MY FLASH WEBSITE?

    I was just wondering does anyone know how to change the size of my book on my webpage....I have tried changing the component size on flash and also in my dreamweaver configuration. My website is http://www.myvirtuemagazine.com (it takes a while to lo

  • Java Web Start no longer works after Update 4

    After applying the update to Java for Mac OS X 10.5 Update 4, my webstart files (.jnlp) now all think they are Internet Explorer files to be opened in Parallels. Does anyone know how to re-associate these files with Java? Or, otherwise, a workaround

  • Open a new window (new display) in Java ME - how?

    I have now done a log in screen where the user has to type a server and a port to connect to. When the user press the Connect button I want a new "window" with a TextBox to be displayed. The new "window" is actually a new class which contains its own

  • Drag and Drop BAPI service to workspace not allowed

    Hi guru, I'm following the VC modeler guide and try to make the first example (Sales Order) work. After overcome some Sytem alias and Usermapping issue on Portal side, I finally can see a list of BAPI service when I click "Find Data" and then choose

  • Split view of table so top rows & bottom rows can be viewed simultaneously

    I sometimes work with large tables (thousands of rows) and need to be able to see what's in the top few rows and bottom rows at the same time. This is easy in Excel; there's a gizmo at the top of the vertical scroll bar that can be used to give a spl