You can configure the router name at the [edit system] hierarchy level.
[edit]
root@# set system host-name
If your MX10004 router has two RCBs, it is recommended you use a configuration group. You can
use group-name as re0 or re1.
[edit]
root@# set groups
For Example:
[edit]
root@# set groups re0 system host-name alpha-router0
[edit]
root@# set groups re1 system host-name alpha-router1
8.
Configure the default gateway.
[edit]
root@# set routing-options static route default next-hop
9.
Configure the IP address and prefix length for the router management interface.
[edit]
root@# set interfaces em0 unit 0 family inet address
NOTE: The management port, em0 (MGMT for RJ-45 connections) is found on the front of
the RCBs of the MX10004 router.
If your MX10004 router has two RCBs, you can configure each RCB with a separate IP address for
the management Ethernet interface.
host-name
group-name system host-name host-name
address
address/prefix-length
143