[edit]
root@host# set system host-name host-name
2. Configure the domain name of the router.
[edit]
root@host# set system domain-name domain-name
3. Configure the IP address and prefix length for the router’s management interface.
[edit]
root@host# set interfaces em0 unit 0 family inet address address/prefix-length
4. Configure the IP address of a backup router, which is used only when the routing protocol is not running.
[edit]
root@host# set system backup-router address
5. Configure the IP address of a DNS server.
[edit]
root@host# set system name-server address
6. (Optional) Configure the static routes to remote subnets that have access to the management port.
Access to the management port is limited to the local subnet. To access the management port from a remote subnet,
you must add a static route to that subnet within the routing table. For more information about static routes, see the
Junos OS Administration Library.
[edit]
root@host# set routing-options static route remote-subnet next-hop destination-IP retain no-readvertise
7. Configure the Telnet service at the [edit system services] hierarchy level.
[edit]
root@host# set system services telnet
8. Commit the configuration to activate it on the router.
[edit]
14