Policies, Services, and Subscribers CLI
Policies, Services, and Subscribers CLI Overview
The Policies, Services, and Subscribers CLI is a part of the CLI that requires separate configuration. Before you can configure policies, services, and subscribers from the CLI, configure access to Policies, Services, and Subscribers CLI, and then enable it.
When you use the Policies, Services, and Subscribers CLI, ensure that only one user makes changes to the data at one time. If more than one user makes changes to the same configuration information for policies, services, or subscriptions, the software stores the first change to the data; subsequent changes are discarded.
You must not disable the Juniper Networks database (jdb component) when configuring policies with the Policies, Services, and Subscribers Editor.
Configuring Access to the Policies, Services, and Subscribers CLI
To make the Policies, Services, and Subscribers CLI accessible to users:
From configuration mode, access the [edit system services editor] hierarchy level.
[edit]user@host# edit system services editorSpecify the type of password encryption to be used.
[edit system services editor]user@host# password-encryption (crypt | md5 | sha | plain)where:
crypt—UNIX crypt, one-way encryption
md5—Message Digest 5 (MD5), a 128-bit message digest
sha—SHA message digest, a 160-bit message digest
plain—No encryption
Starting the Policies, Services, and Subscribers CLI
Before you start the Policies, Services, and Subscribers CLI, configure access to it.
See Configuring Access to the Policies, Services, and Subscribers CLI.
The Policies, Services, and Subscribers CLI lets you modify data shared by the instances of the SRC software that are running on a C Series Controller across the network.
To start the Policies, Services, and Subscribers CLI:
Enter the enable component command.
user@host> enable component editor
Configuring Directory Eventing for Policy Editor
Use the following configuration statements to configure directory eventing for the policy editor:
To configure directory eventing for the policy editor:
From configuration mode, access the [edit system services editor policy-editor] hierarchy level.
[edit]user@host# edit system services editor policy-editorEnable directory eventing for the policy editor to automatically discover the changes in the directory.
[edit system services editor policy-editor]user@host# set directory-eventing(Optional) Verify your configuration.
[edit system services editor policy-editor] user@host# show directory-eventing;