Delay redistribution Based on BGP Peer Status change

Is there a mechanism that will allow me to delay the redistribution of routese from BGP>OSPF and OSPF>BGP until the BGP Peer has been established for a set period of time, say 15 minutes?  this would also need to account for a "flapping" peer and reset the timer

I don't know why you're using multiple events here.  I was thinking:
event manager environment q "
event manager applet bgp-up
event system pattern "BGP.*neighbor 10.0.0.114 Up"
action 001 cli command "enable"
action 002 cli command "config t"
action 003 cli command "event manager applet bgp-up-timer"
action 004 cli command "event timer countdown time 900"
action 005 cli command "action 1.0 cli command enable"
action 006 cli command "action 2.0 cli command $q config t$q"
action 007 cli command "action 3.0 cli command $q router bgp 1$q"
action 008 cli command "action 4.0 cli command $q redistribute ospf 1$q"
action 009 cli command "action 5.0 cli command end"
action 010 cli command "end"
event manager applet bgp-down
event syslog pattern "BGP.*neighbor 10.0.0.114 Down"
action 1.0 cli command "enable"
action 2.0 cli command "config t"
action 3.0 cli command "no event manager applet bgp-up-timer"
action 4.0 cli command "router bgp 1"
action 5.0 cli command "no redistribute ospf 1"
action 6.0 cli command "end"

