i
Contents
Configuring GOLD ························································································· 1
About GOLD······················································································································································· 1
Types of GOLD diagnostics ······················································································································· 1
GOLD diagnostic tests ······························································································································· 1
GOLD tasks at a glance ····································································································································· 1
Displaying test content ······································································································································· 1
Configuring monitoring diagnostics ···················································································································· 2
Configuring on-demand diagnostics··················································································································· 2
Simulating diagnostic tests································································································································· 3
Configuring GOLD logs ······································································································································ 3
About GOLD logs ······································································································································· 3
Configuring the log buffer size ··················································································································· 4
Displaying GOLD logs ································································································································ 4
Clearing GOLD logs ··································································································································· 4
Verifying test results and statistics for packet-related tests ··············································································· 4
Clearing test results ··········································································································································· 4
GOLD configuration examples ··························································································································· 4
Example: Configuring GOLD ······················································································································ 4
Configuring EAA ···························································································· 7
About EAA·························································································································································· 7
EAA framework ·········································································································································· 7
Elements in a monitor policy ······················································································································ 8
EAA environment variables ························································································································ 9
Configuring a user-defined EAA environment variable ···················································································· 10
Configuring a monitor policy····························································································································· 11
Restrictions and guidelines ······················································································································ 11
Configuring a monitor policy from the CLI ································································································ 11
Configuring a monitor policy by using Tcl ································································································ 13
Suspending monitor policies ···························································································································· 14
Verifying and maintaining EAA ························································································································ 14
EAA configuration examples ···························································································································· 14
Example: Configuring a CLI event monitor policy by using Tcl ································································ 14
Example: Configuring a CLI event monitor policy from the CLI ······························································· 15
Example: Configuring a track event monitor policy from the CLI ····························································· 16
Example: Configuring a CLI event monitor policy with EAA environment variables from the CLI ············ 18
Configuring diagnostic troubleshooting ························································ 20
About diagnostic troubleshooting ····················································································································· 20
Mechanism ······················································································································································· 20
Tests and test items ································································································································· 20
Overview ·················································································································································· 21
Diagnostic troubleshooting based on history data ··················································································· 21
Diagnostic troubleshooting based on running data ·················································································· 22
Diagnostic troubleshooting based on history or running data ·································································· 23
Diagnostic troubleshooting based on the results of one-time actions ······················································ 23
Service modules that support diagnostic troubleshooting ················································································ 23
Diagnostic troubleshooting tasks at a glance ··································································································· 24
Configuring CPU diagnostic troubleshooting ··································································································· 24
Configuring diagnostic troubleshooting for CPU usage threshold exceeding events······························· 24
Configuring diagnostic troubleshooting for CPU overload events ···························································· 24
Configuring memory diagnostic troubleshooting ······························································································ 25
Configuring diagnostic troubleshooting for insufficient free memory events ············································ 25
Configuring diagnostic troubleshooting for memory overload events ······················································ 25
Configuring LDP diagnostic troubleshooting ···································································································· 26
Configuring health diagnostic troubleshooting for the LDP module ························································· 26
Configuring diagnostic troubleshooting for LDP session setup failure events ········································· 27