Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Correlating device name to assigned number in the archive directory...

In RME 3.5- I access the DEV_FQN table in the dbreader to see what device is associated with it?s associated number to find what directory in the archive/config directory to go to see a device?s configs

RME 3.5

Directory structure

johnsonr@nmscrme02 > pwd

/var/adm/CSCOpx/files/archive/config

johnsonr@nmscrme02 >ls

10535 11065 11502 11982 12382 12789 13209 13589 14060 3735 4932 5534

johnsonr@nmscrme02 >

RME 4.x

Directory structure

# pwd

/var/adm/CSCOpx/files/rme/dcma/devfiles

# ls

269 270 273 274 277 278

#

How can I correlate the numbers in RME 4.x to do the same thing?

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: Correlating device name to assigned number in the archive di

This action is not supported, and not really required as you can always get to the latest version of the config using the user-friendly shadow directory. However, these IDs are the RME NetworkElementID as found in the DM_Dev_State table in the RME database. The NetworkElementID can be mapped to a DCR ID in that table, then the DCR ID can be mapped to a device name using dcrcli.

1 REPLY
Cisco Employee

Re: Correlating device name to assigned number in the archive di

This action is not supported, and not really required as you can always get to the latest version of the config using the user-friendly shadow directory. However, these IDs are the RME NetworkElementID as found in the DM_Dev_State table in the RME database. The NetworkElementID can be mapped to a DCR ID in that table, then the DCR ID can be mapped to a device name using dcrcli.

199
Views
0
Helpful
1
Replies