Cisco Systems OL-10426-01 Network Card User Manual


 
9-2
Cisco WAN Modeling Tools Guide
OL-10426-01, Rev. A0
Chapter 9 Configuration Extraction Tool
Using the CET
Using the CET
To extract data from CWM and generate an NMT-compatible .cnf file, perform the following steps:
Step 1 For the best data consistency, make sure the network is not running any administration activities that add
or delete network elements. Also, make sure you are in the correct working directory, and that the CET
has been installed there.
Step 2 The svp2cet command extracts selected data from the SQL database and writes them in the sub-directory
netw_name. If the command fails or generates warning messages, view the file ntwk-name/svp2cet.con
for a log of SQL extraction.
To extract the configuration from CWM, enter the following command:
svp2cet <
netw_name>
[options]
netw_name is the name of the directory that the command creates. The directory contains data files that
are used as inputs for the command shown in the next step, which builds a .cnf file. You will use this
directory name again in the next step.
swt_rev is the switch software revision you are using. You may need to use this option only if the CWM
release is more recent than the switch software release.
Note It may take a long time for the extraction process to run. There is no on-screen indication that
the process is running. A message appears announcing when the process is complete or another
message appears if the process fails. If the process fails, delete the netw_name directory before
running the command again.
Step 3 Enter the following command to format the above extracted data into a .cnf file named netw_name.cnf,
which you can read into NMT. If the command fails or generates warning messages, view the file
netw-name/cet2nmt.con for a summary of the data analysis problems:
cet2nmt
<The cet2nmt > [ options]
netw_name is the name of the directory you created.
The cet2nmt has an option to extract a single domain or several domains from the CWM DB. If your
CWM is monitoring multiple AutoRoute networks, or multiple PNNI peer groups, you may extract a
single or multiple domains using the -network option. The syntax is as follows:
cet2nmt <netw_name> -network <
domain_name
>
Multiple domain names can also be specified, as shown in the following example:
cet2nmt <netw_name> -network <
domain_name1
> [,<
domain_name2
>]...
The cet2nmt has an option to create the .cnf file with different then netw_name plan name. That option
can be very usefull when user creates several plans with dufferent options. The syntax is as follows:
cet2nmt <netw_name> -o <
myplan
>
In this case the utility will produce file myplan.cnf.