Configuring the SAE to Manage JUNOSe Routers with the 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:
- shared sae configuration driver junose {
- cops-server-port cops-server-port ;
- backlog backlog ;
- keepalive-interval keepalive-interval ;
- message-timeout message-timeout ;
- cops-message-maximum-length cops-message-maximum-length ;
- cops-message-read-buffer-size cops-message-read-buffer-size ;
- cops-message-write-buffer-size cops-message-write-buffer-size ;
- pending-address-timeout pending-address-timeout ;
- cops-handler-threads cops-handler-threads ;
- cached-driver-expiration cached-driver-expiration ;
- drop-unmanaged-interfaces-xdr-driver;
- track-unmanaged-interfaces-xdr-driver;
- }
To configure the SAE to manage JUNOSe routers:
- From configuration mode, access the configuration statement
that configures the JUNOS 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
- 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-port
- Configure the number of outstanding connection attempts
before connections are dropped.
- [edit shared sae group west-region configuration driver junose]
- user@host# set backlog backlog
- Configure 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-interval
- Configure 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-timeout
- Configure 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-length
- Configure 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-size
- Configure 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-size
- Configure 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-timeout
- Configure 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-threads
- Configure 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 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;
