To stop and then immediately start the Agent again, follow the instructions below.
Run the {color:#fd4703}{*}#cdp-agent{*}{color} command with the {color:#fd4703}{*}restart{*}{color} option:
{code}# /etc/init.d/cdp-agent restart{code}
{info:title=Note}If the CDP Agent is not running, the command starts it.{info}
*Return:*
{code}/etc/init.d/cdp-agent stop: cdp stopped
/etc/init.d/cdp-agent start: cdp started{code}
!27.png!
{anchor:startboot_htm}
For more information about the {color:#fd4703}{*}#cdp-agent{*}{color} command and its options see [cdp-agent].
{excerpt:hidden=true}Instructions on how to restart the Agent using Linux Agent CLI.{excerpt}
Run the {color:#fd4703}{*}#cdp-agent{*}{color} command with the {color:#fd4703}{*}restart{*}{color} option:
{code}# /etc/init.d/cdp-agent restart{code}
{info:title=Note}If the CDP Agent is not running, the command starts it.{info}
*Return:*
{code}/etc/init.d/cdp-agent stop: cdp stopped
/etc/init.d/cdp-agent start: cdp started{code}
!27.png!
{anchor:startboot_htm}
For more information about the {color:#fd4703}{*}#cdp-agent{*}{color} command and its options see [cdp-agent].
{excerpt:hidden=true}Instructions on how to restart the Agent using Linux Agent CLI.{excerpt}