Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[Junos] Deleting system-hostname setting not clearing system-hostname



Article ID: KB36500 KB Last Updated: 11 Feb 2021Version: 1.0

When the load factory-default command is issued to set or delete the system hostname, the hostname is not cleared even though it appears to have cleared from the configuration lines.

This article indicates this is a Junos mgd limitation and clarifies that there is no service impact due to this limitation. Users can reboot the device to clear the system hostname if required.



When you issue load factory-default to set or delete the system host-name, the host-name is not cleared even though it is cleared from the configuration lines.

The following is the testing result for your reference:

root@EX4200-3# show system host-name
host-name EX4200-3;

root@EX4200-3# delete system host-name

root@EX4200-3# commit
configuration check succeeds
commit complete

root@EX4200-3# exit
Exiting configuration mode

root@EX4200-3> exit 

root@:RE:0% cli
root@EX4200-3> configure 

root@EX4200-3# show system host-name




This is due to a Junos mgd limitation, which is present in all Junos products except the EVO type version.



Since the issue does not have any service impact and customers would set hostname usually, this problem can be ignored.

However, rebooting the device will clear the system hostname if required.


Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search