Configure System Attributes
1. Configure the name of the router. If the name includes spaces, enclose the name in quotation marks
(" ").
[edit]
root@host# set system host-name
2. Configure the router's domain name.
[edit]
root@host# set system domain-name
3. Configure the IP address and prefix length for the router's Ethernet interface.
[edit]
root@host# set interfaces fxp0 unit 0 family inet address
4. Configure the IP address of a backup router, which is used only while the routing protocol is not
running.
[edit]
root@host# set system backup-router
5. Configure the IP address of a DNS server.
[edit]
root@host# set system name-server
6. (Optional) Configure the static routes to remote subnets with 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 need to add a static route to that subnet within the routing table. For more information
about static routes, see the
[edit]
root@host# set routing-options static route
readvertise
host-name
domain-name
address
address
Junos OS Administration Library for Routing
remote-subnet next-hop destination-IP retain no-
address/prefix-length
Devices.
24