If you are adding a Juniper Networks database to an existing community, see Adding a Juniper Networks Database to an Established Community(SRC CLI) .
Use the following configuration statements to enable the Juniper Networks database on a C-series Controller in community mode:
- system ldap server community {
- role (primary | secondary);
- primary-neighbors [primary-neighbor...];
- secondary-neighbors [secondary-neighbor...];
- }
To enable the Juniper Networks database to run in community mode:
-
user@host# edit system ldap server
community
-
[edit system ldap server community]
-
user@host# set role primary
or
-
[edit system ldap server community]
-
user@host# set role secondary
-
[edit system ldap server community]
-
user@host# set primary-neighbors neighbor ...
For example, set C1 and C2 as primary neighbors:
-
[edit system ldap server community]
user@host# set primary-neighbors C1 C2
-
[edit system ldap server community]
-
user@host# set secondary-neighbors neighbor ...
For example, set C3 and C4 as secondary neighbors:
-
[edit system ldap server community]
user@host# set secondary-neighbors C3 C4