Cisco Cisco ASR 5000 Guía Para Resolver Problemas

Descargar
Página de 3
Due to the change in behavior starting with release 19.2, it is not sufficient anymore to back up the
chassis key value to be able to run same configuration on the same node.
Moreover, because of the random 32 byte number attached to the configured chassis key, there
are  always different chassis IDs generated based on same chassis keys.
That is the reason why cli command chassis keycheck is concealed now since it always return
negative even if the same old key is entered.
To be able to recover a StarOS machine from a saved configuration (when, for example all
contents of the /flash drive were lost) it is requred to backup the .chassisid (where the StarOS
stores the chassis ID)
The chassis ID is stored in /flash/.chassisid file on StarOS hard drive. The easiest method of
backing up this file is to transfer it via some file trasfer protocol to a backup server:
  
As you see the .chassisid file is a hidden one and with newer releases it is not possible to do file
management operations with hidden files. For example this error is displayed with release 20.0.1:
  
[local]sim-lte# copy /flash/.chassisid /flash/backup
Failure: source is not valid.
[local]sim-lte#
Or:
[local]sim-lte# show file url /flash/.chassisid
Failure: file is not valid.
Solution
There is still a way to access this file via this procedure:
Step 1. Ensure the .chassisid file is present in /flash/.chassisid.
[local]sim-lte# dir /flash/.chassisid
-rw-rw-r--    1 root     root           53 Jun 23 10:59 /flash/.chassisid
8       /flash/.chassisid
Filesystem           1k-blocks      Used Available Use% Mounted on
/var/run/storage/flash/part1   523992    192112    331880  37% /mnt/user/.auto/onboard/flash
Step 2. Login into hidden mode.
[local]sim-lte# cli test-commands
Password:
Warning: Test commands enables internal testing and debugging commands
USE OF THIS MODE MAY CAUSE SIGNIFICANT SERVICE INTERRUPTION
[local]sim-lte# 
Note: If there is no hidden mode password configured, configure it with this:
[local]sim-lte(config)# tech-support test-commands password <password>
Step 3. Start a debug shell.
[local]sim-lte# debug shell