configuration / network / general

CLI REST-API

hostname

Hostname
This is a read-write object and valid values are hostnames.

Datatype-Help:
the hostname should be a string.
the maximal total-length is 255 characters.
the maximal label-length is 63 characters.
allowed characters are a-z, 0-9, dot and dash.
dashes are not allowed to be near dots.



See also:
/configuration/network/general: General Information
/configuration/network/general/domainname: Domainname
/configuration/network/general/nameserver-1: Nameserver 1
/configuration/network/general/nameserver-2: Nameserver 2
/configuration/network/general/ipv4-gateway: IPv4 Gateway
/configuration/network/general/ipv6-gateway: IPv6 Gateway
/configuration/network/general/cluster-port: Cluster Port
/configuration/network/general/cluster-multicast: Cluster Multicast Address
/configuration/network/general/dscp-ntp: DSCP NTP Classification
/configuration/network/general/bonding-mode: Bonding-Mode
/configuration/network/general/syslog-pingcheck: System-Log Pingcheck
/configuration/network/general/enable-alternate-prio1: enable alternate priority 1
/configuration/network/general/alternate-priority1: alternate priority1
/configuration/network/general/use-hps-card-slot-id: use hps card slot id

REST-API Support:


This object is supported by the REST API:

Method: GET
URL: /api/configuration/network/general


Example using curl:
curl /api/configuration/network/general


Method: PATCH
URL: /api/configuration/network/general
Body:
{
  "hostname": "www.meinberg.de"
}

Example using curl:
curl -X PATCH /api/configuration/network/general -d
{
  "hostname": "www.meinberg.de"
}