in LMS2.6, anybodies know how I can change the Domain Name (about identity device) for 3000 devices with one cli command o with while cli command script?
You need to use the dcrcli tool to do this. You will need to export the current DCR device list, modify the domain name field (a simple replace all should do), then re-import the resulting list. The dcrcli commands will be:
NMSROOT/bin/dcrcli -u exp fn=dcr.csv ft=csv
NMSROOT/bin/dcrcli -u impFile fn=dcr.csv ft=csv cr=file
To avoid being prompted for a password, you will need to set the DCRCLIFILE environment variable first. The value points to a file that has the username and password of the specified above separated by a space. For example: