BGP Smoothing Interval Exceeded

I got this error meassge on one of customer routers where the BGP failed:
SYSLOG Smoothing        Interval Exceeded Alarm:xxxxxxxxxx BGP-5-ADJCHANGE down 666 seconds        which exceeds smoothing interval of 660 seconds for neighbor x.x.x.x.
the BGP config:
router bgp 65002
bgp log-neighbor-changes
network x.x.x.x mask x.x.x.x
timers bgp 15 45
neighbor x.x.x.x remote-as xxxxx
neighbor x.x.x.x description PE - load sharing
neighbor x.x.x.x soft-reconfiguration inbound
neighbor x.x.x.x route-map setmedprimary out
neighbor x.x.x.x filter-list 1 in
We found that the link was down between the CE and PE router, but I don't understeand why the BGP adjecency didn't fail on dead timer set to 45s.

Found it!
Just copy the prefix without the RD value:
show bgp ipv4 mvpn [1][192.168.0.4]/40
Hristo

Similar Messages

  • Number range interval exceeds

    Dear All,
    when i try to post document in the no. range which has only the balance of 400 documents,it is showing the warning message: number range RF_BELEG has reached the critical limit but i want to control this message only for last 100 documents.In SPRO where can i do this config.
    points will be rewarded for the relevant answer.
    thanks,
    venkata hemanth

    Hi Hemanth R,
    Goto SNRO:-
    enter your object ( for eg: FIAA-BELNR -Number range for asset accounting documents)
    maintain  warning percentage -
    this field is used wen- Percentage of numbers remaining in a number range, upon reaching which in number assignment a warning is given.
    wen you reach the critical limit ( percentage of this) you will get warning messages.
    hope it helps

  • Bgp ipv4 mvpn prefix details ?

    Hello,
    Does anyone knows how to see more detailed information for bgp ipv4 mvpn prefix in IOS-XR. When I type "show bgp ipv4 mvpn summary" I see the prefixes received:
    RP/0/RSP0/CPU0:XR#show bgp ipv4 mvpn
    Thu Oct 31 14:55:33.649 BGT
    BGP router identifier 192.168.0.1, local AS number 65001
    BGP generic scan interval 60 secs
    Non-stop routing is enabled
    BGP table state: Active
    Table ID: 0x0   RD version: 1269813008
    BGP main routing table version 37
    BGP NSR Initial initsync version 3 (Reached)
    BGP scan interval 60 secs
    Status codes: s suppressed, d damped, h history, * valid, > best
                  i - internal, r RIB-failure, S stale, N Nexthop-discard
    Origin codes: i - IGP, e - EGP, ? - incomplete
       Network            Next Hop            Metric LocPrf Weight Path
    Route Distinguisher: 10:10
    *>i[1][192.168.0.4]/40
                          192.168.0.4                   100      0 i
    .....snipped
    Processed 8 prefixes, 8 paths
    RP/0/RSP0/CPU0:XR#
    But it is not clear how to see more details regarding the prefix itself (communities, PMSI attributes etc). The interactive help only says this:
    RP/0/RSP0/CPU0:XR#show bgp ipv4 mvpn ?
      WORD                   ipv4 mvpn network
    ....snipped
    I could not find any information in the docummentation.
    Any help will be greatly appriciated!
    Hristo

    Found it!
    Just copy the prefix without the RD value:
    show bgp ipv4 mvpn [1][192.168.0.4]/40
    Hristo

  • Cisco ASR9006 bgp send full table problem

    Hi all, Thats me again!
    I have a simple lab and I have couple of cisco 7206 vxr g2 and one cisco asr 9006. I can try to bgp configration for asr 9006 to vxr 7206.
    I want to receive full table for the isp. after that I want to send my bgp peer this full table. Configrations are below.
    ASR9006
    route-policy Accept-All
      pass
      end-policy
    router bgp 100
    bgp router-id 192.168.96.92
    address-family ipv4 unicast
      network 192.168.103.0/24
    neighbor 192.168.96.1
      remote-as 100
      update-source MgmtEth0/RSP0/CPU0/0
      address-family ipv4 unicast
       route-policy Accept-All in
       route-policy Accept-All out
    neighbor 192.168.96.4
      remote-as 100
      update-source MgmtEth0/RSP0/CPU0/0
      address-family ipv4 unicast
       route-policy Accept-All in
       route-policy Accept-All out
    RP/0/RSP1/CPU0:#sh bgp summary
    Mon Jun 25 11:44:19.645 GMT
    BGP router identifier 192.168.96.92, local AS number 100
    BGP generic scan interval 60 secs
    BGP table state: Active
    Table ID: 0xe0000000   RD version: 184
    BGP main routing table version 184
    BGP scan interval 60 secs
    BGP is operating in STANDALONE mode.
    Process       RcvTblVer   bRIB/RIB   LabelVer  ImportVer  SendTblVer  StandbyVer
    Speaker             184        184        184        184         184         184
    Neighbor        Spk    AS MsgRcvd MsgSent   TblVer  InQ OutQ  Up/Down  St/PfxRcd
    192.168.96.1      0 100  156761      26      184    0    0 00:10:50     427521
    192.168.96.4      0 100      93      91      184    0    0 00:11:31          0
    RP/0/RSP1/CPU0:#
    RP/0/RSP1/CPU0:#sh bgp neighbor 192.168.96.4 advertised-routes
    Mon Jun 25 11:44:59.487 GMT
    Network            Next Hop        From            AS Path
    192.168.103.0/24   192.168.96.92   Local           i
    Processed 1 prefixes, 1 paths
    RP/0/RSP1/CPU0:#
    I can receive 192.168.96.1 for the full table.
    Cisco 7206 VXR G2_2
    router bgp 100
    no synchronization
    bgp router-id 192.168.96.4
    bgp log-neighbor-changes
    neighbor 192.168.96.92 remote-as 100
    neighbor 192.168.96.92 update-source GigabitEthernet0/1.1
    no auto-summary
    7206VXR_G2_2#sh ip bgp summary
    BGP router identifier 192.168.96.4, local AS number 100
    BGP table version is 12, main routing table version 12
    1 network entries using 121 bytes of memory
    1 path entries using 52 bytes of memory
    2/1 BGP path/bestpath attribute entries using 152 bytes of memory
    0 BGP route-map cache entries using 0 bytes of memory
    0 BGP filter-list cache entries using 0 bytes of memory
    BGP using 325 total bytes of memory
    BGP activity 6/5 prefixes, 9/8 paths, scan interval 60 secs
    Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
    192.168.96.92   4 100      14      15       12    0    0 00:10:55        1
    7206VXR_G2_2#
    7206VXR_G2_2#sh ip bgp
    BGP table version is 12, local router ID is 192.168.96.4
    Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
                  r RIB-failure, S Stale
    Origin codes: i - IGP, e - EGP, ? - incomplete
       Network          Next Hop            Metric LocPrf Weight Path
    *>i192.168.103.0    192.168.96.92            0    100      0 i
    7206VXR_G2_2#
    I can advertised to 192.168.103.0/24 networks. I can receive full table vxr_7206_1. but I don't advertise to full table to vxr_7206_2.
    I read the cisco configrations guide for asr 9000 series alot of times. But I didn't see subject or example "how to send full bgp table".
    Please advice me? How can I do this?

    Hello Umit,
    If I properly understand you want to test your connection towards ISP and BGP route exchange. I would assume your ISP uses different BGP AS compare to yours.  In this current setup I see ASR9k and 7200 have the same BGP AS meaning this is iBGP. In this case we have to have full mesh between iBGP peers as routes are not sent back to other iBGP peers.
    I don’t know which exactly 7200 emulates ISP, but we need to configure eBGP between ASR9k and that 7200 (different BGP AS).
    Note, you use “update-source MgmtEth0/RSP0/CPU0/0”. That is not recommended as there is no routing between management and other forwarding interfaces. Configure a loopback and use as an update-source.
    Regards,
    /A

  • BGP Next-hop conflict with MPLS Label.

    Hi, Experts
    Equipment: Cisco ASR9922, IOS-XR 4.3.2
    Issue: I have problem that my RR do the next-hop-self by using route-policy for client routers, the next-hop is changed as intended but the MPLS label doesn’t changed to reflect the new next-hop.
    What I would like to achieve: I would like RR to set next-hop-self only for selected prefixes(172.168.0.0/24, 0.0.0.0/0) but maintain original next-hop for the rest, I do this by using route-policy.
    Detail:
    I have routers running MPLS infrastructure with ASR9922 as an RR. RN router is in neighbor-group RN and CPE-xx routers are in neighbor-group AN.
    •-       Every routers are in same BGP AS64549.
    •-       RN sends prefixes 0.0.0.0/0 and 172.168.0.0/24 to RR.
    •-       CPE-25 sends prefix 192.168.25.1/32 to RR.
    Neighbor-group AN has the route-policy AN-OUT2 to set next-hop of prefix 172.168.0.0/24 and 0.0.0.0/0 to RR#loopback1 before send out update to CPE routers. Below is BGP and RPL configuration at RR.
    router bgp 64549
    nsr
    bgp graceful-restart
    ibgp policy out enforce-modifications
    address-family vpnv4 unicast
      additional-paths receive
      additional-paths send
      additional-paths selection route-policy ADD-PATH-iBGP
      retain route-target all
    neighbor-group AN
      remote-as 64549
      cluster-id 172.16.1.11
      update-source Loopback1
      address-family vpnv4 unicast
       route-reflector-client
       route-policy AN-OUT2 out
       soft-reconfiguration inbound
    route-policy AN-OUT2
      if destination in DEFAULT or destination in RNC then
        set next-hop 192.168.10.11
      else
        pass
      endif
    end-policy
    This is what RR advertises to CPE-24
    RP/0/RP0/CPU0:RR#show bgp vpnv4 unicast neighbors 192.168.10.24 advertised-routes
    Fri Dec 20 15:23:14.931 BKK
    Network            Next Hop        From            AS Path
    Route Distinguisher: 64549:3339
    0.0.0.0/0          192.168.10.11   172.16.1.1      ?
                                       172.16.1.2      ?
    172.168.0.0/24     192.168.10.11   172.16.1.1      ?
                                       172.16.1.2      ?
    192.168.0.1/32     192.168.10.11   192.168.10.24   i
    192.168.0.26/32    192.168.10.26   192.168.10.26   i
    192.168.25.1/32    192.168.10.25   192.168.10.25   i
    192.168.211.8/30   192.168.10.22   192.168.10.22   i
    The IP part works as intended but MPLS Label doesn’t work as intended. Please take a look at RN who is originates 172.168.0.0/24, label 16025 is locally assigned.
    RP/0/RP0/CPU0:RN1#show bgp vpnv4 unicast labels
    Status codes: s suppressed, d damped, h history, * valid, > best
                  i - internal, r RIB-failure, S stale, N Nexthop-discard
    Origin codes: i - IGP, e - EGP, ? - incomplete
       Network            Next Hop        Rcvd Label      Local Label
    Route Distinguisher: 64549:3339 (default for vrf VLAN3339)
    *> 0.0.0.0/0          0.0.0.0         nolabel         16025          
    * i                   172.16.1.11     16068           16025          
    * i                   172.16.1.13     16033           16025          
    *> 172.168.0.0/24     0.0.0.0         nolabel         16025          
    * i                   172.16.1.11     16059           16025          
    * i                   172.16.1.13     16024           16025          
    172.168.0.0/24 at RR, label 16059 is locally assigned, label 16025 is receive from RN router. It should send 172.168.0.0/24 with label 16059 to CPE-24 to reflect next-hop changed.
    RP/0/RSP0/CPU0:RR#show bgp vpnv4 unicast labels
    Status codes: s suppressed, d damped, h history, * valid, > best
                  i - internal, r RIB-failure, S stale, N Nexthop-discard
    Origin codes: i - IGP, e - EGP, ? - incomplete
       Network            Next Hop        Rcvd Label      Local Label
    Route Distinguisher: 64549:3339
    *>i0.0.0.0/0          172.16.1.1      16025           16068          
    * i                   172.16.1.2      16007           16068          
    *>i172.168.0.0/24     172.16.1.1      16025           16059          
    * i                   172.16.1.2      16007           16059          
    *>i192.168.0.1/32     192.168.10.24   131070          16060          
    *>i192.168.25.1/32    192.168.10.25   131070          16062          
    *>i192.168.211.8/30   192.168.10.22   131070          16065          
    What I found at CPE-24 which is Alcatel router is that, RR send prefix 172.168.0.0/24, nh 192.168.10.11 with label 16025 which is incorrect.
    A:CPE-24# show router bgp routes vpn-ipv4 172.168.0.0/24
    ===============================================================================
    BGP Router ID:192.168.10.24    AS:64549       Local AS:64549     
    ===============================================================================
    Legend -
    Status codes  : u - used, s - suppressed, h - history, d - decayed, * - valid
    Origin codes  : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
    ===============================================================================
    BGP VPN-IPv4 Routes
    ===============================================================================
    Flag  Network                                            LocalPref   MED
          Nexthop                                            Path-Id     VPNLabel
          As-Path                                                       
    u*>?  64549:3339:172.168.0.0/24                          100         0
          192.168.10.11                                      None        16025
          No As-Path                                                     
    Routes : 1
    ===============================================================================
    On RR If I just remove the policy and do the next-hop-self under vpv4 address family, CPE-24 will get corrent nh with correct label(16059) but that won’t achieve our requirement to change nh only on selected prefixes. Is this software problem? Or is there any solution to work around?
    Regard,
    Marit

    Hello Marit,
    I am able to recreate this in the lab, and unfortunately this scenario is not supported. BGP does not advertise allocated label if we set nexhop using route policy. The only way is by next-hop-self configured on RR, and yes it eventually will applies to all prefixes advertised to neighbor-group AN. Currently i do not have workaround available.
    Below is the capture of what i have tested in the lab:
    The topology:
    CRS-4-02 ---------- CRS-8-01 ------------ ASR-9006-1
    CRS-8-01 is Route-reflector of CRS-4-02 and ASR-9006-1.
    CRS-4-02 advertise some prefixes.
    This issue occurs when RR have route-policy toward ASR-9006-1, where it assign incorrect label. But it assign correct label if CRS-8-01 use next-hop-self.
    Below is the test done in the lab if RR use next-hop-self:
    RP/0/RP0/CPU0:CRS-4-02#show run router bgp
    Tue Jan  7 08:16:18.945 UTC
    router bgp 1
    bgp router-id 172.16.4.1
    ibgp policy out enforce-modifications
    address-family ipv4 unicast
    address-family vpnv4 unicast
    neighbor 172.16.8.3
      remote-as 1
      update-source Loopback0
      address-family ipv4 unicast
      address-family vpnv4 unicast
       route-policy PASS in
       route-policy PASS out
    vrf RTAMAELA
      rd 100:1
      address-family ipv4 unicast
       redistribute connected
    RP/0/RP0/CPU0:CRS-4-02#show bgp vpnv4 unicast advertised  summary
    Tue Jan  7 08:16:29.001 UTC
    Network            Next Hop        From             Advertised to
    Route Distinguisher: 100:1
    78.22.11.2/32      172.16.4.1      Local            172.16.8.3
    78.22.11.3/32      172.16.4.1      Local            172.16.8.3
    93.22.15.61/32     172.16.4.1      Local            172.16.8.3
    RP/0/RP0/CPU0:CRS-4-02#
    RP/0/RP0/CPU0:CRS-4-02#show bgp vpnv4 unicast labels
    Tue Jan  7 08:16:53.655 UTC
    BGP router identifier 172.16.4.1, local AS number 1
    BGP generic scan interval 60 secs
    BGP table state: Active
    Table ID: 0x0
    BGP main routing table version 57
    BGP scan interval 60 secs
    Status codes: s suppressed, d damped, h history, * valid, > best
                  i - internal, r RIB-failure, S stale
    Origin codes: i - IGP, e - EGP, ? - incomplete
       Network            Next Hop        Rcvd Label      Local Label
    Route Distinguisher: 100:1 (default for vrf RTAMAELA)
    *>i22.51.32.77/32     172.16.8.3      16056           nolabel
    *> 78.22.11.2/32      0.0.0.0         nolabel         16003
    *> 78.22.11.3/32      0.0.0.0         nolabel         16003
    *> 93.22.15.61/32     0.0.0.0         nolabel         16003
    Processed 4 prefixes, 4 paths
    RP/0/RP0/CPU0:CRS-4-02#
    RP/0/RP1/CPU0:CRS-8-01#show run router bgp
    Wed Jan  8 11:07:05.436 UTC
    router bgp 1
    bgp graceful-restart
    ibgp policy out enforce-modifications
    address-family ipv4 unicast
      allocate-label all
    address-family vpnv4 unicast
      retain route-target all
    neighbor-group AN
      remote-as 1
      update-source Loopback0
      address-family vpnv4 unicast
       route-reflector-client
       next-hop-self                              <-- use next-hop-self toward ASR-9006-1
       soft-reconfiguration inbound
    neighbor-group RN
      remote-as 1
      update-source Loopback0
      graceful-restart
      address-family vpnv4 unicast
       route-reflector-client
       next-hop-self
       soft-reconfiguration inbound
    neighbor 10.10.10.10
      remote-as 1
      address-family ipv4 unicast
    neighbor 72.15.48.5
      use neighbor-group AN
    neighbor 172.16.4.1
      use neighbor-group RN
    RP/0/RP1/CPU0:CRS-8-01#show bgp vpnv4 unicast labels
    Wed Jan  8 11:07:09.091 UTC
    BGP router identifier 172.16.8.3, local AS number 1
    BGP generic scan interval 60 secs
    BGP table state: Active
    Table ID: 0x0   RD version: 344169
    BGP main routing table version 92
    BGP scan interval 60 secs
    Status codes: s suppressed, d damped, h history, * valid, > best
                  i - internal, r RIB-failure, S stale
    Origin codes: i - IGP, e - EGP, ? - incomplete
       Network            Next Hop        Rcvd Label      Local Label
    Route Distinguisher: 100:1
    *>i22.51.32.77/32     72.15.48.5      16000           16056
    *>i78.22.11.2/32      172.16.4.1      16003           16053
    *>i78.22.11.3/32      172.16.4.1      16003           16054
    *>i93.22.15.61/32     172.16.4.1     16003           16055
    Processed 4 prefixes, 4 paths
    RP/0/RP1/CPU0:CRS-8-01#
    RP/0/RSP1/CPU0:ASR-9006-01#show run router bgp
    Wed Jan  8 17:02:02.796 UTC
    router bgp 1
    bgp router-id 72.15.48.5
    bgp graceful-restart
    ibgp policy out enforce-modifications
    address-family ipv4 unicast
    address-family vpnv4 unicast
      retain route-target all
    neighbor-group RR
      remote-as 1
      update-source Loopback0
      graceful-restart
      address-family vpnv4 unicast
       route-reflector-client
       soft-reconfiguration inbound
    neighbor 172.16.8.3
      use neighbor-group RR
    neighbor 192.169.1.2
      remote-as 1
      update-source Loopback0
      address-family vpnv4 unicast
       route-policy PASS in
       route-policy PASS out
    vrf RTAMAELA
      rd 100:1
      address-family ipv4 unicast
       redistribute connected
    RP/0/RSP1/CPU0:ASR-9006-01#show bgp vpnv4 unicast labels
    Wed Jan  8 17:02:04.381 UTC
    BGP router identifier 72.15.48.5, local AS number 1
    BGP generic scan interval 60 secs
    BGP table state: Active
    Table ID: 0x0   RD version: 253825
    BGP main routing table version 126
    BGP scan interval 60 secs
    Status codes: s suppressed, d damped, h history, * valid, > best
                  i - internal, r RIB-failure, S stale
    Origin codes: i - IGP, e - EGP, ? - incomplete
       Network            Next Hop        Rcvd Label      Local Label
    Route Distinguisher: 100:1 (default for vrf RTAMAELA)
    *> 22.51.32.77/32     0.0.0.0         nolabel         16000
    *>i78.22.11.2/32      172.16.8.3      16053           nolabel          <== 172.16.8.3 is the loopback address of CRS-8-01
    *>i78.22.11.3/32      172.16.8.3      16054           nolabel
    *>i93.22.15.61/32     172.16.8.3      16055           nolabel
    Processed 4 prefixes, 4 paths
    RP/0/RSP1/CPU0:ASR-9006-01#
    From output above we can see that ASR-9006-01 received correct label for each prefix.
    Below is the output with route-policy configured and ASR-9006-01 receive incorrect label:
    RP/0/RP1/CPU0:CRS-8-01#show run router bgp
    Wed Jan  8 11:04:46.310 UTC
    router bgp 1
    bgp graceful-restart
    ibgp policy out enforce-modifications
    address-family ipv4 unicast
      allocate-label all
    address-family vpnv4 unicast
      retain route-target all
    neighbor-group AN
      remote-as 1
      update-source Loopback0
      address-family vpnv4 unicast
       route-reflector-client
       route-policy RTAMAELA out
       soft-reconfiguration inbound
    neighbor-group RN
      remote-as 1
      update-source Loopback0
      graceful-restart
      address-family vpnv4 unicast
       route-reflector-client
       next-hop-self
       soft-reconfiguration inbound
    neighbor 72.15.48.5
      use neighbor-group AN
    neighbor 172.16.4.1
      use neighbor-group RN
    RP/0/RP1/CPU0:CRS-8-01#show run route-policy RTAMAELA
    Wed Jan  8 11:16:06.847 UTC
    route-policy RTAMAELA
      if destination in RNC then
        set next-hop 172.16.8.3
      else
        pass
      endif
    end-policy
    RP/0/RP1/CPU0:CRS-8-01#show run prefix-set RNC
    Wed Jan  8 11:16:12.099 UTC
    prefix-set RNC
      78.22.11.3/32
    end-set
    RP/0/RP1/CPU0:CRS-8-01#show bgp vpnv4 unicast labels
    Wed Jan  8 11:04:33.512 UTC
    BGP router identifier 172.16.8.3, local AS number 1
    BGP generic scan interval 60 secs
    BGP table state: Active
    Table ID: 0x0   RD version: 344013
    BGP main routing table version 92
    BGP scan interval 60 secs
    Status codes: s suppressed, d damped, h history, * valid, > best
                  i - internal, r RIB-failure, S stale
    Origin codes: i - IGP, e - EGP, ? - incomplete
       Network            Next Hop        Rcvd Label      Local Label
    Route Distinguisher: 100:1
    *>i22.51.32.77/32     72.15.48.5      16000           16056
    *>i78.22.11.2/32      172.16.4.1      16003           16053
    *>i78.22.11.3/32      172.16.4.1      16003           16054
    *>i93.22.15.61/32     172.16.4.1      16003           16055
    Processed 4 prefixes, 4 paths
    RP/0/RP1/CPU0:CRS-8-01#
    RP/0/RSP1/CPU0:ASR-9006-01#show run router bgp
    Wed Jan  8 16:59:41.601 UTC
    router bgp 1
    bgp router-id 72.15.48.5
    bgp graceful-restart
    ibgp policy out enforce-modifications
    address-family ipv4 unicast
    address-family vpnv4 unicast
      retain route-target all
    neighbor-group RR
      remote-as 1
      update-source Loopback0
      graceful-restart
      address-family vpnv4 unicast
       route-reflector-client
       soft-reconfiguration inbound
    neighbor 172.16.8.3
      use neighbor-group RR
    neighbor 192.169.1.2
      remote-as 1
      update-source Loopback0
      address-family vpnv4 unicast
       route-policy PASS in
       route-policy PASS out
    vrf RTAMAELA
      rd 100:1
      address-family ipv4 unicast
       redistribute connected
    RP/0/RSP1/CPU0:ASR-9006-01#show bgp ipv4 unicast labels
    Wed Jan  8 16:59:52.173 UTC
    RP/0/RSP1/CPU0:ASR-9006-01#show bgp vpnv4 unicast labels
    Wed Jan  8 17:00:00.457 UTC
    BGP router identifier 72.15.48.5, local AS number 1
    BGP generic scan interval 60 secs
    BGP table state: Active
    Table ID: 0x0   RD version: 253701
    BGP main routing table version 123
    BGP scan interval 60 secs
    Status codes: s suppressed, d damped, h history, * valid, > best
                  i - internal, r RIB-failure, S stale
    Origin codes: i - IGP, e - EGP, ? - incomplete
       Network            Next Hop        Rcvd Label      Local Label
    Route Distinguisher: 100:1 (default for vrf RTAMAELA)
    *> 22.51.32.77/32     0.0.0.0         nolabel         16000
    *>i78.22.11.2/32      172.16.4.1      16003           nolabel
    *>i78.22.11.3/32      172.16.8.3      16003           nolabel   <-- It receive label 16003, which is wrong. it should receive label 16054.
    *>i93.22.15.61/32     172.16.4.1      16003           nolabel
    Processed 4 prefixes, 4 paths
    RP/0/RSP1/CPU0:ASR-9006-01#
    Rivalino

  • Lose MouseEvent after creating new class. Why?

    I have a main class that generates three clickable textfields (lessons).  Clicking a specific lesson starts the appropriate lesson.  However, once the lesson starts, I am unable to detect any mouseevents.  I do not use any mouseevents in any of the lessons so I am baffled about what happened to my mouse eventlisteners.  Even though I can see the nextLesson button, nothing happens when clicked.  If I click it before starting my lesson, my trace indicates that I have clicked it.  Any ideas?  Do I need my lessons to somehow self-terminate when done and if so, how would I go about this.  I currently use the browsers back arrow to terminate the complete session.  Seems kludgey.

    Site: itonlytakes1.org
    Currently I only have one lesson published: Discover the first ten number labels.  A minor annoyance is after you click on the lesson text, you have to click on the window again BEFORE the lesson will detect a numeric keypress (don't understand this either).  After executing the forty experiments (around two minutes), a summary of the time it took to recognize (subitize) the dashes and the quantity of errors will display.  I have been unable to create buttons or execute any code that will let you exit this screen and return to the main program screen, hence the advice to use the browser's back arrow.  SO, I decided to create a higher level script that contains all the lessons instead of using HTML, but I have not published it because I can't get the mouseevent to occur after starting Labeling.  I'll attach my prototype main program, Discovery, and the first lesson, Labeling (which is currently executed when you click on "Discover the first ten number labels".)  Be kind as I only started using AS3 and O.O.P. in January.  Thirty years ago I programmed in Fortran IV, and I haven't even written a shell script for 15 years.
    *********** don't know why .as files aren't attachable **********
    *********Discovery.as********************************
    package subquan{
        import flash.display.Sprite;
        import flash.text.*;
        //import flash.ui.Keyboard;
        import flash.events.*;
        //import flash.utils.setInterval;
        //import flash.utils.clearInterval;
        //import flash.utils.getTimer;
        public class Discovery extends Sprite {
            var lesson:*;
            public function Discovery() {
                var labeling:TextField = new TextField;
                labeling.text = "Discover number labels";
                labeling.x = 20;
                labeling.y = 50;
                addChild(labeling);
                labeling.addEventListener(MouseEvent.CLICK, runLabeling);
                var container:TextField = new TextField;
                container.text = "Discover number labels";
                container.x = 20;
                container.y = 100;
                addChild(container);
                container.addEventListener(MouseEvent.CLICK, runContainer);
                var dimension:TextField = new TextField;
                dimension.text = "Discover number labels";
                dimension.x = 20;
                dimension.y = 150;
                addChild(dimension);
                dimension.addEventListener(MouseEvent.CLICK, runDimension);
                private function runLabeling(evt:MouseEvent):void {
                lesson = new Labeling();
                addChild(lesson);
                private function runContainer(evt:MouseEvent):void {
                trace("Containers clicked");
                private function runDimension(evt:MouseEvent):void {
                trace("Dimension clicked");
    ********************  Labeling.as ***************************************
    package subquan{
        import flash.display.Sprite;
        import flash.display.Shape;
        import flash.text.*;
        import flash.ui.Keyboard;
        import flash.events.*;
        import flash.utils.setInterval;
        import flash.utils.clearInterval;
        import flash.utils.getTimer;
        public class Labeling extends Sprite {
            public static  const UP:Boolean=true;
            public static  const DOWN:Boolean=false;
            public static  const OFF:Boolean=false;
            public static  const ON:Boolean=true;
            public var number:*;// Main Container for all
            public var questions:*;// Remaining questions container
            public var rightEdge:uint;// Set in .fla file through window->property and select top pointer in side menu.
            public var lowerEdge:uint;
            // Decimal point locates number on the stage. (Not always visible)
            public var decimalPointX:uint;
            public var decimalPointY:uint;
            public var dim:String;
            public var base:uint;// Maximum pairs (base, number) = (2, 127), (3, 2186), (4, 16383), ..., Math.pow(base, 7) - 1
            public var num:int;// Maximum number is seven(7) digits regardless of base.
            public var scale:uint;
            // Variables for smooth scaling
            public var smoothStep:Number;// Change in scale for each step
            public var normalization:Number;// Current level of normalization.  Usually at 0, stop, or 1
            private var normalizationStop:Number;// Intermediate stop between full and normalized.
            private var smoothIntervalID:int;// Used to clear smoothing interval
            private var atAStop:Boolean=true;// smooth scaling is completed
            // Shared text field shows message whether subquan is to scale or not.
            private var answered:Boolean=false;// Indicates whether correct answer received
            private var answerSoFar:String;
            private var answerSign:Boolean;
            private var subquanAnswer:String;
            private var subquanAnswerSign:Boolean;
            private var waitAfterAnswer:uint;
            private var grade:Boolean;
            private var range:uint;
            private var hintID:int;
            private var sleepID:int;
            private var sounds:*;// Instance name for DigiSounds
            // Normalization text
            private var ToScale:String = "Subquan to scale";
            private var NotToScale:String = "Subquan NOT to scale";
            private var Normalized:String="Subquan normalized";
            private var lesson:*;// LessonText object
            private var answerArray:Array;
            private var samples:uint;// Number of samples of each digit
            private var numberTimes:Array=new Array();//Array keeping tracking of times per digit
            private var checkTime:Number;//Used for computed the time to answer
            private var errors:Array=new Array();//Tracks the number of errors.  Used to compute average time to answer
            private var newLesson:Boolean;//Tracks the start of a new lesson
            private var iterations:uint;//Total number of answers required = base * samples
            public function Labeling() {
                newLesson = true;
                base = 10;
                samples = 4;
                iterations = base * samples;
                for (var i:uint=0; i<base; i++) {
                    numberTimes[i] = 0;
                    errors[i] = 0;
                var numbers:*=new Numbers();
                answerArray = numbers.getNumbers(samples, base);
                rightEdge=550;// Set in .fla file through window->property and select top pointer in side menu.
                lowerEdge=400;
                decimalPointX=rightEdge - 100;
                decimalPointY=lowerEdge - 50;
                range=1;// Power of 10.  Do not exceed 7!
                waitAfterAnswer = 3000;
                smoothStep = 1/24;// Change in scale for each step
                sounds=new DigiSounds  ;// Initialize array of number words and notes
                lesson = new LessonText(lowerEdge, rightEdge);// Initialize feedback texts
                addChild(lesson);
                lesson.intro.text = "DISCOVERY 1:\n\nYou can recognize, in less than one second, any\nlabel (or symbolic name) of the first ten digits\n\nDo not count\nEnter 0, 1, 2, 3, 4, 5, 6, 7, 8, or 9\nas fast as you can\n\nEnter any number to begin.";
                lesson.remainingLabel.text = "Remaining experiments";
                addEventListener(KeyboardEvent.KEY_DOWN,keyDownFunc);
            private function newNumber():void {
                if (number) {
                    stage.removeChild(number);
                if (answerArray.length>0) {
                    num = answerArray.pop();
                    setNormalization(1);
                    // TEMPLATE: Quantity(num:Number, newBase:Number, normalization:Number=1, scale:Number=1, dim:String="null")
                    number=new Quantity(num,base,normalization,1, "null", OFF);
                    stage.addChild(number);
                    checkTime=getTimer();// Set time when number was displayed
                    number.x=decimalPointX;
                    number.y=decimalPointY;
                    subquanAnswer=String(number.getSubquanNumber());
                    subquanAnswerSign=number.getSubquanSign();
                    sounds.playNumber(subquanAnswerSign,number.getSubquanNumber());
                    lesson.answer.text="";
                    answerSoFar="";
                    answerSign=true;
                    lesson.grade.text="";
                    grade=false;
                    lesson.hint.text="";
                    clearInterval(hintID);
                    hintID=setInterval(giveHint,5000);
                    answered=false;
                } else {
                    lesson.grade.text="";
                    lesson.answer.text = "";
                    lesson.scaleText.text = "";
                    lesson.remainingLabel.text = "";
                    var doneText:String="";
                    var avgTimes:Number=0;
                    var totalErrors:uint=0;
                    for (var i:uint=0; i<base; i++) {
                        doneText = doneText + "\nfor " + i + " was " + Math.floor(numberTimes[i]/samples) + " with " + errors[i] + " errors";
                        avgTimes += numberTimes[i];
                        totalErrors+= errors[i];
                    var average:Number = Math.floor(avgTimes/base/samples);
                    var penalty:Number = Math.floor(totalErrors*Math.min(average, 2000)/base/samples);
                    var score:Number = average + penalty;
                    var comment:String = "";
                    doneText = doneText + "\nFor all including penalty was " + score + " msecs";
                    doneText = doneText + "\nTotal errors " + totalErrors + ", penalty: " + penalty + " msecs";
                    if (totalErrors == 0 && score < 1000) {
                        comment = "Excellent";
                    } else {
                        if (totalErrors/base/samples <= 0.05 && score < 1000) {
                            comment = "Well Done";
                        } else {
                            comment = "Practice reduces time and errors";
                    lesson.intro.text = comment + "\n\nAverage Times (in 1/1000th of a second)" + doneText;
            private function randomDim():String {
                var dimArray:Array=new Array;
                dimArray=["null","x","y","z"];
                return dimArray[Math.floor(Math.random() * 4)];
            private function wakeUp():void {
                clearInterval(sleepID);
                newNumber();
            private function giveHint():void {
                lesson.hint.text="Try " + subquanAnswer;
            public function setNormalization(n:Number):void {
                normalization = n;
                normalizationStop = n;
                atAStop=true;
                switch (n) {
                    case 0 :
                        lesson.scaleText.text=ToScale;
                        break;
                    case 1 :
                        lesson.scaleText.text=Normalized;
                        break;
                    default :
                        lesson.scaleText.text=NotToScale;
            public function smoothScale(target:Number):void {
                if (normalization > target) {
                    if (normalization - smoothStep <= target) {// At target, stop scaling
                        normalization=target;
                        atAStop=true;
                        clearInterval(smoothIntervalID);
                    } else {
                        normalization-= smoothStep;
                } else {
                    if (normalization + smoothStep >= target) {
                        normalization=target;
                        atAStop=true;
                        clearInterval(smoothIntervalID);
                    } else {
                        normalization+= smoothStep;
                number.scaleDigits(normalization);
            // IMPORTANT: Don't forget to press Ctrl + Enter to run n code and then on that preview screen,
            //      go to the menu and select Control then Disable Keyboard Shortcuts.
            private function keyDownFunc(event:KeyboardEvent):void {
                var key:uint=event.keyCode;
                var mathKey:String=null;
                switch (key) {
                    case 8 ://backspace key
                    case 46 ://delete key
                        trace("I am here");
                        //code to exit goes here
                        break;
                    case 13 :// Enter/retrun key.  Clear entry to start over.  SEE IMPORTANT NOTE
                        answerSoFar="";
                        answerSign=true;
                        lesson.clearAnswer;
                        lesson.clearGrade;
                        break;
                    case 37 :// Left arrow - change normalization stop
                        if (normalization - smoothStep <= 0) {// Set normalizationStop to fullscale
                            setNormalization(0);
                        } else {
                            setNormalization(normalization - smoothStep);
                        number.scaleDigits(normalizationStop);
                        break;
                    case 38 :// Up arrow
                        if (normalization == 1) {
                            atAStop=false;
                            lesson.scaleText.text=NotToScale;
                            clearInterval(smoothIntervalID);
                            smoothIntervalID=setInterval(smoothScale,10,normalizationStop);
                        if (normalization == normalizationStop) {
                            atAStop=false;
                            lesson.scaleText.text=ToScale;
                            clearInterval(smoothIntervalID);
                            smoothIntervalID=setInterval(smoothScale,10,0);
                        break;
                    case 39 :// Right arrow - change normalization stop
                        if (normalization + smoothStep >= 1) {// Set normalizationStop to normalized
                            setNormalization(1);
                        } else {
                            setNormalization(normalization + smoothStep);
                        number.scaleDigits(normalizationStop);
                        break;
                    case 40 :// Down arrow
                        if (normalization == 0) {
                            atAStop=false;
                            lesson.scaleText.text=NotToScale;
                            clearInterval(smoothIntervalID);
                            smoothIntervalID=setInterval(smoothScale,10,normalizationStop);
                        if (normalization == normalizationStop) {
                            atAStop=false;
                            clearInterval(smoothIntervalID);
                            smoothIntervalID=setInterval(smoothScale,10,1);
                            lesson.scaleText.text=Normalized;
                        break;
                    case 109 :// '-' on keypad pressed
                    case 189 :// '-' key pressed
                        if (! answerSign ) {
                            answerSoFar="";
                            answerSign=true;
                            lesson.answer.text="";
                        } else {
                            answerSoFar="-";
                            answerSign=false;
                            lesson.answer.text=answerSoFar;
                        lesson.clearGrade();
                        break;
                    default :
                        if (48 <= key && key < 58) {
                            mathKey=String(key - 48);
                        if (96 <= key && key < 106) {
                            mathKey=String(key - 96);
                        if (mathKey) {
                            if (newLesson) {
                                newLesson = false;
                                lesson.intro.text="";
                                newNumber();
                            } else {
                                if (! answered) {
                                    if (answerSoFar.length < subquanAnswer.length) {// Don't already have correct or incorrect answer
                                        answerSoFar+= mathKey;
                                        lesson.answer.text=answerSoFar;
                                    } else {// Have answer but want to change numbers
                                        answerSign=true;
                                        answerSoFar=mathKey;
                                        lesson.answer.text=answerSoFar;
                                        lesson.grade.text="";
                                    if (answerSoFar.length == subquanAnswer.length) {
                                        if (answerSoFar == subquanAnswer && answerSign == subquanAnswerSign) {// Correct Answer
                                            numberTimes[num]+= getTimer() - checkTime;
                                            lesson.hint.text="";
                                            sounds.playAnswer();
                                            answered=true;// Prevent accidental overwrite of sleepID from rapid key presses
                                            clearInterval(hintID);
                                            clearInterval(sleepID);
                                            sleepID=setInterval(wakeUp,2000);
                                            lesson.grade.text=" CORRECT";
                                            lesson.grade.setTextFormat(lesson.correctAnswerFormat);
                                            if (questions) {
                                                stage.removeChild(questions);
                                            // TEMPLATE: Quantity(num:Number, newBase:Number, normalization:Number=1, scale:Number=1, dim:String="null")
                                            iterations -= 1;
                                            if (iterations) {
                                                questions=new Quantity(iterations,10,1,0.25,"x");
                                                stage.addChild(questions);
                                                questions.x = rightEdge - 30;
                                                questions.y = 80;
                                        } else {
                                            errors[num] += 1;
                                            lesson.grade.text=" INCORRECT";
                                            lesson.grade.setTextFormat(lesson.incorrectAnswerFormat);
                                } else {
                                    trace("Lesson1.keyDownFunc: Unnecessary number key entered");
                        } else {
                            trace("Lesson1.keyDownFunc: Unused keycode " + key + " is " + String.fromCharCode(key));

  • L3-MPLS VPN Convergence

    Perhaps someone on this group can identify the missing timers/processing-delays in end-to-end client route convergence
    Scenarios:
    a) BGP New route Advertised by Cleint(CPE1)
    b) BGP Route withdrawn by Client(CPE1)
    PE-to-RR i-M-BGP (Logical)
    ========= ----RR------ ======
    " | | "
    CPE1---->PE1------->P1-------->P2---->PE2----->CPE2
    | |
    --------->P3-------->P4-------
    Routing:
    - eBGP btw CPE and PE (any routing prot within Cust site),
    - OSPF, LDP in Core,
    Timers/Steps I'm aware of:
    - Advertisement of routes from CE to PE and placement into VRF
    - Propagation of routes across the MPLS VPN backbone
    - Import process of these routes into relevant VRFs
    - Advertisement of VRF routes to attached VPN sites
    - BGP advertisement-interval: Default = 5 seconds for iBGP, 30 for eBGP
    - BGP Import Process: Default = 15 seconds
    - BGP Scanner Process Default = 60 seconds
    Would appreciate if you someone can identify any missing process-delay, timers? specially w.r.t RR.
    Thanks
    SH

    Check the LDP/TDP timers in the core. Remember if a link fails in the core, reroute occurs, LDP/TDP binding needs to be renewed. tags are binded on those routes being in the routing table (IGP). So, there is a delay possible from a core prespective:
    mpls ldp holdtime
    mpls ldp discovery hello [holdtime | interval]
    In case you are using TE check these:
    mpls traffic-eng topology holddown
    mpls traffic-eng signalling forwarding sync
    mpls traffic-eng fast-reroute timers promotion
    I believe the latter one onyl applies to SDH. In which you use segment loss feature.
    Regards,
    Frank

  • Waiting without events structures

    Plataform: PXI-SCXI
    Software: Labview 8.6
    OS: Linux Mandriva 2006 (necessary)
    1- Have some problem in structure in attached?
    2- Is possible that max time interval exceed 15 seconds?
    3- If item 2 do occurs, what can be?
    4- What other structure can i use?
    Leonardo de S. Cavadas
    Maintenance Engineer and Inspection - Bureau Veritas do Brasil
    Engineer Metallurgist with emphasis in Advanced Materials
    Technologist in Computer Science
    Attachments:
    time.vi ‏9 KB

    I am not sure what you are trying to accomplish.  You have a 15 second wait for every iteration of the while loop.
    So the flow is:
    Wait 15 seconds while simultaneously waiting additive of 9 seconds in your sequence.
    If you want to wait 15 seconds PRIOR to the sequence structure, then take the output of the total time to wait, wait primitive and wire that to your sequence.
    your total time is always going to be about 9 seconds because the sequence finishes executing BEFORE the initial 15 seconds expires.
    I have added code, see attached pic that looks at the total inner loop time.
    Paul <--Always Learning!!!
    sense and simplicity.
    Browse my sample VIs?

  • Some of my rotation animation is stepping at about one degree increments instead of tweening smoothly.  I'm using classic tweening.  I see that if I select the whole interval and use F6 to convert every tween frame to a key and then select the object at t

    Some of my rotation animation is stepping at about one degree increments instead of tweening smoothly.  I'm using classic tweening.  I see that if I select the whole interval and use F6 to convert every tween frame to a key and then select the object at the different frames, that I see under transform that the skew values are changes from frame to frame aroung that same one degree range.  Is there a solution to this?

    Some of my rotation animation is stepping at about one degree increments instead of tweening smoothly.  I'm using classic tweening.  I see that if I select the whole interval and use F6 to convert every tween frame to a key and then select the object at the different frames, that I see under transform that the skew values are changes from frame to frame aroung that same one degree range.  Is there a solution to this?

  • User Exit - Purchase Order Create - Payment Exceeded

    Hello All,
    When i will to save the PO, i need to check payment budget.
    I'm using the User Exit MM06E005/EXIT_SAPMM06E_012.
    But when the error is about payment budget exceeded, the message is displayed before the program enter in the user exit. So, i can't check because the program do not enter in User exit.
    How can i solve it?
    Thanks

    Hi ,
    If  ur craeting a accout assigned PO and ur getting the message caled , payment budget exceeded , then it means that,
    that account which ur assigning has got some limit of Rs.
    But ur total amount of PO is exceeding the limit and basically it s a functional issue, but if u want to ceck the exit for ur case then , what u can do is u craete a po whose total amount is less than that account limit.
    Even i was facing the same problem, so what i did i try to crate a po with only one line item and qty 2 with price 100 Rs only , and that error will not come and u can chk ur exit smoothly.
    If u face any problem , pls ask if i can reply u
    Regards

  • More on "maximum open cursors exceeded"

    It seems a lot of people have been seeing this error message, but reading through the posts on the topic hasn't given me any new insight on the problem. Here's an account of my particular situation:
    I am using the XSQL servlet, v.1.0.0.0 with the thin jdbc driver v.1.x. The servlet is running within an Apache server (1.3.12) on a Linux box, and the Oracle database (8.1.5) is located on a Solaris 2.6 machine.
    The servlet accepts HTTP connections, performs the corresponding SQL queries and returns the output from the database to the HTTP client. Here's a simple example:
    (Sorry about potential bad line breaks.)
    client request:
    % telnet xsql-host.some.domain 80
    Trying xxx.xxx.xxx.xxx
    Connected to xsql-host.some.domain.
    GET /xsql/test/listall.xsql
    <server response here>
    listall.xsql:
    <?xml version="1.0"?>
    <page connection="boss" xmlns:xsql="urn:oracle-xsql">
    <accounts>
    <xsql:query tag-case="lower" rowset-element="" row-element="accountinfo">
    select * from test
    </xsql:query>
    </accounts>
    </page>
    Very simple stuff indeed. Now, this has worked perfectly for 3 weeks or so. During this period, the xsql servlet has been stopped and restarted numerous times and the machine hosting the database has been rebooted at least three times. Then, for no apparent reason (as nothing had changed in the setup described above), I started getting "maximum open cursors exceeded" on every request. Since then, I have been unable to get the system working as it had up until now. I haven't restarted the database and I would like to avoid doing so, because that would not be a valid solution for us if the problem reappeared in production. The maximum open cursors setting in Oracle should be correct, since things were running smoothly before.
    From what I can see, the problem could be with the servlet not closing its cursors. One post mentioned that it did, but I would appreciate it if this could be double-checked. Considering the database is the only portion of the system which has been kept running for extended periods of time, it seems to me that this might indeed be the problem.
    Confirmation, workarounds, suggestions, patches, or a consolation box of chocolates would all be appreciated.
    Thanks,
    - Fad
    ([email protected])
    null

    Check which process is making all the cursors on which database. If it is your procedure, try explicitly closing the cursors. I think the cursors are only implicitely closed after the transaction is ended. If you loop and open a cursor within the loop, that might be the problem.
    I also had this problem with Java working over a JDBC connection some time ago on a 815 database. If I recall correctly, that was caused by the JDBC driver and fixed by replacing it with a JDBC driver of 9i.
    The following script is what I used previously in a program that can draw a graph from the results. It is ugly, but does the job.
    Hope this helps,
    L.
    select
      'max cursors',
      to_number(value)
    from
      v$parameter
    where
      name = 'open_cursors'
    union
    select
      substr(lower(username),1,10)||'('||substr(to_char(ses.sid)||','
      ||to_char(serial#),1,9)||')',
      s.value
    from
      v$sesstat s,
      v$statname n,
      v$session ses
    where
    s.statistic#=n.statistic#
    and ses.sid=s.sid
    and n.name like '%cursor%'
    and n.name like '%current%'
    and not (ses.sid between 1 and 6)

  • Problem when summery the data type of interval day to second

    hi
    i write a program calculate periods of time and summary it then i used interval day to second data type
    oracle support basic 4 math operation (+,-,*,/) on interval
    but although oracle does not support summary function like sum() ,avg(),count()!! this is a problem here
    the walkaround it by use oracle data cartdrage advanced future like follows steps :
    *1- i create type and i call it for ex: DAY_TO_SECOND_SUM_TYPE*
    CREATE OR REPLACE  DAY_TO_SECOND_SUM_TYPE    /*TYPE                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        as object
    +(TOTAL INTERVAL day to SECOND , /* type header*/+
    STATIC FUNCTION ODCIAggregateInitialize(SCTX IN OUT DAY_TO_SECOND_SUM_TYPE) return number,
    member function ODCIAggregateIterate( self in out DAY_TO_SECOND_SUM_TYPE,value in interval  day to second) return number,
    member function ODCIAggregateTerminate(self in DAY_TO_SECOND_SUM_TYPE,returnvalue out interval day to second , flags in number) return number,
    member function ODCIAggregateMerge(self in out DAY_TO_SECOND_SUM_TYPE,ctx2 in DAY_TO_SECOND_SUM_TYPE) return number
    +)+
    +/+
    CREATE OR REPLACE TYPE "DAY_TO_SECOND_SUM_TYPE"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            as object
    +(TOTAL INTERVAL day to SECOND ,+
    STATIC FUNCTION ODCIAggregateInitialize(SCTX IN OUT DAY_TO_SECOND_SUM_TYPE) return number,
    member function ODCIAggregateIterate( self in out DAY_TO_SECOND_SUM_TYPE,value in interval  day to second) return number,
    member function ODCIAggregateTerminate(self in DAY_TO_SECOND_SUM_TYPE,returnvalue out interval day to second , flags in number) return number,
    member function ODCIAggregateMerge(self in out DAY_TO_SECOND_SUM_TYPE,ctx2 in DAY_TO_SECOND_SUM_TYPE) return number
    +)+
    create or replace type body DAY_TO_SECOND_SUM_TYPE as /* type body*/
    static function ODCIAggregateInitialize(sctx in out DAY_TO_SECOND_SUM_TYPE) return number is
    begin
    sctx := DAY_TO_SECOND_SUM_TYPE(numtodsinterval(0,'second'));
    return odciconst.Success;
    end;
    member function ODCIAggregateIterate( self in out DAY_TO_SECOND_SUM_TYPE,value in interval  day to second) return number is
    begin
    self.total := self.total value;+
    return odciconst.Success;
    end ;
    member function ODCIAggregateTerminate(self in DAY_TO_SECOND_SUM_TYPE,returnvalue out interval day to second , flags in number) return number is
    begin
    returnvalue := self.total;
    return odciconst.Success;
    end;
    member function ODCIAggregateMerge(self in out DAY_TO_SECOND_SUM_TYPE,ctx2 in DAY_TO_SECOND_SUM_TYPE) return number is
    begin
    self.total := self.total ctx2.total;+
    return odciconst.Success;
    end;
    end;
    +/+
    *2- i create artificial function to summary using that type let as called for ex: ds_sum as follows :*
    create or replace function ds_sum( input interval day to second   ) return interval day to second
    parallel_enable aggregate
    using DAY_TO_SECOND_SUM_TYPE
    +/+
    at last i used the function to summary intervals and its work so good but when the result of calculated summary value exceed the default precision of interval : INTERVAL DAY(2) TO SECOND(6)
    i get an error :
    ORA-01873 the leading precision of the interval is too small
    Cause: The leading precision of the interval is too small to store the specified
    interval .
    Action: Increase the leading precision of the interval or specify an interval with
    a smaller leading precision
    although i can determine the precision of interval the declaration of the new type to maximum like :
    +...........+
    CREATE OR REPLACE TYPE "DAY_TO_SECOND_SUM_TYPE"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            as object
    +(TOTAL INTERVAL day(9) to SECOND(6) ...........+
    +.......................+
    but the problem remain (in fact the error move from one functions of type to another function )
    due i can't determine the precision of data type when i define function in PL/SQL it is illegal*
    HOW CAN I SOLVE THIS PROBLEM AND BE ABLE TO SUMMARY INTERVAL DATA TYPE WHAT EVER THE RESULT OF SUMMARY IS HUGE
    Edited by: user1193723 on Jun 18, 2009 4:35 AM
    Edited by: user1193723 on Jun 18, 2009 4:36 AM
    Edited by: user1193723 on Jun 18, 2009 4:37 AM
    Edited by: user1193723 on Jun 18, 2009 4:38 AM
    Edited by: user1193723 on Jun 18, 2009 4:38 AM
    Edited by: user1193723 on Jun 18, 2009 4:40 AM

    hi,
    Instead of 'interval day to second' in method declaration use internal datatype 'DSINTERVAL_UNCONSTRAINED'.
    There are more unconstrained types in oracle.
    Bartek

  • Smartform Activation[program "SAPLSUNI" has exceeded the permitted runtime]

    I was working on a smartform. For 2-3 Hrs it was working fine, whatever changes I was making were getting activated smoothly.
    Then, for some unknown reason the smatform stopped getting activated. Timeout dump is happening. But when we 'Check' the smatform, no error is coming. Still it is not getting activated.
    I checked another smarform & made some changes, activated....it got activated instantaneously. The function module of that smartform that it is showing in Environment -> Function Module Name ->  /1BCDWB/SF00000144
    But when we check SE37, it says no such module exists !!! Please help !!!!!!!!!!!!!!!!!!!!!!!
    Here is the dump :
    Runtime Errors         TIME_OUT
    Date and Time          01.06.2010 12:37:24
    Short text
         Time limit exceeded.
    What happened?
         The program "SAPLSUNI" has exceeded the maximum permitted runtime without
         interruption and has therefore been terminated.
    Error analysis
         After a specific time, the program is terminated to make the work area
         available to other users who may be waiting.
         This is to prevent a work area being blocked unnecessarily long by, for
         example:
         - Endless loops (DO, WHILE, ...),
         - Database accesses with a large result set
         - Database accesses without a suitable index (full table scan)
         The maximum runtime of a program is limited by the system profile
         parameter "rdisp/max_wprun_time". The current setting is 600 seconds. If this
          time limit is
         exceeded, the system attempts to cancel any running SQL statement or
         signals the ABAP processor to stop the running program. Then the system
         waits another 60 seconds maximum. If the program is then still active,
         the work process is restarted.
    Trigger Location of Runtime Error
        Program                                 SAPLSUNI
        Include                                 LSUNIU06
        Row                                     101
        Module type                             (FORM)
        Module Name                             DELETE_FUNCTION_POOL_INCLUDES
    Source Code Extract
    Line  SourceCde
       71
       72 ENDFUNCTION.
       73
       74 &----
       75 *&      Form  DELETE_FUNCTION_POOL_INCLUDES
       76 &----
       77 *       text
       78 ----
       79 *      -->P_AREA     text
       80 *      -->SKIP_PROGREtextND
       81 ----
       82 FORM delete_function_pool_includes USING    p_area
       83                                          skip_progress_ind.
       84   DATA: l_prog LIKE trdir-name,
       85         l_incl_uxx LIKE trdir-name,
       86         l_name LIKE streenode-name,
       87         l_object LIKE euobj-id,
       88         l_area LIKE rs38l-area,
       89         l_namespace LIKE rs38l-namespace.
       90
       91   CALL FUNCTION 'FUNCTION_INCLUDE_SPLIT'
       92     EXPORTING
       93       complete_area = p_area
       94     IMPORTING
       95       namespace     = l_namespace
       96       group         = l_area
       97     EXCEPTIONS
       98       OTHERS        = 6.
       99   CONCATENATE l_namespace 'SAPL' l_area INTO l_prog.
      100   CONCATENATE l_namespace 'L' l_area 'UXX' INTO l_incl_uxx.
    >>>>>   UPDATE progdir SET edtx = space WHERE name = l_incl_uxx AND state = 'A'.
      102
      103 * Hier Michael rufen
      104   CALL FUNCTION 'RS_DELETE_PROGRAM'
      105     EXPORTING
      106       program            = l_prog
      107       with_includes      = 'X'
      108       suppress_popup     = 'X'
      109       skip_progress_ind  = skip_progress_ind
      110     EXCEPTIONS
      111       enqueue_lock       = 1
      112       permission_failure = 2
      113       reject_deletion    = 3.
      114
      115   IF sy-subrc = 0.
      116     PERFORM ed_delete_function_pool_new(sapms38l)
      117                                     USING p_area
      118                                     CHANGING sy-subrc.
      119
      120     PERFORM delete_rest_of_group USING p_area.
    Edited by: ajaybachchas on Jun 1, 2010 9:23 AM

    Hey Guys,
    For some reason, the problem automatically got resolved. First I check STXFADMI table to find entry of the FM against that smartform. When I punched the FM name of the smartform in SE37, it repeatedly said "FM does not exist". But the entry for that FM is present in the STXFADMI table. Hence I started debugging SE37 after entering the FM name. To my surprise, at the end the FM was displayed !!! After that I went to the smartform & activated, again surprised....it got activated in a flash !!!
    Can anyway justify this mystery ?
    Ajay.

  • How to prevent BGP code 6 (Cease) subcode 6 (Other Configuration Change)

    Can anyone tell How to prevent BGP code 6 (Cease) subcode 6 (Other Configuration Change) ?
    We are facing frequent problem with this error. Please suggest how to stop this.... 
    Note :- We are using BGP VPN between this peers.
    Logs :
    Date/Time     : 2015-04-30 00:49:40+05:30
     State         : Up
     Date/Time     : 2015-04-30 00:39:05+05:30
     State         : Down
     Error Code    : 6(CEASE)
     Error Subcode : 6(Other Configuration Change)
     Notification  : Send Notification
     Date/Time     : 2015-04-29 18:22:11+05:30
     State         : Up
     Date/Time     : 2015-04-29 18:21:39+05:30
     State         : Down
     Error Code    : 6(CEASE)
     Error Subcode : 6(Other Configuration Change)
     Notification  : Send Notification

    on the same dates you mean the same request are posted in IT2001? ie both full days?
    Please clarify
    usually the Time collision checks are followed only via posting using report rptarqpost and not while applying through portal in ESS
    This is very strange you indicate
    SO you need to check the basic tables first
    You may need to check the collision.
    Collisions Tables V_T554Y and V_554Y_B reaction indicators.
    and V_T508A
    able T582A set to time constraint of "Z
    In backend Pa30 collision works like this
    1) the logical collision, checks if there is an overlap in the validity
    interval of the IT´s (begda, endda).
    2) the physical collision, checks if there is an overlap in the time
    interval of the IT's.
    In the logical collision it is checked if there is an overlap in the
    validity interval if at least one of the records is a full-day
    ( that is the case when you enter a Daily Work Schedule (DWS) )
    So when one of the records has a DWS it is considered to be a full day
    record and the logical collision is taken into consideration.
    If instead you enter the only the time interval manually the records
    are considered to be partial-day and the physical collision is
    performed. In that case only the time interval is important.
    So if the clock times are not entered the physical collision can not
    take place.
    The collision functionality is always based on clock times and dates,
    never on the total nr of hours.
    Edited by: Siddharth Rajora on Sep 21, 2011 4:57 PM

  • Scrubbing timeline with slider - how to smooth it out?

    I've created a simple slider to scrub through some frames of a MC named states.  Each frame has the same MC (states) just in a different color.
    I've setup the slider using
    slider.setSize(200,1);
    slider.maximum=states.totalFrames;
    slider.liveDragging=true;
    slider.addEventListener(Event.CHANGE,updatemc);
    function updatemc(e:Event){
        states.gotoAndStop(slider.value);
    I'd like the trainsition from one frame to the next to be smooth so that there is no blunt change when the frames change.  I can easily add a shapetween between frames which creates the smooth transition I am looking for but, I only want the slider to stop on the 5 main frames.  Can someone suggest how I'd accomplish this either through a code mod. or something on the timeline?
    Thanks in advance,
    Josh

    Can you view this?
    http://gagecartographics.com/flsh/
    I found out how to set my snap interval which helps.  I just need to smooth out the transition.  Hmm..  Something tells me I should not be doing this on the timeline but in my code.
    slider.setSize(200,1);
    slider.maximum=15;
    slider.liveDragging=true;
    slider.addEventListener(Event.CHANGE,updatemc);
    function updatemc(e:Event){
        states.gotoAndStop(slider.value);
        trace(slider.value);
    stop();
    var month:Array = ["December","January"];
    var day:Array = ["Monday","Tuesday","Wednesday","Thursday"];
    var date:Array=[10,11,12,13];
    datetext.text=day[1];
    slider.snapInterval=5;

Maybe you are looking for

  • Problem..with..spacebar..after..upgrading..to..10.4.10..and..install..X11

    (I..greatly..apologize..for..the..dottiness..of..this..message..but..I..cannot.. use..the..spacebar..long..enough..to..get..this..message..out) Help!..This..is..why..I..avoid..doing..the..automatic..upgrades..most..of..the time,..but..this..time..I..

  • Frustrating Lack of Preferences and Ability to Record

    Hello - I am trying to use my iSight Camera/Mic to record my voice in GB3. Although the iSight is connected and working, nothing happens in GB3 when I record. (It puts a region in the track, but there's no sound recorded.) When I tried to open prefer

  • Java serialization is slow in Solaris 10

    Hi, I'm think to migrate from Linux to Solaris 10, because of the better support for Java any many other things, but in the first test the java web application, we get a too slower response in Solaris, with a time of 03 minutes and 12 seconds for one

  • App iPhone MediaBurner

    I do not understand why Media Burner for iPhone does not work, for a long time that does not work, I bought this app for the iPhone in March and now I can not use it, what can I do, delete it?

  • PSE 10 Liquify filter

    Can not view image at full size when in liquify.  e.g. the image is much smaller when you select liquify and when you enlarge it it pixelates.  Is there a adjust or is something wrong with my Elements? Thanks!