Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation  Back up to About Overview 
  
[+] Expand All
[-] Collapse All

Related Documentation

Retrieving Local IP Address Pool Information from Junos Router During Router Initialization and Pool Republishing (SRC CLI)

During the router initialization and pool republishing, you need to configure the Telnet or SSH connection authentication parameters to retrieve the IP pool information from a router running Junos.

You can configure the Telnet or SSH connection authentication parameters by using the pool-retrieval option under the [edit shared sae group group-name configuration driver junos-ise] 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 junos-ise] hierarchy.

Note: The IP address pool retrieving feature is available only on Junos devices of type junos-ise. This feature is not available on other Junos devices such as junos and junos-dmi.

To establish the connection with a router running Junos OS, you can configure any one of the following pool retrieval parameters:

  • The Telnet username and password created for the Junos router.
  • The SSH username and password created for the Junos router.
  • The SSH key authentication file created by using the request system generate-ssh-key ssh-key-name ssh-key-name command.

For pool republishing from a router running Junos OS, you can use the request sae update ip-pools command. For more information, see Updating Local IP Address Pools for Junos Virtual Routers (SRC CLI).

Use the following statements to configure the pool retrieval parameter in driver level for communicating and retrieving the IP pool information from a Junos router.

shared sae group group-name configuration driver junos-ise pool-retrieval{junos-login-name junos-login-name;junos-password junos-password;junos-protocol (ssh | telnet);key-file-name key-file-name;netconf-port netconf-port;}

Use the following statements to configure the pool retrieval parameter in device level for communicating and retrieving the IP pool information from a Junos router.

edit shared network device <name> pool-retrieval{junos-login-name junos-login-name;junos-password junos-password;junos-protocol (ssh | telnet);key-file-name key-file-name;netconf-port netconf-port;}

To configure the pool retrieval parameters:

  1. In configuration mode, specify the pool retrieval option.
    [edit]user@host# edit shared sae group POP-ID configuration driver junos-ise pool-retrieval

    or

    [edit]user@host# edit shared network device <name> pool-retrieval
  2. (Optional) Enter the Telnet or SSH login user name that is created for the junos-ise device.
    [edit shared sae group POP-ID configuration driver junos-ise pool-retrieval]user@host# set junos-login-name junos-login-name
  3. (Optional) Enter the Telnet or SSH login password which is created for the junos-ise device.
    [edit shared sae group POP-ID configuration driver junos-ise pool-retrieval]user@host# set junos-password junos-password
  4. Configure the protocol in which the communication happens with the junos-ise device. The communication protocol can be SSH or Telnet.
    [edit shared sae group POP-ID configuration driver junos-ise pool-retrieval]user@host# set junos-protocol (ssh | telnet)
  5. (Optional) Configure the SSH key authentication file name for junos-ise device that connect through SSH protocol and authenticates through SSH key authentication mechanism. This option is valid only for the SSH protocol.
    [edit shared sae group POP-ID configuration driver junos-ise pool-retrieval]user@host# set key-file-name key-file-name

    Note: You can use the SSH key authentication file which contains DSA public keys when you log in to the junos-ise device.

    • To create a DSA public key, use the request system generate-ssh-key ssh-key-name ssh-key-name command. You can view the generated DSA public key by using the show system generated-keys ssh-key-name command.
    • To delete the DSA public key, use the request system remove-ssh-key ssh-key-name command.
  6. (Optional) Enter the port number for establishing the connection. The value ranges from 1 through 65,535. By default, the port value is set to 830 for SSH and 23 for Telnet.
    [edit shared sae group POP-ID configuration driver junos-ise pool-retrieval]user@host# set netconf-port netconf-port
  7. (Optional) Verify your configuration.
    user@host# show pool-retrieval { junos-login-name regress;junos-protocol SSH;key-file-name ssh-key-name;netconf-port 830;}

Related Documentation

Modified: 2017-08-03