Specifying Router Initialization Scripts on the SAE with the CLI
Use the following configuration statements to specify router initialization scripts for JUNOSe routers:
shared sae configuration driver scripts {extension-pathextension-path
; generalgeneral
; junose-prjunose-pr
; junose-xdrjunose-xdr
;}To configure router initialization scripts for JUNOSe routers:
- From configuration mode, access the configuration statements that configure router initialization scripts. In this sample procedure, the scripts are configured in the west-region group.
user@host#edit shared sae group west-region configuration driver scripts
- Specify the script for JUNOSe routers when the JUNOSe driver uses COPS-PR mode when connecting to the SAE.
[edit shared sae group west-region configuration driver scripts]user@host#
set junose-pr
junose-pr
- Specify the script for JUNOSe routers when the JUNOSe driver uses COPS-XDR mode when connecting to the SAE.
[edit shared sae group west-region configuration driver scripts]user@host#
set junose-xdr
junose-xdr
In COPS-XDR mode, the router does not send the network access server (NAS) IP address to the SAE. If your configuration requires this value, add the following line to a JUNOSe script:
import ERXnasipWhen you add the import ERXnasip entry, the script obtains the NAS-IP address from the router through SNMP. This mechanism can affect performance, especially when the SAE manages a large number of virtual routers.
- Configure a router initialization script that can be used for all types of routers that the SRC software supports.
[edit shared sae group west-region configuration driver scripts]user@host#
set general
general
- Configure a path to router initialization scripts that are not in the default location, /opt/UMC/sae/lib.
[edit shared sae group west-region configuration driver scripts]user@host#
set extension-path
extension-path
- (Optional) Verify your router initialization script configuration.
[edit shared sae group west-region configuration driver scripts]user@host#show
junose-xdr poolPublisher;