Similar Messages

  • Process flow for the Mid-year Status Changes based upon the Qualifying Even

    Hi Experts,
    I'm looking some information for the process flow for the Mid-year Status Changes based upon the Qualifying Events. Basically, I need to know, what would be the impact of these changes on various info types (Via IT0014 - Deduction changes & so forth) and the things that needs to be considered during it's Configuration and the things that needs to be checked due to the occurrence of the change. I would greatly appreciate any kind of help/document.
    Thanks a bunch in advance,
    Thanks,
    Exertive.

    Hello guys,
    Can anyone has any kind of input on this? Basically, I need to know the procees for Mid-year status changes based upon Qualified events. Any kind of help is greatly appreciated.
    Thanks,
    Exertive.

  • MIB and BGP peer (BGP4-MIB::bgpPeerRemoteAddr)

    Hello,
    We're using NAGIOS to monitor the networks of our customers.
    We're using BGPv4 and vrf lite on many of those networks.
    On every remote routers, we have multiple bgp peer sessions facing two ASR-1002F backbone routers (GRT and VRFs...).
    I'd like to know if there's a way to monitor all bgp sessions, on a remote router, without having to enter the ip addresses of all neighbors....
    I'm wondering whether or not I can use the "bgpPeerState" state to monitor the status of these bgp peer sessions?
    Someone got an idea?
    Thanks in advance,
    BRGs
    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Tableau Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
    mso-para-margin:0cm;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-fareast-font-family:Calibri;
    mso-fareast-theme-font:minor-latin;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;
    mso-bidi-font-family:"Times New Roman";
    mso-bidi-theme-font:minor-bidi;
    mso-fareast-language:EN-US;}
    xxxxx@NOC-SV-PL-SUP01:/usr/local/nagios/libexec$ snmpwalk -v 2c -c TESTRO 172.27.20.119 BGP4-MIB::bgpPeerRemoteAddr     
    BGP4-MIB::bgpPeerRemoteAddr.10.40.3.25 = IpAddress: 10.40.3.25
    BGP4-MIB::bgpPeerRemoteAddr.10.40.3.29 = IpAddress: 10.40.3.29
    BGP4-MIB::bgpPeerRemoteAddr.10.40.8.153 = IpAddress: 10.40.8.153
    BGP4-MIB::bgpPeerRemoteAddr.10.40.8.157 = IpAddress: 10.40.8.157
    BGP4-MIB::bgpPeerRemoteAddr.172.25.3.17 = IpAddress: 172.25.3.17
    BGP4-MIB::bgpPeerRemoteAddr.172.25.3.18 = IpAddress: 172.25.3.18
    nsoc-iec@NOC-SV-PL-SUP01:/usr/local/nagios/libexec$ snmpwalk -v 2c -c TESTRO 172.27.20.119 BGP4-MIB::bgpPeerState.10.40.3.25
    BGP4-MIB::bgpPeerState.10.40.3.25 = INTEGER: established(6)

    Hello Joseph,
    Thanks for your answer.
    We've been testing some scripts and it's now working!
    We use the bgpPeerRemoteAddrMIB to get our ip @ and then we log any change in bgpPeerStateper ip@...
    An alarm is on when we have an IDLE state....
    Warning for the other BGP states
    OK for established.
    Regards
    Katy Desrosiers

  • Picking status change in Outbound delivery

    Hi All,
    I have to create a start condition in PPF actions, whihc is nothing but BADI... whihc will trigger when the Pcikinf status is changed....
    I have these threee condtions:
    Action will be triggered by outbound delivery order status change:
    1.     Picking planned status at header level changed after warehouse order creation/cancellation  (corresponds to Focus2 status      0 u2013 Forecast);:
    u2022     from u201CNot startedu201D to u201CCompletedu201D and back from u201CNot startedu201D to u201CPartially completedu201D and back ;
    u2022     from u201CPartially completedu201D to u201CCompletedu201D and back;
    2.     Picking status changed at header level after execution each of warehouse order in drop location (corresponds to Focus2 status      1 - BeginPicked);
    u2022     from u201CNot startedu201D to u201CPartially completedu201D and back;
    3.     Picking status changed at header level after execution of last warehouse order in drop location (corresponds to Focus2 status      2 - Picked):
    u2022     from u201CNot startedu201D to u201CCompletedu201D and back;
    u2022     from u201CPartially completedu201D to u201CCompletedu201D and back;
    any help????
    I want to know how can i code this??

    Hi,
    In the BADI, you can get reference to Delivey Object
    lo_dlv_ppf TYPE REF TO /scdl/cl_dlv_ppf.
    lo_prd                TYPE REF TO /scwm/cl_dlv_management_prd.
    get delivery reference
      lo_dlv_ppf ?= io_context->appl.
    Get the attributes DOCID, the find the status of the documents accordingly.
    Now get the instance of the Delivery management:
    lo_prd = /scwm/cl_dlv_management_prd=>get_instance( ).
    Then read Delivery header and items using the below method based on DOCID:
    APPEND is_docid TO lt_docid.
      ls_include_data-HEAD_PARTYLOC  = abap_true.
      ls_include_data-HEAD_DATE      = abap_true.
      ls_include_data-HEAD_TRANSPORT = abap_true.
      ls_include_data-ITEM_DATE      = abap_true.
      ls_read_options-data_retrival_only = abap_true.
      ls_read_options-mix_in_object_instances = abap_true.
    CALL METHOD lo_prd->query
            EXPORTING
              it_docid        = lt_docid
              iv_doccat       = is_docid-doccat
              is_read_options = ls_read_options
              is_include_data = ls_include_data
            IMPORTING
              et_headers      = lt_whr_headers
              et_items        = lt_whr_items.
    You can find header status in lt_wr_headers.
    Or based on DOCID, get status from table /SCDL/DB_STATUS.
    Hope that helps
    Vinod.

  • Status change from 'Completed' to 'In Process' not allowed

    When configuring Appraisals in R/3 we want to change the  Status of 'Completed' when pressing the 'Reject' button so that it moves to the Target Status of 'In Process'
    However, we are getting an error message:
    Status change from 'Completed' to 'In Process' not allowed
    The SAP help states the following:
    In Process (only if final appraisal or part appraisal is defined)
    This has been defined at Template Level.
    So I don't understand why we are getting the message.
    Does any one else know of a way to configure the Appraisal template so that after it has been 'Rejected' it moves back into 'In Process'
    Thanks
    MN
    Points Rewards!

    Hello Andreas,
    Ah, sorry, there was so much talk about user decisions that I assumed you were using a standard decision task.
    Still, I would be extra careful of changing the way workflow usually works because you have an unknown target audience that are based on the standard.
    The standard SAP philosophy is quite simple: cancel/F3 or do nothing and it stays reserved. If you do not want it reserved, you need to perform an action. This is based on a majority of processes: in most cases when you execute a work item you will also be the one who is going to completed it. Replacing it is the lesser used of the two alternatives, therefore it is the only one that requires an action on the part of the user.
    Again, this is intended as constructive input. Strange quirks and unusual behaviour tend to add a black mark to software if they do not make things easier to use. In many environments users are not even aware of the reserve/replace business, so there you would be adding an additional layer of complexity.
    Personally I would find an exit popup annoying as a regular workflow user - regular decisions can be approved with one click, or I can back out with a single click if I need to make a phone call or look up some info before approving - but with this new-fangled thing I've got an extra button to click and an extra thing to think about. This is especially the case in a payment approval scenario where you may have users in some departments who may approve hundreds of payments each week.
    My suggestion would be to leave it like that. By all means put an option into the user decision to put it back or to 'un-reserve' it (and loop round if the user chooses it). That way you are adding value and not clicks.
    Cheers,
    Mike

  • Error "Status change from READY to COMMITTED is not allowed"

    Dear experts,
    once again SAPs workflow environment drives me crazy with mysterious error messages.
    Some time ago I posted a question here concerning the problem that I cannot put back a workitem by using function module SAP_WAPI_PUT_BACK_WORKITEM due to a lock on this workitem which has been set right after it has been double clicked in the business workplace workflow inbox:
    [How can I put back a workitem before I'm back in the business workplace?;
    Since I do not want to dequeue the lock for the workitem in my application (where the user finds the appropriate detail information along with the function buttons for approval, rejection and F3/BACK) I tried it with calling a POPUP_TO_CONFIRM ("Do you want to put back the workitem?") directly from within the BO-method, right after returning from the FM that called my application. From here (the popup then shows in front of the business workplace instead of the application) the locking doesn't seem to be a problem any more! But whatever I do after the users decision to put the WI back - calling the FM SAP_WAPI_PUT_BACK_WORKITEM or trying to leave the method with macro EXIT_CANCELLED - leads to the error message "Status change from READY to COMMITTED is not allowed" and the workitem changes to status ERROR, too. This message seems to be bull***t, since the status of the item is supposed to go back to READY.
    Does anybody have experience to help me on that ?
    Thanks in advance
    regards
    Andreas

    Hello Andreas,
    Ah, sorry, there was so much talk about user decisions that I assumed you were using a standard decision task.
    Still, I would be extra careful of changing the way workflow usually works because you have an unknown target audience that are based on the standard.
    The standard SAP philosophy is quite simple: cancel/F3 or do nothing and it stays reserved. If you do not want it reserved, you need to perform an action. This is based on a majority of processes: in most cases when you execute a work item you will also be the one who is going to completed it. Replacing it is the lesser used of the two alternatives, therefore it is the only one that requires an action on the part of the user.
    Again, this is intended as constructive input. Strange quirks and unusual behaviour tend to add a black mark to software if they do not make things easier to use. In many environments users are not even aware of the reserve/replace business, so there you would be adding an additional layer of complexity.
    Personally I would find an exit popup annoying as a regular workflow user - regular decisions can be approved with one click, or I can back out with a single click if I need to make a phone call or look up some info before approving - but with this new-fangled thing I've got an extra button to click and an extra thing to think about. This is especially the case in a payment approval scenario where you may have users in some departments who may approve hundreds of payments each week.
    My suggestion would be to leave it like that. By all means put an option into the user decision to put it back or to 'un-reserve' it (and loop round if the user chooses it). That way you are adding value and not clicks.
    Cheers,
    Mike

  • Email notification in Charm with several status changes

    Hello,
    according to OSS 1275036 I tried to implement email notification in my Charm-process using BADI  AGS_SDK_SCHED_ST_CHD in my schedule condition. If a new partner is responible in Charm-process, this partner should be notified by email. The email should be send if user status is changing.
    It still works for my change request (notification of change manager) and the first step of my change document (notification of developer). But for all following steps (e.g. notification of tester) no action for email-notification is found in my change document.
    In my actions I only use schedule conditions (according to OSS) and no start condition. To use the BADI for several user status, I maintained my user status in field value instead of inital value.
    Does anybody know, how to use this BADI for several status changes in my change document?
    Thanks,
    Laura

    Hello together,
    I solved my problem by using CRM Standardcustomizing. Forgot SAP note 1275036 and 865619. They are all bad and not sufficient for a complex Charm scenario.
    I only used note 1275036 for the first mail in my change document (email to developer). For all following mail notifcations I'm using actions based on workflow conditions instead of BADI.
    Just using normal CRM-Customizing and create one schedule and start condition for every used action.
    E.g. send mail to tester:
    schedule condition:
      &Servicevorgang CRM.Anwenderstatus&  [*] E0002+DHFHEAD 
      and    &Servicevorgang CRM.ErrorFreeFlag&  = X 
    start condition:
    &Servicevorgang CRM.Anwenderstatus&  [*] E0004+DHFHEAD 
      and    &Servicevorgang CRM.ErrorFreeFlag&  = X 
    This works perfect, because you won't get several mails for one status if you save your document more than one time, which is a problem with note 865619.
    Regards,
    Laura Mathes

  • Auto status change after UD

    Hi Guys
    I have one requirement which is as described below:
    Calibration schedule is being prepared for vernier with the help of maint plan. But while doing UD the requirement is that if UD code is "cannot be used" then the vernier should be locked by system for further use.
    I have made use of follow up action for that and a pop up appears while saving UD where the fields stated are object, description of object, present status of object and status required, but all are greyed out. How can i change the status to locked?
    Please provide inputs if anybody has done the same thing.

    hi
    the equipment status changing is depend on the result you recorded and the valuation done ,it is not based on usage decision .
    After making the result recording ,while saving system will prompt you with message for valuation ,whether it is accepted or not ,where you have to specify your requirement ,and while making usage decision system will promt you with the message as current status and status required where there will be option to change ,if you want ,kindly mark the change button or else leave it
    regards
    thyagarajan

  • How to make a sales order item deleted in ECC while in CRM just status changed?

    Hi expert,
    I have a requirment, that is:
    1. the user will change the USER STATUS in a line item of sales order to "CANCEL".
    2. When the order was replicated to ECC,the item should be deleted totally and the ITEM in CRM should not be affected.
    How can I implement this? Is there any resolution by just make some configuration?
    Thanks in advance.
    Jerry

    Hi Jerry,
    As per standard SAP, the line item is not deleted (in ECC) based on the status changes at the line item (in CRM)
    You need to do the development to achieve this.  Following points to be considered if you are doing any custom enhancement.
    1. What triggers the sales order replication ? Is it status change at header level ?  If yes, then you need to define a program which will first check the line item status in CRM Sales Order.
    2. Wherever a line item status is CANCEL, it may store in some internal table and then it will call an RFC to delete these line items in the replicated ECC Sales Order.  (without deleting the line items in CRM Sales Order)
    3. Mind you that, this will be a complex enhancement and may give lot of challenges in the sales order replication to ECC.
    Drawback of this requirement -
    1. If your client prefer to have this scenario, then it is fine, but I could see the data inconsistency in all such sales orders.  There will be a mismatch between the sales order in ECC and CRM
    Hope this will be useful
    Thanks and Regards
    DJ

  • Capturing Timestamp when Status Changes in a SharePoint 2010 List

    I've created a Risk/Issue/Decsion Log (list) in SharePoint 2010.
    I need to capture the date/timestamp when an item changes from 'Open' to 'Resolved' Status and also when the status changes from 'Resolved' to 'Closed'.
    I'm using the default 'Created' field to capture when the item is created and the 'Open' status is selected. I've already created 2 more fields in the list to capture when the status changes from 'Open' to 'Resolved' Status and also when the status changes
    from 'Resolved' to 'Closed'. I just need help with how to automatically capture the date/timestamp in those fields.
    I would greatly appreciate the help.
    Thanks!

    Hello,
    As i understand you want to capture date based on status column value. You can create two text calculated column, one for resolved and second for closed.
    Now use below formula in open calculated column:
    =IF(Status="Resolved",TEXT(NOW(),"dd/mm/yyyy hh:mm"),IF(ISBLANK(Status),"","NULL"))
    Then use below formula in closed column:
    =IF(Status="Closed",TEXT(NOW(),"dd/mm/yyyy hh:mm"),IF(ISBLANK(Status),"","NULL"))
    Hope it could ehlp
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Invoice Plan Status Change

    Friends,
    Here is my requirement...
    When a batch program runs (using RMMR1MIS), based on certain criteria, the Invoice plan status changes from A to C (table : FPLT-FKSAF).
    I would like to start a workflow by tracking the status change, but I do not see any default event or update in any change document....
    Thanks in advance.
    Muthu

    HI,
    Unfortunately I can only confirm that there is missing functionality
    for change management in area of MM invoicing plan. No change documents
    are created in CDHDR and CDPOS tables for any change for invoicing
    plan.
    Best Regards,
    Arminda Jack

  • System status change with delegated standard object

    Hi everybody,
    I delegated BUS2005 (production order) to ZBUS2005 and created a new event based upon the system status MANC (I0420). It works fine when I use my custom object ZBUS2005 in BSVZ and this event is successfully triggered. But when I change this object to the standard object BUS2005 in the same transaction BSVZ, the event is not triggered. BUS2005 has been already delegated to ZBUS2005.
    Can somebody kindly tell me how this can be fixed? I want to see the standard object, BUS2005 in the trace, instead of my custom object.
    Thanks,
    Max

    Thanks Nishant,
    Well, I have created many events for other objects and delegated the objects.
    In all these cases, I can see the standard objects in the trace, not the customized objects. But in these cases, I didnt go for status change management.
    So, why dont I see the same standard object in the trace in this case of BUS2005? Even the setting in BAVZ has been done according to BUS2005, not ZBUS2005. So, I am expecting BUS2005 in the trace. Trace comes only when I change this BUS2005 to ZBUS2005 in BSVZ.
    Please give your comments.
    Thanks,
    Max

  • Exit for CJ20N where system status changes can be captured

    Hi Experts,
    I need exit for CJ20N where system status changes can be captured
    for both the below cases
    1) When WBS Element is having Networks inside it
    2) when WBS Element is having no networks inside it
    EXIT_SAPLCOBT_001  --->>>   ZXCO1U01  , will work for 1) , but not for 2)
    i want an exit where status change gets captured for both cases 1 and 2 and
    will do further processing according to client needs based on status change
    Need to trigger IDOC on status change of  WBS element.
    If WBS is having network inside it  , then network status changes also with WBS status change
    and IDOC should trigger for WBS also.
    I just want suitable exit  / place for coding . Rest i can do.
    if no suitable exit / BADI , then what is the best possible place where i can go for Implicit Enhancement
    Best Regards,
    Gaurav
    Edited by: TheGaurav on Oct 25, 2011 7:08 AM
    Edited by: TheGaurav on Oct 25, 2011 7:12 AM

    I am kind of stuck in a similar issue. I need to perform custom validations on standard fields which cannot be done through OPSI or OPUC transactions. 0007 or 0002 User exits seem to assist on custom field creations/validations. However, I do see people posting the following BADIs which may be useful.
    CO_SRULE_CHECK
    PROJECTDEF_UPDATE
    WORKBREAKDOWN_UPDATE (which you already tried)
    WBS_FIELDS_FOR_ASSET
    CO_SRULE_CDOC
    Let me know if any of these worked out...
    AN

  • TT 7.0.5  : Err : REP: TT16133: Peer signals change in its configuration

    Hello there,
    We've encountered a replication problem ( TT16133 ) and would like to get more details about its cause, severity, and suggestion to mitigate it .
    Configuration : TimesTen Release 7.0.5.0.0 (64 bit Linux/x86_64)
    By looking at the context around the time these errors were reported, it appears we were doing a ttMigrate -c on several datastores, including the one which threw the error.
    Primary datastore has the following line in its tterrors.log :
    05:02:17.47 Err : REP: 4592: <datastore>:transmitter.c(5079): TT16133: Peer signals change in its configuration
    Replicated datastore has the following lines in its tterrors.log :
    05:02:06.66 Err : REP: 20483: <datastore>:receiver.c(1661): TT16154: Failed to check for replication schema changes
    05:02:06.66 Err : REP: 20483: <datastore>:receiver.c(1661): TT6003: TT6003: Lock request denied because of time-out
    Details: Tran 3.690152 (pid 20483) wants S lock on rowid 0x000000000083f8d0, table TTREP.REPLICATIONS. But tran 32.18086 (pid 6579) has it in U (request was U). Holder SQL (call ttRepSchemaInfo(1);) -- file "table.c", lineno 25438, procedure "sbTblNextActiveTuple()"
    05:02:06.66 Warn: REP: 20483: <datastore>:receiver.c(1694): TT16155: Temporary failure to access replication configuration
    The replication daemons on both sides were successfully up and running for few hours already, as well as their replication schemas being successfully uploaded onto them, at that time.
    Thank you,
    Ionut

    It is very likely that the ttMigrate -c is the culprit. That operation will place some locks on system tables and it looks like they are held for a not insignificant time. While those locks were held, the repagent tried to access the same tables to check if any schema changes had occurred and was not able to do so. The error is transient and should not cause any problems and can be safely ignored. it is possible that this could be a bug since:
    1. It maybe the ttMigrate is holding locks for too long and could releae them sooner (we'd have to investigate to see that is the case).
    2. A failure to check the schema change status on one peer should probably not result in an indication that the schema has changed on other peers. Again, we'd have to look into this.
    If you are concerned about this then you should open an SR so that further investigation can be done.
    Regards,
    Chris

  • BGP Peer down monitoring through SNMP Traps

    Hello,
    I'm trying to figure out how I can monitor with BGP peer went down using SNMP traps or any other methods that are out there. Basically I would like to get a trap that tells me the IP address of the peer that went down.
    Looking over the SNMP MIBs for BGP all i can find is snmp traps that tell me there was a change in states in BGP, but don't say which neighbor.
    Is there any way to get such information? Would I have to use EEM with some script? This seems like a very common thing that people would want to know.
    Thank you in advance,
    Tom

    SNMP notifications can be configured on the router and GET operations can be performed from an external management station only after BGP SNMP support is enabled.
    SUMMARY STEPS
    1. enable
    2. configure terminal
    3. snmp-server enable traps bgp [state-changes {[all] [backward-trans] [limited]}] | [threshold prefix]
    4. exit

Maybe you are looking for

  • Apple MacBook Pro 13" 2012 with OS Mountain Lion ships standard with iWorks?

    We recently purchased an Apple MacBook Pro 13" new, but from a recommended third party seller because we needed the 2012 version with OS Mountain Lion on it due to Pro Tools incapatability with Maverick.  Our Apple consultant told us that all Laptops

  • What is the name of the new apple docking station?

    what is the name of the new apple docking station?

  • Error installing Flash Pro CS6

    I'm trying to install Flash Pro CS6 but I keep getting the following error (the message is in portuguese) after running the .exe file (downloaded directly from Adobe's oficial website). I've tried it in 3 different computers with Windows 8 and in one

  • Flip book images not shown in flash.

    hi, i am new to all this and i am after a bit help please. i made a flash flipbook for my images using photo to flippingbook, and i uploaded it from dreamweaver on to my site, the  problem is, it works great in IE but does not in Firefox, in Firefox 

  • Automatic Clearing (OBYA)

    Dear Expert, i've 2 CoCd A and B which use differnet Purchase Org and Sales Org. B is a customer A and A is a vendor for B. If B make Purchase Order to A and A make Sales Order to B. how to set automatic posting in OBYA ? In CoCd A i had make Account