To map a router’s hostname to one or more IP addresses, include the inet statement at the [edit system static-host-mapping hostname] hierarchy level:
- [edit system]
-
static-host-mapping {
-
-
hostname {
- inet [ addresses ];
- alias [ aliases ];
- }
- }
hostname is the name specified by the host-name statement at the [edit system] hierarchy level.
For each host, you can specify one or more aliases.