> - Downloads
> - Specifying Connections to CMTS Devices
> - Related Topics
> - Specifying Connections to CMTS Devices (C-Web Interface)
> - Specifying Connections to the Application Managers
> - Viewing JPS State
> - Viewing JPS CMTS Connections with the C-Web Interface

> # Specifying Connections to CMTS Devices

> Use the following configuration statement to configure the policy server–to–CMTS interface (PKT-MM2) so that the policy server can communicate with CMTS devices:

> `
> slot number jps cmts-interface {
>   cmts-addresses [cmts-addresses...];
>   keepalive-interval keepalive-interval;
>   synch-despite-unreachable-pep;
>   synch-despite-pre-i03-pep;
>   use-ssq-ssc-with-pre-i03-pep;
>   local-address local-address;
>   message-max-length message-max-length;
>   message-read-buffer-size message-read-buffer-size;
>   message-write-buffer-size message-write-buffer-size;
>   open-connection-timeout open-connection-timeout;
>   connection-open-retry-interval connection-open-retry-interval;
>   sent-message-timeout sent-message-timeout;
>   validate-pcmm-objects;
> }
> `

> To configure the policy server–to–CMTS interface:

> 1. From configuration mode, access the configuration statement that configures the policy server–to–CMTS interface.
>    `
>    user@host# edit slot 0 jps cmts-interface
>    `
> 2. Specify the IP addresses of all the CMTS devices to which the JPS will try to connect.
>    `
>    [edit slot 0 jps cmts-interface]
>    user@host# set cmts-addresses [cmts-addresses...]
>    `
> 3. (Optional) Specify the interval between keepalive messages sent from the COPS client (CMTS device) to the COPS server (the JPS). Changes apply only to COPS connections that are established after you make the change.
>    `
>    [edit slot 0 jps cmts-interface]
>    user@host# set keepalive-interval keepalive-interval
>    `

>    A value of 0 means that no keepalive messages will be exchanged between the CMTS device and the JPS.

> 4. (Optional) Specify whether synchronization proceeds when the JPS receives a synchronization request from an application manager (such as the SAE) and the JPS is not connected to a CMTS device to which it should be connected.
>    `
>    [edit slot 0 jps cmts-interface]
>    user@host# set synch-despite-unreachable-pep
>    `
> 5. (Optional) Specify whether synchronization proceeds when the JPS receives a synchronization request from an application manager (such as the SAE) and the JPS is connected to a pre-PCMM I03 CMTS device.
>    `
>    [edit slot 0 jps cmts-interface]
>    user@host# set synch-despite-pre-i03-pep
>    `
> 6. (Optional) Specify whether synchronization includes both pre-PCMM I03 and PCMM I03 CMTS devices when the JPS receives a synchronization request from an application manager (such as the SAE) and the JPS is connected to a pre-PCMM I03 CMTS device. Relevant only when at least one pre-PCMM I03 CMTS device is connected and sync-despite-pre-i03-pep is specified as true.
>    `
>    [edit slot 0 jps cmts-interface]
>    user@host# set use-ssq-ssc-with-pre-i03-pep
>    `
> 7. (Optional) Specify the source IP address that the JPS uses to communicate with CMTS devices.
>    `
>    [edit slot 0 jps cmts-interface]
>    user@host# set local-address local-address
>    `

>    If no value is specified and there is more than one local address, a random local address is used as the source address.

> 8. (Optional) Specify the maximum length of incoming messages.
>    `
>    [edit slot 0 jps cmts-interface]
>    user@host# set message-max-length message-max-length
>    `
> 9. (Optional) Specify the size of message read buffer.
>    `
>    [edit slot 0 jps cmts-interface]
>    user@host# set message-read-buffer-size message-read-buffer-size
>    `
> 10. (Optional) Specify the size of message write buffer.
>     `
>     [edit slot 0 jps cmts-interface]
>     user@host# set message-write-buffer-size message-write-buffer-size
>     `
> 11. (Optional) Specify the maximum time to wait for the initial PCMM messages to be exchanged after a TCP connection is established.
>     `
>     [edit slot 0 jps cmts-interface]
>     user@host# set open-connection-timeout open-connection-timeout
>     `

>     The connection is dropped when initial PCMM messages are not exchanged within this time period.

> 12. (Optional) Specify the time to wait before the JPS tries to reconnect to CMTS devices.
>     `
>     [edit slot 0 jps cmts-interface]
>     user@host# set connection-open-retry-interval connection-open-retry-interval
>     `
> 13. (Optional) Specify the maximum time to wait for the sent messages to be exchanged after a TCP connection is established.
>     `
>     [edit slot 0 jps cmts-interface]
>     user@host# set sent-message-timeout sent-message-timeout
>     `

>     This value must be less than the held-decs-max-age and pending-rks-event-max-age values for the corresponding RKS interface.

> 14. (Optional) Specify whether to validate PCMM objects received from PDPs.
>     `
>     [edit slot 0 jps cmts-interface]
>     user@host# set validate-pcmm-objects
>     `
> 15. (Optional) Verify your configuration.

>         [edit slot 0 jps cmts-interface]
>         user@host# show
>         cmts-addresses ;
>         keepalive-interval 60;
>         synch-despite-unreachable-pep;
>         synch-despite-pre-i03-pep;
>         local-address ;
>         message-max-length 204800;
>         message-read-buffer-size 1000000;
>         message-write-buffer-size 1000000;
>         open-connection-timeout 5;
>         connection-open-retry-interval 60;
>         sent-message-timeout 60;
>         validate-pcmm-objects;

> #### Published: 2009-09-23

> Copyright © 2009, Juniper Networks, Inc. All rights reserved. Trademark Notice.