cc/td/doc/product/cable/svc_ctrl/scmgtsu
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table Of Contents

Installing the CNR LEG

Prerequisites

Package Contents

Installing the CNR LEG on Windows

Installing the CNR LEG on Solaris

Uninstalling the CNR LEG


Installing the CNR LEG


This module describes the CNR LEG installation procedures for both Widows and Solaris platforms. It also describes the uninstall procedure.

Prerequisites 

Package Contents 

Installing the CNR LEG on Windows 

Installing the CNR LEG on Solaris 

Uninstalling the CNR LEG 

Prerequisites

CNR LEG is operable with any CNR version 5.0 or later.

The platform requirements (OS/CPU/RAM/disk) are the same as the CNR requirements for both Windows and Solaris. See the Cisco Network Registrar (CNR) Installation Guide for platform requirements details.

Package Contents

The CNR LEG distribution part of the SCMS-SM LEG distribution file and is located in the CNR_LEG directory. The following table describes the contents of the CNR LEG distribution package supplied by Cisco.

Table 2-1 File layout of CNR LEG distribution package

Root

Folder (under root)

File name

Notes

pkg-ext-dir

     
   

readme.cnrleg

Short description of CD content

 

doc

   
   

cnrleg.cfg

Sample configuration file

 

solaris

   
   

libcnrleg.so

Solaris distribution in a single library file

 

winnt

   
   

asn1ber.dll

 
   

asn1rt.dll

 
   

cnrleg.dll

 

Installing the CNR LEG on Windows


Note The directory in which the CNR is installed is referred to as cnr-inst-dir.


SUMMARY STEPS

1. Extract the SM LEG distribution file

2. Locate the CNR LEG distribution tar file under the CNR LEG directory

3. Extract the CNR LEG distribution and copy the files

4. Configure the CNR LEG using the sample configuration file

5. Configure the SM

6. Register the CNR LEG with the CNR

DETAILED STEPS


Step 1 Extract the SM LEG distribution file

Step 2 Locate the CNR LEG distribution tar file under the CNR LEG directory

Step 3 Extract the CNR LEG distribution and copy the files

Unzip the CNR Package to pkg-ext-dir.

Copy all files under pkg-ext-dir\winnt to <cnr-inst-dir>\Extensions\DHCP\Dex\.

Copy the sample configuration file from pkg-ext-dir\doc to a directory of your choice, hereafter referred to as cfg-dir.

Step 4 Configure the CNR LEG using the sample configuration file

See Information About Configuring the CNR LEG.

Step 5 Configure the SM

See Information About Configuring the SM.

Step 6 Register the CNR LEG with the CNR

Run the CNR <cnr-inst-dir>/bin/nrcmdcommand-line utility.

Log in to the CNR nrcmdCLU.

To log in, type the following command:

nrcmd[-C cluster] [-N user] [-P password]

Configure the following:

nrcmd>extension smleg create dex cnrleg.dll cnrLegPostSendPacket
nrcmd>extension smleg set init-entry=cnrLegInitEntry
nrcmd>extension smleg set init-args=cfg-dir/cnrleg.cfg
nrcmd>dhcp attachExtension post-send-packet smleg 1
Any sequence number can be used for this command
nrcmd>extension smlegext create dex cnrleg.dll cnrLegPostPacketDecode
nrcmd>dhcp attachExtension post-packet-decode smlegext 1
Any sequence number can be used for this command
nrcmd>save
nrcmd>server DHCP reload

Note You must use the cfg-dir full path in the init-args argument.



Note You must use a slash ("/") and not a back-slash ("\") as the path separator.



Installing the CNR LEG on Solaris

SUMMARY STEPS

1. Extract the SM LEG distribution file

2. Locate the CNR LEG distribution tar file under the CNR LEG directory

3. Extract the CNR LEG distribution and copy the files

4. Configure the CNR LEG using the sample configuration file

5. Configure the SM

6. Register the CNR LEG with CNR

DETAILED STEPS


Step 1 Extract the SM LEG distribution file

Step 2 Locate the CNR LEG distribution tar file under the CNR LEG directory

Step 3 Extract the CNR LEG distribution and copy the files

Extract the CNR Package to pkg-ext-dir. For example:

#>tar xvf cnr-leg-dist.tar

Copy libcnrleg.so under pkg-ext-dir/solaris to <cnr-inst-dir>/extensions/dhcp/dex.

Copy the sample configuration file from pkg-ext-dir/doc to a directory of your choice, hereafter referred to as cfg-dir.

Step 4 Configure the CNR LEG using the sample configuration file

See Information About Configuring the CNR LEG 

Step 5 Configure the SM

See Information About Configuring the SM.

Step 6 Register the CNR LEG with CNR

Run the CNR <cnr-inst-dir>/bin/nrcmdcommand-line utility.

Log in to the CNR nrcmdCLU.

To log in, type the following command:

nrcmd[-C cluster] [-N user] [-P password]

Configure the following:

nrcmd>extension smleg create dex libcnrleg.so cnrLegPostSendPacket
nrcmd>extension smleg set init-entry=cnrLegInitEntry
nrcmd>extension smleg set init-args=cfg-dir/cnrleg.cfg
nrcmd>dhcp attachExtension post-send-packet smleg 1
Any sequence number can be used for this command
nrcmd>extension smlegext create dex libcnrleg.so cnrLegPostPacketDecode
nrcmd>dhcp attachExtension post-packet-decode smlegext 1
Any sequence number can be used for this command
nrcmd>save
nrcmd>server DHCP reload

Note You must use the cfg-dir full path in the init-args argument.



Note You must use a slash ("/") and not a back-slash ("\") as the path separator.



Uninstalling the CNR LEG

This section explains how to uninstall the CNR LEG. The uninstall procedure is applicable for both Windows and Solaris platforms.


Step 1 Un-register CNR LEG from CNR

Run the CNR <cnr-inst-dir>/bin/nrcmdcommand-line utility.

Log in to the CNR nrcmdCLU.

To log in, type the following command:

nrcmd[-C cluster] [-N user] [-P password]

Configure the following:

nrcmd>dhcp detachExtension post-send-packet 1
nrcmd>extension smleg delete
nrcmd>dhcp detachExtension post-packet-decode 1
nrcmd>extension smlegext delete
nrcmd>savenrcmd>server DHCP reload

Step 2 Delete the LEG distribution files

Delete all files copied to <cnr-inst-dir>/extensions/dhcp/dex

Delete the configuration file ( cfg-dir/cnrleg.cfg ).



hometocprevnextglossaryfeedbacksearchhelp

Posted: Thu Jan 31 21:31:36 PST 2008
All contents are Copyright © 1992--2008 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.