For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

nas_65848's avatar
nas_65848
Icon for Nimbostratus rankNimbostratus
Aug 21, 2014

Chang device name using tmsh

How to change device name from default bigip1 under devices using tmsh?

 

8 Replies

  • can you try tmsh mv command?

    root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) mv cm device ve11a.acme.local ?
    Identifier:
      [object identifier]  Name of the device
    
  • Confirmed works in 11.5.1 HF7

    From Bash (same works inside tmsh without tmsh preceding the command):

     tmsh mv cm device  
     tmsh mv cm device initial.device.name new.device.name
    

    A few services restarted in my case and the device name was now changed.

    NOTE: This does not impact the hostname... that is:

     tmsh modify sys global-settings hostname 
     OR
     tmsh modify cm device  hostname 
    
    • bcrogerz's avatar
      bcrogerz
      Icon for Cirrus rankCirrus

      tested in v11.6 - the tmsh sys global-settings commands works in changing the hostname immediately.

       

      =========== [admin@dc1utilf5ltm16a:Active:Standalone] ~ tmsh modify /sys global-settings hostname roger.net

       

      [admin@roger:Active:Standalone] ~ tmsh modify /sys global-settings hostname dc1utilf5ltm16a.net

       

      Main Package Product BIG-IP Version 11.6.0 Build 0.0.401

       

  • Michael_Skreen1's avatar
    Michael_Skreen1
    Historic F5 Account

    Confirmed works in 11.5.1 HF7

    From Bash (same works inside tmsh without tmsh preceding the command):

     tmsh mv cm device  
     tmsh mv cm device initial.device.name new.device.name
    

    A few services restarted in my case and the device name was now changed.

    NOTE: This does not impact the hostname... that is:

     tmsh modify sys global-settings hostname 
     OR
     tmsh modify cm device  hostname 
    
    • bcrogerz's avatar
      bcrogerz
      Icon for Cirrus rankCirrus

      tested in v11.6 - the tmsh sys global-settings commands works in changing the hostname immediately.

       

      =========== [admin@dc1utilf5ltm16a:Active:Standalone] ~ tmsh modify /sys global-settings hostname roger.net

       

      [admin@roger:Active:Standalone] ~ tmsh modify /sys global-settings hostname dc1utilf5ltm16a.net

       

      Main Package Product BIG-IP Version 11.6.0 Build 0.0.401