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

Answered Question
Jun 5th, 2007
User Badges:

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

[email protected] > pwd

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

[email protected] >ls

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

[email protected] >


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?


Correct Answer by Joe Clarke about 9 years 11 months ago

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
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Joe Clarke Tue, 06/05/2007 - 21:21
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

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.

Actions

This Discussion