show running-config
command output for agents and scripts
Built-in scripts are not included in the output of the
show running-config
command.
A built-in agent is included in the output of the
show running-config
command only if one or more of the agent parameters has been modified and saved.
User-created scripts and agents are included in the output of the
show running-config
command.
The output of the
show running-config
command includes the following information for scripts and agents:
The name of the script.
The value of the
expert_only
parameter. Typically, this parameter has a value offalse
.The script code in base64 format.
The name of the agent.
The value of the
enabled
parameter.The name of each agent parameter, followed by its value in base64 format.
The following example shows the output of
show running-config
for a user-created NAE script and one agent that monitors a route count. The name of the script is:
route_count_monitor
. The name of the agent is:
route_count_instance1
.
The entire script is returned in base64 format. Because of the length of the script, the example shows only part of the script.
switch# show running-config
...
nae-script route_count_monitor false IyAtKi0gY29kaW5nOiB1dGYtOCAtK
i0NCiMNCiMgQ29weXJpZ2h0IChjKSAyMDE3IEhld2xldHQgUGFja2FyZCBFbnRlcnB
...
yaXNlIERldmVsb3BtZW50IExQDQojDQojIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFja
nae-agent route_count_monitor route_count_instance1 false upper_co
unt_threshold:MTAwMDA= vrf_name:ZGVmYXVsdA== lower_count_threshold
:OTUwMA==
...