cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
168
Views
0
Helpful
2
Replies
Highlighted

IOS XR ipsla logging issue


Issue Description:

I have created ipsla operation #20 which is icmp echo to a specific IP from a specific source under a vrf.

I have also created a react operation 20 to generate logging in case of timeout

 

However, as I deliberately generated timeout by disabling the destination IP Address, there was no logging seen in the show log results.

 

Is there any other configuration required to generate log. ?

 

Rotuer is ASR9K, IOS XR

Below is the example,

 

RP/0/RSP0/CPU0:LAB-CSO-ASR9k-R0#show run ipsla operation 20
Tue Dec  4 19:39:08.253 GMT
ipsla
 operation 20
  type icmp echo
   vrf customers
   source address 172.16.34.4
   destination address 10.162.96.4
  !
 !
!

RP/0/RSP0/CPU0:LAB-CSO-ASR9k-R0#show run ipsla react operation 20
Tue Dec  4 19:39:13.253 GMT
ipsla
 reaction operation 20
  react timeout
   action logging
  !
 !
!

RP/0/RSP0/CPU0:LAB-CSO-ASR9k-R0#show ipsla statistics 20
Tue Dec  4 19:39:23.824 GMT
Entry number: 20
    Modification time: 19:12:01.916 GMT Tue Dec 04 2018
    Start time       : 19:12:01.911 GMT Tue Dec 04 2018
    Number of operations attempted: 28
    Number of operations skipped  : 0
    Current seconds left in Life  : 1962
    Operational state of entry    : Active
    Operational frequency(seconds): 60
    Connection loss occurred      : FALSE
    Timeout occurred              : TRUE
    Latest RTT (milliseconds)     : Unknown
    Latest operation start time   : 19:39:02.116 GMT Tue Dec 04 2018
    Next operation start time     : 19:40:02.116 GMT Tue Dec 04 2018
    Latest operation return code  : TimeOut
    RTT Values:
      RTTAvg  : 0          RTTMin: 0          RTTMax : 0
      NumOfRTT: 0          RTTSum: 0          RTTSum2: 0

2 REPLIES 2
VIP Advisor

Re: IOS XR ipsla logging issue

just wondering - do you have Logging enable for the monitoring ?

BB
*** Rate All Helpful Responses ***

Re: IOS XR ipsla logging issue

Are you talking enabling logging specific to syslogs for eem or ipsla ?
I can see generic logs.

RP/0/RSP1/CPU0:Dec 5 10:53:27.640 : ce_switch_srv[54]: %PLATFORM-CE_SWITCH-6-UPDN : Interface 13 (SFP+_01_10GE) is up
RP/0/RSP0/CPU0:Dec 5 10:53:30.620 : ce_switch_srv[54]: %PLATFORM-CE_SWITCH-6-UPDN : Interface 13 (SFP+_01_10GE) is up
RP/0/RSP0/CPU0:Dec 5 10:53:31.365 : ce_switch_srv[54]: %PLATFORM-CE_SWITCH-6-UPDN : Interface 12 (SFP+_00_10GE) is up
RP/0/RSP0/CPU0:Dec 5 10:53:32.579 : ce_switch_srv[54]: %PLATFORM-UDLD-6-BIDIRECTIONAL : UDLD protocol detected bidirectional link on 0_RSP0_CPU0_13
RP/0/RSP1/CPU0:Dec 5 10:53:32.614 : ce_switch_srv[54]: %PLATFORM-UDLD-6-BIDIRECTIONAL : UDLD protocol detected bidirectional link on 0_RSP1_CPU0_13
RP/0/RSP1/CPU0:Dec 5 10:53:34.035 : ce_switch_srv[54]: %PLATFORM-CE_SWITCH-6-UPDN : Interface 12 (SFP+_00_10GE) is up
RP/0/RSP0/CPU0:Dec 5 10:53:35.171 : ce_switch_srv[54]: %PLATFORM-UDLD-6-BIDIRECTIONAL : UDLD protocol detected bidirectional link on 0_RSP0_CPU0_12
RP/0/RSP1/CPU0:Dec 5 10:53:35.180 : ce_switch_srv[54]: %PLATFORM-UDLD-6-BIDIRECTIONAL : UDLD protocol detected bidirectional link on 0_RSP1_CPU0_12
RP/0/RSP0/CPU0:Dec 5 10:59:29.229 : config[65908]: %MGBL-CONFIG-6-DB_COMMIT : Configuration committed by user 'sheikhi6'. Use 'show configuration commit changes 1000001679' to view the changes.
RP/0/RSP0/CPU0:Dec 5 10:59:30.862 : config[65908]: %MGBL-SYS-5-CONFIG_I : Configured from console by sheikhi6
RP/0/RSP0/CPU0:Bay_LAB-CSO-ASR9k-R0#show clock
Wed Dec 5 11:04:00.642 GMT
11:04:00.648 GMT Wed Dec 05 2018
RP/0/RSP0/CPU0:LAB-CSO-ASR9k-R0#
CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards