View Source

To stop the running CDP Agent, follow the instructions below.

1. Run the {color:#fd4703}{*}#cdp-agent{*}{color} command using the {color:#fd4703}{*}stop{*}{color} option:

{code}# /etc/init.d/cdp-agent stop{code}

*Return:*

{code}/etc/init.d/cdp-agent stop: cdp stopped{code}

!25.png!

2. Verify the Agent's status using the {color:#fd4703}{*}status{*}{color} option of the same command:

{code}# /etc/init.d/cdp-agent status{code}

*Return:*

You should now receive a message that the Agent is not running.

{code}/etc/init.d/cdp-agent status: cdp (no pid file) not running{code}

!26.png!

For more information about the {color:#fd4703}{*}#cdp-agent{*}{color} command and its options see [cdp-agent].

{excerpt:hidden=true}Instructions on how to stop the Agent using Linux Agent CLI.{excerpt}