A network engineer is troubleshooting an intermittent BGP session failure between two routers. The BGP session drops every few hours and recovers after a few seconds. The engineer checks the logs and sees that an EEM applet is triggered just before each failure. The applet is configured to run a script that clears the BGP session when a specific syslog message is generated. What is the most likely cause of the BGP session failure?
Trap 1: The BGP session is failing due to a physical layer issue.
Incorrect because the logs show the EEM applet is triggered just before each failure, pointing to the applet as the cause, not a physical issue.
Trap 2: The BGP session is failing due to a routing loop.
Incorrect because a routing loop would not cause a session to drop and recover within seconds; the EEM trigger is the more direct cause.
Trap 3: The EEM applet is causing a memory leak that crashes the BGP…
Incorrect because the session recovers quickly, which is inconsistent with a process crash; the applet's clear action is the likely cause.
- A
The BGP session is failing due to a physical layer issue.
Why wrong: Incorrect because the logs show the EEM applet is triggered just before each failure, pointing to the applet as the cause, not a physical issue.
- B
The EEM applet is clearing the BGP session as part of its configured action.
Correct because the applet's action to clear the BGP session directly causes the session failure when triggered.
- C
The BGP session is failing due to a routing loop.
Why wrong: Incorrect because a routing loop would not cause a session to drop and recover within seconds; the EEM trigger is the more direct cause.
- D
The EEM applet is causing a memory leak that crashes the BGP process.
Why wrong: Incorrect because the session recovers quickly, which is inconsistent with a process crash; the applet's clear action is the likely cause.