[Contents] [Prev] [Next] [Index] [Report an Error]

Configuring the Network Publisher

To configure the network publisher, complete the following tasks:

  1. Configuring Local Configuration for the Network Publisher
  2. Configuring Connections Between JUNOS Routing Platforms and the Network Publisher
  3. Configuring Router Authentication for the Network Publisher
  4. Configuring Routing Table Filters for the Network Publisher
  5. Configuring the Connection Between the Network Publisher and the Juniper Networks Database

Configuring Local Configuration for the Network Publisher

You configure the network publisher for a slot. There is no shared configuration for the network publisher.

Use the following configuration statements to configure the basic local configuration for the network publisher:

slot number network-publisher logger logger-name file {
filter filter;
filename filename;
rollover-filename rollover-filename;
maximum-file-size maximum-file-size;
}
slot number network-publisher logger logger-name syslog {
filter filter;
hostname hostname;
facility facility;
format format;
}

To set up the basic configuration for the network publisher:

  1. From configuration mode, access the configuration statement that specifies the configuration for the network publisher for a slot.
  2. Configure logging for the network publisher as you do for other SRC components.

Configuring Connections Between JUNOS Routing Platforms and the Network Publisher

The network publisher connects to the JUNOScript server on a JUNOS routing platform. You can configure connection information for a group of JUNOS routers that use the same version of JUNOScript, and configure information for JUNOS routing platforms that use a different version.

Use the following configuration statements to configure connection information to allow the network publisher to connect to JUNOS routing platforms:

slot number network-publisher routers {
router-release-number router-release-number;
router-script-version router-script-version;
}
slot number network-publisher routers router router-name {
router-address router-address;
router-release-number router-release-number;
router-script-version router-script-version;
}

To configure JUNOScript connection information for the network publisher to connect to JUNOS routing platforms:

  1. From configuration mode, access the configuration statement that specifies the configuration for the network publisher for a slot.
  2. Specify the release number of the JUNOS software running on the devices.
  3. (Optional) Specify the version of JUNOScript running on the JUNOS routing platforms.
  4. (Optional) Configure connection information for JUNOS routing platforms that use a different version of the JUNOS to JUNOScript software.
    1. Specify the router name of the router that uses a different version of the software.
        [edit slot 0 network-publisher routers]
        user@host# set router my-router
    2. Configure the IP address of the router.
        [edit slot 0 network-publisher routers router my-router]
        user@host# set router address 10.10.4..4
    3. Specify the release number of the JUNOS software running on the devices.
        [edit slot 0 network-publisher routers router my-router]
        user@host# set router-release-number 8.5R2
    4. Specify the version of JUNOScript running on the JUNOS routing platforms.
        [edit slot 0 network-publisher routers router my-router]
        user@host# set router-script-version 1.0

Configuring Router Authentication for the Network Publisher

You can configure connection authentication information for a group of JUNOS routing platforms that use the same authentication information, and configure information for JUNOS routing platforms that use a different username and password.

Note: For the network publisher to access JUNOS routing platforms, configure authentication for all devices or for each specific device.

Use the following configuration statements to configure connection authentication information to allow the network publisher to connect to JUNOS routing platforms:

slot number network-publisher routers authentication {
login-name login-name;
credentials credentials;
protocol protocol;
}
slot number network-publisher routers router router-name authentication {
login-name login-name;
credentials credentials;
protocol protocol;
}

To configure authentication information for the network publisher to connect to JUNOS routing platforms:

  1. From configuration mode, access the configuration statement that specifies the configuration for router authentication.
  2. Specify the release number of the JUNOS software running on the devices.
  3. Specify the protocol to connect to the JUNOS routing platform. We recommend that you use SSH.
  4. Specify the username to log into the JUNOS software.
  5. Specify the password for the username.
  6. (Optional) Configure authentication information for JUNOS routing platforms that use different authentication information.
    1. Specify the router name.
        [edit slot 0 network-publisher routers]
        user@host# edit router my-router authentication
    2. Specify the username to log into the JUNOS software.
        [edit slot 0 network-publisher routers router my-router authentication]
        user@host# set login-name Bee-C
    3. Specify the password for the username.
        [edit slot 0 network-publisher routers router my-router authentication]
        user@host# set credentials credentials

Configuring Routing Table Filters for the Network Publisher

The network publisher can collect information from JUNOS IPv4 and IPv6 routing tables. Specify which routing tables the network publisher should include to meet the requirements of your application that uses the NIC OnePopStaticRouteIp or OnePopVrfIp configuration scenario.

By default, the network publisher collects information from all IPv4 routing tables, including tables for VPNs, and entries for all protocols. Based on your network configuration, consider which protocols to exclude from the configuration for network publisher.

Use the following configuration statements to identify the routing tables and routing table elements from which to collect information for the network publisher:

slot number network-publisher select {
route-table-filter route-table-filter ;
route-entry-filter route-entry-filter ;
}

To specify the routing tables from which the network publisher collects information:

  1. From configuration mode, access the configuration statement that specifies the configuration for the IPv4 and IPv6 routing tables from which the network publisher is to collect information.
  2. Specify the routing table from which the network publisher collects information:

    For example, to select only IPv6 tables:

    You can use regular expressions to identify routing tables.

  3. Specify the element(s) in a routing table:

    For example, to select only those entries that pertain to OSPF advertisements:

Configuring the Connection Between the Network Publisher and the Juniper Networks Database

Configure the connection properties that the network publisher uses to connect to the Juniper Networks database. The network publisher can then store information about routing tables from JUNOS routing platforms in the Juniper Networks database.

Use the following configuration statements to configure the connection information that the network publisher uses to connect to the Juniper Networks database:

slot number network-publisher directory-connection {
url url;
principal principal;
credentials credentials;
base-dn base-dn;
}

To configure connection information for the Juniper Networks database:

  1. From configuration mode, access the configuration statement that specifies the configuration for router authentication.
  2. Specify the URL of the primary Juniper Networks database.
  3. Specify the distinguished name (DN) that defines the username with which the network publisher accesses the Juniper Networks database, for example cn = umcadmin, o= umc.
  4. Specify the password with which the network publisher accesses the Juniper Networks database; for example:
  5. (Optional) Specify the DN of the subtree in the database that stores the router data; for example o = Network, o = umc:

[Contents] [Prev] [Next] [Index] [Report an Error]