[Contents] [Prev] [Next] [Index] [Report an Error]


Updating Local IP Address Pools for JUNOSe VRs

When you reconfigure local IP address pools on a JUNOSe VR, you must update in the directory the local IP addresses that the VR provides. To do so, you can use either SDX Admin or a command called poolRepublish. With SDX Admin, you can update one VR at a time. With the command poolRepublish, you can update simultaneously any number of VRs in the same directory.

Prerequisites

To use these features, the following prerequisites apply:

Using SDX Admin

To update local IP address pools for a VR in the directory with SDX Admin:

  1. In the navigation pane, expand the object o=Network.
  2. In the navigation pane, expand the object for the router on which the VR is configured.
  3. Highlight the object for the VR in the navigation pane, and right-click.
  4. Select Update IP Pools.

The SDX Admin dialog box appears.

  1. Enter the IP address for the VR, enter the SNMP community if the default value is incorrect, and click OK.

SDX Admin updates the local IP addresses for the VR in the directory and displays the information in the Local IP Address field of the Main tab in the VirtualRouter pane.

Using the poolRepublish Command

After you have installed the SAE on a host, you can use the poolRepublish command to update local IP address pools. For information about installing the SAE, see SDX Software Basics Guide, Chapter 5, Installing the SDX-300 Software.

When you execute the poolRepublish command, you can specify multiple VRs that use the same SNMP read community. For each VR you must specify the name of the VR, the name of the JUNOSe router on which it is configured, and the VR's corresponding IP address. You must also specify the directory connection. The syntax for the command is:

poolRepublish { { -v <vrName>@<routerName> -i <ipAddress>}*
-h <host> -b <baseDn> -D <bindDN> -w <password>
-c <readCommunity> ] | -H }

<vrName>

<routerName>

<ipAddress>

<host>

<baseDn>

<bindDn>

<password>

<readCommunity>

-H

To update local IP addresses using the poolRepublish command:

  1. On the SAE host, access the folder /opt/UMC/ssp/etc.
  2. cd /opt/UMC/ssp/etc
    
    
    
  3. Execute the command.
  4. ./poolRepublish -v vr1@erx1 -i 192.0.2.1 -v vr2@erx2 -i 192.0.2.3 -h 192.0.2.5 -w 
    admin123 -D cn=umcAdmin,o=umc -b o=Network,o=umc -c public
    
    
    

The software updates and displays the local IP address pools for each VR you specified.

vr1@erx1 pools: ([10.227.11.242 10.227.11.250][10.227.11.226 
10.227.11.239]{10.227.11.208/255.255.255.240}{10.227.11.240/255.255.2
55.240}{10.227.11.224/255.255.255.240})
vr2@erx2: ([10.227.12.242 10.227.12.250][10.227.12.226 
10.227.12.239]{10.227.12.208/255.255.255.240}{10.227.12.240/255.255.2
55.240}{10.227.12.224/255.255.255.240})

For information about the syntax for IP pools, see Local IP Address Pools on JUNOSe VRs.

Troubleshooting

You must specify the correct arguments for the poolRepublish command. In addition, the specified router and directory must be available for the command to execute successfully. If you do not meet these requirements and the prerequisites (see Prerequisites), the poolRepublish command cannot execute and displays an error message.

For example, if no SNMP read community is configured in the directory for the VR and you do not specify this value when you run the poolRepublish command, you will see the following error message:

Could not perform ip pools update due to No 'snmpReadCommunity' attribute is 
provided for virtual router: vr1@bigfoot

If you run the poolRepublish command again and supply this SNMP read community, the command should run correctly.


[Contents] [Prev] [Next] [Index] [Report an Error]