cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
951
Views
0
Helpful
1
Replies

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

getwithrob
Level 3
Level 3

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

Joe Clarke
Cisco Employee
Cisco Employee

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.

View solution in original post

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: