configuration / chassis0 / slots / [SLOT-ID] / [hps100] / module / ptpv2 / instances / instance[ID] / network
CLI REST-API

## nameserver-1

nameserver-1
This is a read-write object and valid values are IPv4-addresses.
Datatype-Help:
the IP address should looks like this: A.B.C.D
every letter is one number that goes from 0 - 255.
example: 192.168.0.45

#### Applies to modules

HPS100
See also:
/configuration/chassis0/slots/[SLOT-ID]/[hps100]/module/ptpv2/instances/instance[ID]/network
/configuration/chassis0/slots/[SLOT-ID]/[hps100]/module/ptpv2/instances/instance[ID]/network/net-link-mode
/configuration/chassis0/slots/[SLOT-ID]/[hps100]/module/ptpv2/instances/instance[ID]/network/prp-mac-address-mode
/configuration/chassis0/slots/[SLOT-ID]/[hps100]/module/ptpv2/instances/instance[ID]/network/hostname
/configuration/chassis0/slots/[SLOT-ID]/[hps100]/module/ptpv2/instances/instance[ID]/network/domainname
/configuration/chassis0/slots/[SLOT-ID]/[hps100]/module/ptpv2/instances/instance[ID]/network/nameserver-0
/configuration/chassis0/slots/[SLOT-ID]/[hps100]/module/ptpv2/instances/instance[ID]/network/ipv4-address
/configuration/chassis0/slots/[SLOT-ID]/[hps100]/module/ptpv2/instances/instance[ID]/network/ipv4-netmask
/configuration/chassis0/slots/[SLOT-ID]/[hps100]/module/ptpv2/instances/instance[ID]/network/ipv4-gateway
/configuration/chassis0/slots/[SLOT-ID]/[hps100]/module/ptpv2/instances/instance[ID]/network/ipv4-default-gateway
/configuration/chassis0/slots/[SLOT-ID]/[hps100]/module/ptpv2/instances/instance[ID]/network/ipv6-mode
/configuration/chassis0/slots/[SLOT-ID]/[hps100]/module/ptpv2/instances/instance[ID]/network/ipv6-address
/configuration/chassis0/slots/[SLOT-ID]/[hps100]/module/ptpv2/instances/instance[ID]/network/ipv6-gateway
/configuration/chassis0/slots/[SLOT-ID]/[hps100]/module/ptpv2/instances/instance[ID]/network/ipv6-default-gateway
/configuration/chassis0/slots/[SLOT-ID]/[hps100]/module/ptpv2/instances/instance[ID]/network/ipv6-multicast-scope
/configuration/chassis0/slots/[SLOT-ID]/[hps100]/module/ptpv2/instances/instance[ID]/network/dscp-ptp-classification
/configuration/chassis0/slots/[SLOT-ID]/[hps100]/module/ptpv2/instances/instance[ID]/network/multicast-ttl
/configuration/chassis0/slots/[SLOT-ID]/[hps100]/module/ptpv2/instances/instance[ID]/network/dhcp-client
/configuration/chassis0/slots/[SLOT-ID]/[hps100]/module/ptpv2/instances/instance[ID]/network/vlan-enabled
/configuration/chassis0/slots/[SLOT-ID]/[hps100]/module/ptpv2/instances/instance[ID]/network/vlan-id
/configuration/chassis0/slots/[SLOT-ID]/[hps100]/module/ptpv2/instances/instance[ID]/network/vlan-priority

#### REST-API Support:

This object is supported by the REST API:
Method: GET
URL: /api/configuration/chassis0/slots/.*/module/ptpv2/instances/instance.*/network
Example using curl:

    curl /api/configuration/chassis0/slots/.*/module/ptpv2/instances/instance.*/network

Method: PATCH
URL: /api/configuration/chassis0/slots/.*/module/ptpv2/instances/instance.*/network
Body:

    {
      "nameserver-1": "0.0.0.0"
    }

Example using curl:

    curl -X PATCH /api/configuration/chassis0/slots/.*/module/ptpv2/instances/instance.*/network -d
    {
      "nameserver-1": "0.0.0.0"
    }