Configuring the SAE to Manage JunosE Routers (SRC CLI)
To set up the SAE to manage JunosE routers, configure a router driver that specifies a COPS server that can accept COPS connections from the COPS client in JunosE routers.
Use the following configuration statements to configure the SAE to manage JunosE routers:
To configure the SAE to manage JunosE routers:
From configuration mode, access the configuration statement that configures the JunosE router driver. In this sample procedure, the JunosE driver is configured in the west-region group.
user@host# edit shared sae group west-region configuration driver junose(Optional) Disable the accounting-per-attachment feature to calculate accounting statistics for each policy list on the basis of the accounting flag status of each policy rule in the policy list.
[edit shared sae group west-region configuration driver junose]user@host# set no-accounting-per-attachmentNote To enable the accounting-per-attachment feature, configure the accounting-per-attachment option at the [edit shared sae group group-name configuration driver junose] hierarchy.
By default, the accounting-per-attachment feature is not set.
You must restart the sscc connection for the configuration changes to take effect.
You can configure the accounting-per-attachment feature under the [edit shared sae group group-name configuration driver junose] or [edit shared network device] hierarchy. The settings configured under the [edit shared network device] hierarchy override the settings under the [edit shared sae group group-name configuration driver junose] hierarchy.
Configure the port number of the SAE COPS server. The port number must match the configuration of the SRC client in the JunosE router.
[edit shared sae group west-region configuration driver junose]user@host# set cops-server-port cops-server-portConfigure the number of outstanding connection attempts before connections are dropped.
[edit shared sae group west-region configuration driver junose]user@host# set backlog backlogConfigure the delay time (in milliseconds) for dual-stack interfaces. dual-stack-delay is not configured by default.
[edit shared sae group west-region configuration driver junose]user@host# dual-stack-delay delayConfigure the interval between keepalive messages sent from the COPS client (the JunosE router).
[edit shared sae group west-region configuration driver junose]user@host# set keepalive-interval keepalive-intervalConfigure the timeout interval in which the COPS server waits for a response to COPS requests.
[edit shared sae group west-region configuration driver junose]user@host# set message-timeout message-timeoutConfigure the maximum length of a COPS message.
[edit shared sae group west-region configuration driver junose]user@host# set cops-message-maximum-length cops-message-maximum-lengthConfigure the buffer size for receiving COPS messages from the JunosE client. We recommend that you use the default setting unless you are instructed to change it by Juniper Networks.
[edit shared sae group west-region configuration driver junose]user@host# set cops-message-read-buffer-size cops-message-read-buffer-sizeConfigure the buffer size for sending COPS messages to the JunosE client. We recommend that you use the default setting unless you are instructed to change it by Juniper Networks.
[edit shared sae group west-region configuration driver junose]user@host# set cops-message-write-buffer-size cops-message-read-buffer-sizeConfigure the maximum time that a DHCP address request remains pending.
[edit shared sae group west-region configuration driver junose]user@host# set pending-address-timeout pending-address-timeoutConfigure the size of the thread pool for handling unsolicited messages. These threads are shared among all JunosE router drivers.
[edit shared sae group west-region configuration driver junose]user@host# set cops-handler-threads cops-handler-threadsConfigure the minimum amount of time to keep the state of a router driver after its COPS connection has been closed.
[edit shared sae group west-region configuration driver junose]user@host# set cached-driver-expiration cached-driver-expiration(Optional) If you are using COPS-XDR, specify whether or not the JunosE router driver keeps a record of unmanaged interfaces.
[edit shared sae group west-region configuration driver junose]user@host# set drop-unmanaged-interfaces-xdr-driver(Optional) Enable or disable sending of interface-tracking events for unmanaged interfaces for the XDR router driver.
[edit shared sae group west-region configuration driver junose]user@host# set track-unmanaged-interfaces-xdr-driver(Optional) Verify your configuration.
[edit shared sae group west-region configuration driver junose] user@host# show no-accounting-per-attachment; cops-server-port 3288; backlog 50; keepalive-interval 45; message-timeout 120000; cops-message-maximum-length 200000; cops-message-read-buffer-size 30000; cops-message-write-buffer-size 30000; pending-address-timeout 5000; cops-handler-threads 20; cached-driver-expiration 600; drop-unmanaged-interfaces-xdr-driver; track-unmanaged-interfaces-xdr-driver;