[j-nsp] I have got a problem

Phil Shafer phil@juniper.net
Mon, 02 Dec 2002 11:31:32 -0500


Todd Regonini writes:
>user@host# set system services xnm-clear-text
>Then commit the changes.  The 'activate' command has a whole other use.

Yup, the activate doesn't activate the service, it activates the
statement in the configuration database.  'activate' and 'deactivate'
provide a mechanism to effectively comment out portions of the
configuration without permanently removing them from the configuration
file. The deactivate command marks a statement/hierarchy as inactive,
causes the statement to be completely hidden from the rest of JUNOS.
The UI displays the statement prefixed with an 'inactive:' tag:

    inactive: user phil {
        full-name "Phil Shafer";
        ....
    }

The 'activate' command just clears the inactive flag, but requires
that the statement already exist.

Hope this helps...

Thanks,
 Phil