Junos OS

Expand all | Collapse all

information needed about erp-default log file

Jump to Best Answer
  • 1.  information needed about erp-default log file

    Posted 03-04-2019 06:16

    Hello,

    I came accross this log file on our EX Series switches. these log files mainly show entries such as below:

     

    Aug 7 12:00:19.029972 erp-normal: erp_handle_ifl_change: setting ifl ge-0/0/1.0 state UP -> DOWN
    Aug 7 12:24:25.744770 erp-normal: erp_handle_ifl_change: setting ifl ge-0/0/1.0 state DOWN -> UP
    Feb 19 16:33:45.353970 erp-normal: erp_handle_ifl_change: setting ifl ge-0/0/0.0 state UP -> DOWN
    Feb 19 16:33:47.808442 erp-normal: erp_handle_ifl_change: setting ifl ge-0/0/0.0 state DOWN -> UP
    Feb 19 16:33:52.082360 erp-normal: erp_handle_ifl_change: setting ifl ge-0/0/0.0 state UP -> DOWN
    Feb 19 16:33:58.211610 erp-normal: erp_handle_ifl_change: setting ifl ge-0/0/0.0 state DOWN -> UP
    Feb 19 16:33:58.528789 erp-normal: erp_handle_ifl_change: setting ifl ge-0/0/0.0 state UP -> DOWN
    Feb 19 16:34:08.014910 erp-normal: erp_handle_ifl_change: setting ifl ge-0/0/0.0 state DOWN -> UP
    Feb 19 17:06:36.845569 erp-normal: erp_handle_ifl_change: setting ifl ge-0/0/0.0 state UP -> DOWN
    Feb 19 17:06:39.312701 erp-normal: erp_handle_ifl_change: setting ifl ge-0/0/0.0 state DOWN -> UP
    Feb 19 17:26:51.880241 erp-normal: erp_cleanup: completed
    Feb 19 17:26:51.965369 erp-normal: erp_evaluate_new_pgs: 0 PGs are created
    Feb 19 17:26:51.988670 erp-normal: erp_evaluate_new_pgs: 0 PGs are created
    Feb 19 17:26:51.988874 erp-normal: erp_reinit: completed, erp_manager.erp_trace 0x5c50b4
    Feb 19 17:26:52.108203 erp-normal: erp_handle_ifl_change: ifl ge-0/0/2.0 state unchanged at DOWN
    Feb 19 17:26:52.147645 erp-normal: erp_handle_ifl_change: ifl ge-0/0/2.0 state unchanged at DOWN
    Feb 19 17:26:52.837259 erp-normal: erp_handle_ifl_change: ifl ge-0/0/2.0 state unchanged at DOWN
    Feb 19 17:26:52.934571 erp-normal: erp_ifl_notify: IFL ge-0/0/2.0 add - calling erp_eswd_add_ifl
    Feb 19 17:26:52.988567 erp-normal: erp_handle_ifl_change: ifl ge-0/0/2.0 state unchanged at DOWN
    Feb 19 17:27:28.894810 erp-normal: erp_cleanup: completed
    Feb 19 17:27:28.904338 erp-normal: erp_evaluate_new_pgs: 0 PGs are created
    Feb 19 17:27:28.908818 erp-normal: erp_evaluate_new_pgs: 0 PGs are created
    Feb 19 17:27:28.908990 erp-normal: erp_reinit: completed, erp_manager.erp_trace 0x5c50b4
    Feb 25 10:41:30.053378 erp-normal: erp_handle_ifl_change: setting ifl ge-0/0/0.0 state UP -> DOWN
    Feb 25 10:41:32.807234 erp-normal: erp_handle_ifl_change: setting ifl ge-0/0/0.0 state DOWN -> UP

    I do not have ANY erp-related config on these boxes, all of these switches have either vstp or rstp enabled. to paint a better picture, ge-0/0/0-2 in this example is a simple access port for a vlan facing a PC. I reviewed most of ERP related articles here but was not able to find anything on "show log erp-default" command, or anything about erp-default indeed. 

     

    Can someone clarify why I see these messages? What is this log file populated with by default (Please have in mind that I have NO erp-related config)? 

     

    Any help is appreciated. thanks 


    #erp
    #JUNOS
    #erp-default
    #EX


  • 2.  RE: information needed about erp-default log file

    Posted 03-06-2019 05:08

    bump.

    Any information on this topic is appreciated. 



  • 3.  RE: information needed about erp-default log file

     
    Posted 03-06-2019 05:48

    erp-default is default log file which is created under /var/log.

    I've done basic testing by disabling one of UP interface and can see log getting captured under the erp-default.

     

    root@EX2200> show interfaces terse | grep ge-
    ge-0/0/0 up up
    ge-0/0/0.0 up up eth-switch

    {master:0}
    root@EX2200> edit
    Entering configuration mode
    Users currently editing the configuration:
    root terminal u0 (pid 1326) on since 2017-12-21 11:51:58 UTC, idle 00:01:08
    {master:0}[edit]

    {master:0}[edit]
    root@EX2200# set interfaces ge-0/0/0 disable

    {master:0}[edit]
    root@EX2200# commit

    *** erp-default ***
    Dec 22 18:02:41.665098 erp-normal: erp_handle_ifl_change: setting ifl ge-0/0/0.0 state UP -> DOWN
    Dec 22 18:02:41.666148 erp-normal: erp_cleanup: completed
    Dec 22 18:02:41.700479 erp-normal: erp_evaluate_new_pgs: 0 PGs are created
    Dec 22 18:02:41.711124 erp-normal: erp_evaluate_new_pgs: 0 PGs are created
    Dec 22 18:02:41.711471 erp-normal: erp_reinit: completed, erp_manager.erp_trace 0x5c60b4
    configuration check succeeds
    commit complete



  • 4.  RE: information needed about erp-default log file

    Posted 03-06-2019 08:07

    Rnayar, Thank you for your assistance. so its just a default file for these sort of logs? eventhough it has nothing to do with ERP? is this even the same ERP (Ethernet ring Protection) that I know? is there a different topic/concept that goes by ERP?

     

    Thank you again for your help



  • 5.  RE: information needed about erp-default log file
    Best Answer

     
    Posted 03-06-2019 08:51

    Thats correct Ali.  Ethernet Ring Protection trace options are not set by default. On some EX Series switches, logging of basic ERPS state transitions is set by default. 

     

    root@EX2200# set protocol protection-group ?
    set protocols protection-group ?
    Possible completions:
    <[Enter]> Execute this command
    + apply-groups Groups from which to inherit configuration data
    + apply-groups-except Don't inherit configuration data from these groups
    > ethernet-ring Ethernet ring
    guard-interval Guard timer interval in 10ms steps (milliseconds)
    restore-interval Wait to restore interval (5..12 minutes)
    > traceoptions Tracing options for debugging protocol operation
    | Pipe through a command

     

    https://www.juniper.net/documentation/en_US/junos/topics/reference/configuration-statement/traceoptions-edit-ethernet-switching-options-qfx-series.html

     



  • 6.  RE: information needed about erp-default log file

    Posted 03-06-2019 09:35

    Thank you for the informaion.