You can modify targeted session parameters without shutting down entities. However, for any LDP timers (hello or keepalive timers), the changes do not take effect until a shutdown or no shutdown command is performed on the LDP session.
The no form of a targeted-session parameter command reverts modified values back to the default.
The following example displays the CLI syntax to revert targeted session parameters back to the default values.
config>router# ldp
config>router>ldp# targeted-session
config>router>ldp>targeted#
no disable-targeted-session
config>router>ldp>targeted#
no hello
config>router>ldp>targeted#
no keepalive
config>router>ldp>targeted#
shutdown
config>router>ldp>targeted#
no shutdown
config>router>ldp>targeted#
no peer 10.10.10.99
The following example displays the default value output.
ALU-1>config>router>ldp>targeted# info detail
----------------------------------------------
no disable-targeted-session
hello 45 3
keepalive 40 4
----------------------------------------------
ALU-1>config>router>ldp>targeted#