# DHCP Server

## nv show interface <interface-id> ipv4 dhcp-client

Shows the DHCPv4 client configuration for a specific interface.

### Command Syntax

Syntax | Description
--- | ---
`<interface-id>` | The interface name.

### Version History

Introduced in Cumulus Linux 5.15.0

### Example

    cumulus@switch:~$ nv show interface swp1 ipv4 dhcp-client
                  operational  applied   pending
    ------------  -----------  --------  --------
    state                      enabled   enabled
    set-hostname               enabled   enabled

## nv show interface <interface-id> ipv4 dhcp-client lease

Shows the DHCPv4 client lease details for a specific interface.

### Command Syntax

Syntax | Description
--- | ---
`<interface-id>` | The interface name.

### Version History

Introduced in Cumulus Linux 5.15.0

### Example

    cumulus@switch:~$ nv show interface swp1 ipv4 dhcp-client lease

## nv show interface <interface-id> ipv6 dhcp-client

Shows the DHCPv6 client configuration for a specific interface.

### Command Syntax

Syntax | Description
--- | ---
`<interface-id>` | The interface name.

### Version History

Introduced in Cumulus Linux 5.15.0

### Example

    cumulus@switch:~$ nv show interface swp1 ipv6 dhcp-client
                  operational  applied   pending
    ------------  -----------  --------  --------
    state                      enabled   enabled
    set-hostname               enabled   enabled

## nv show interface <interface-id> ipv6 dhcp-client lease

Shows the DHCPv6 client lease details for a specific interface.

### Command Syntax

Syntax | Description
--- | ---
`<interface-id>` | The interface name.

### Version History

Introduced in Cumulus Linux 5.15.0

### Example

    cumulus@switch:~$ nv show interface swp1 ipv6 dhcp-client lease

## nv show service dhcp-server

Shows IPv4 DHCP server information.

In Cumulus Linux 5.15 and later, this command is `nv show vrf <vrf-id> dhcp-server-v4`.

### Version History

Introduced in Cumulus Linux 5.0.0

### Example

    cumulus@switch:~$ nv show service dhcp-server
             Summary
    -------  ------------------
    default  interface:    swp1
             pool: 10.1.10.0/24
             static:    server1

## nv show service dhcp-server <vrf-id>

Shows IPv4 DHCP server configuration information in the specified VRF.

In Cumulus Linux 5.15 and later, this command is `nv show vrf <vrf-id> dhcp-server-v4`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.

### Version History

Introduced in Cumulus Linux 5.0.0

### Example

    cumulus@switch:~$ nv show service dhcp-server default
              operational   applied
    --------  ------------  ------------
    [interface]  swp1          swp1
    [pool]       10.1.10.0/24  10.1.10.0/24
    [static]     server1       server1

## nv show service dhcp-server <vrf-id> domain-name

Shows the DNS attributes provided by the DHCP server in the specified VRF.

Cumulus Linux 5.15 and later no longer supports this command.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.

### Version History

Introduced in Cumulus Linux 5.0.0

### Example

    cumulus@switch:~$ nv show service dhcp-server default domain-name
                 domain-name
    --------     -----------
    mydomain.com

## nv show service dhcp-server <vrf-id> domain-name <domain-name-id>

Shows information about a specific DNS attribute provided by the DHCP server in the specified VRF.

Cumulus Linux 5.15 and later no longer supports this command.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<domain-name-id>` | The IPv4 DHCP domain name.

### Version History

Introduced in Cumulus Linux 5.0.0

### Example

    cumulus@switch:~$ nv show service dhcp-server default domain-name mydomain.com

## nv show service dhcp-server <vrf-id> domain-name-server

Shows DNS configuration provided by the DHCP server in the specified VRF.

Cumulus Linux 5.15 and later no longer supports this command.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.

### Version History

Introduced in Cumulus Linux 5.0.0

### Example

    cumulus@switch:~$ nv show service dhcp-server default domain-name-server

    --------------
    192.168.200.53

## nv show service dhcp-server <vrf-id> domain-name-server <server-id>

Shows specific DNS server configuration provided by the DHCP server in the specified VRF.

Cumulus Linux 5.15 and later no longer supports this command.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<server-id>` | The DNS server.

### Version History

Introduced in Cumulus Linux 5.0.0

### Example

    cumulus@switch:~$ nv show service dhcp-server default domain-name-server 192.168.200.53

## nv show service dhcp-server <vrf-id> interface

Shows a list of interfaces on which the IPv4 DHCP client attaches.

In Cumulus Linux 5.15 and later, this command is `nv show vrf <vrf-id> dhcp-server-v4 interface`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.

### Version History

Introduced in Cumulus Linux 5.0.0

### Example

    cumulus@switch:~$ nv show service dhcp-server default interface
    ----
    swp1

## nv show service dhcp-server <vrf-id> interface <interface-id>

Shows information about a specific interface on which the IPv4 DHCP client attaches.

In Cumulus Linux 5.15 and later, this command is `nv show vrf <vrf-id> dhcp-server-v4 interface <interface-id>`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<interface-id>` | The IPv4 DHCP client interface.

### Version History

Introduced in Cumulus Linux 5.0.0

### Example

    cumulus@switch:~$ nv show service dhcp-server default interface swp1

## nv show service dhcp-server <vrf-id> pool

Shows a list of the IPv4 DHCP pool subnets and the applied configuration.

In Cumulus Linux 5.15 and later, this command is `nv show vrf <vrf-id> dhcp-server-v4 subnet`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.

### Version History

Introduced in Cumulus Linux 5.0.0

### Example

    cumulus@switch:~$ nv show service dhcp-server default pool
                  cumulus-provision-url  default-url  lease-time  ping-check  pool-name  Summary
    ------------  ---------------------  -----------  ----------  ----------  ---------  ----------------------------------
    10.1.10.0/24                                      200000                             domain-name:           example.com
                                                                                         domain-name-server: 192.168.200.53
                                                                                         gateway:                 10.1.10.1
                                                                                         range:                 10.1.10.100

## nv show service dhcp-server <vrf-id> pool <pool-id>

Shows information about a specific IPv4 DHCP pool subnet.

In Cumulus Linux 5.15 and later, this command is `nv show vrf <vrf-id> dhcp-server-v4 subnet <subnet-id>`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<pool-id>` | The DHCP pool subnet.

### Version History

Introduced in Cumulus Linux 5.0.0

### Example

    cumulus@switch:~$ nv show service dhcp-server default pool 10.1.10.0/24
                           operational     applied
    ---------------------  --------------  ---------------
    cumulus-provision-url
    default-url
    lease-time             200000          200000
    ping-check                             on
    pool-name                              storage-servers
    [domain-name]          example.com     example.com
    [domain-name-server]   192.168.200.53  192.168.200.53
    [gateway]              10.1.10.1       10.1.10.1
    [range]                10.1.10.100     10.1.10.100

## nv show service dhcp-server <vrf-id> pool <pool-id> domain-name

Shows the IPv4 DHCP domain names in the specified pool.

Cumulus Linux 5.15 and later no longer supports this command.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<pool-id>` | The DHCP pool subnet.

### Version History

Introduced in Cumulus Linux 5.0.0

### Example

    cumulus@switch:~$ nv show service dhcp-server default pool 10.1.10.0/24 domain-name
                 domain-name
    -----------  -----------
    example.com

## nv show service dhcp-server <vrf-id> pool <pool-id> domain-name <domain-name-id>

Shows information about a specific IPv4 DHCP domain name in the specified pool.

Cumulus Linux 5.15 and later no longer supports this command.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<pool-id>` | The DHCP pool subnet.
`<domain-name-id>` | The DHCP domain name.

### Version History

Introduced in Cumulus Linux 5.0.0

### Example

    cumulus@switch:~$ nv show service dhcp-server default pool 10.1.10.0/24 domain-name example.com

## nv show service dhcp-server <vrf-id> pool <pool-id> domain-name-server

Shows a list of the IPv4 DHCP domain name servers in the specified pool.

In Cumulus Linux 5.15 and later, this command is `nv show vrf <vrf-id> dhcp-server-v4 subnet <subnet-id> domain-name-server`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<pool-id>` | The DHCP pool subnet.

### Version History

Introduced in Cumulus Linux 5.0.0

### Example

    cumulus@switch:~$ nv show service dhcp-server default pool 10.1.10.0/24 domain-name-server

    --------------
    192.168.200.53

## nv show service dhcp-server <vrf-id> pool <pool-id> domain-name-server <server-id>

Shows information about a specific IPv4 DHCP domain name server in the specified pool.

In Cumulus Linux 5.15 and later, this command is `nv show vrf <vrf-id> dhcp-server-v4 subnet <subnet-id> domain-name-server <server-id>`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<pool-id>` | The DHCP pool subnet.
`<server-id>` | The DNS server IP address.

### Version History

Introduced in Cumulus Linux 5.0.0

### Example

    cumulus@switch:~$ nv show service dhcp-server default pool 10.1.10.0/24 domain-name-server 192.168.200.53

## nv show service dhcp-server <vrf-id> pool <pool-id> gateway

Shows the IPv4 DHCP gateways in the specified pool.

In Cumulus Linux 5.15 and later, this command is `nv show vrf <vrf-id> dhcp-server-v4 subnet <subnet-id> gateway`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<pool-id>` | The DHCP pool subnet.

### Version History

Introduced in Cumulus Linux 5.0.0

### Example

    cumulus@switch:~$ nv show service dhcp-server default pool 10.1.10.0/24 gateway

    ---------
    10.1.10.1

## nv show service dhcp-server <vrf-id> pool <pool-id> gateway <gateway-id>

Shows information about a specific IPv4 DHCP gateway in the specified pool.

In Cumulus Linux 5.15 and later, this command is `nv show vrf <vrf-id> dhcp-server-v4 subnet <subnet-id> gateway <gateway-id>`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<pool-id>` | The DHCP pool subnet.
`<gateway-id>` | The gateway IP address.

### Version History

Introduced in Cumulus Linux 5.0.0

### Example

    cumulus@switch:~$ nv show service dhcp-server default pool 10.1.10.0/24 gateway 10.1.10.1

## nv show service dhcp-server <vrf-id> pool <pool-id> range

Shows the IPv4 DHCP IP address range assignments.

In Cumulus Linux 5.15 and later, this command is `nv show vrf <vrf-id> dhcp-server-v4 subnet <subnet-id> range`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<pool-id>` | The DHCP pool subnet.

### Version History

Introduced in Cumulus Linux 5.0.0

### Example

    cumulus@switch:~$ nv show service dhcp-server default pool 10.1.10.0/24 range
                 to
    -----------  -----------
    10.1.10.100  10.1.10.199

## nv show service dhcp-server <vrf-id> pool <pool-id> range <range-id>

Shows information about a specific IPv4 DHCP IP address range assignment.

In Cumulus Linux 5.15 and later, this command is `nv show vrf <vrf-id> dhcp-server-v4 subnet <subnet-id> range <range-id>`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<pool-id>` | The DHCP pool subnet.
`<range-id>` | The start of the IP address range.

### Version History

Introduced in Cumulus Linux 5.0.0

### Example

    cumulus@switch:~$ nv show service dhcp-server default pool 10.1.10.0/24 range 10.1.10.100
        operational  applied
    --  -----------  -----------
    to  10.1.10.199  10.1.10.199

## nv show service dhcp-server <vrf-id> static

Shows configuration for static hosts served by the DHCP server.

In Cumulus Linux 5.15 and later, this command is `nv show vrf <vrf-id> dhcp-server-v4 static-host`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.

### Version History

Introduced in Cumulus Linux 5.0.0

### Example

    cumulus@switch:~$ nv show service dhcp-server default static
             cumulus-provision-url  host-id-circuit-id  ip-address  MAC address
    -------  ---------------------  ------------------  ----------  -----------------
    server1                                             10.0.0.2    44:38:39:00:01:7e

## nv show service dhcp-server <vrf-id> static <static-id>

Shows configuration for a specific static host served by the DHCP server.

In Cumulus Linux 5.15 and later, this command is `nv show vrf <vrf-id> dhcp-server-v4 static-host <static-id>`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<static-id>` | The IDN host name.

### Version History

Introduced in Cumulus Linux 5.0.0

### Example

    cumulus@switch:~$ nv show service dhcp-server default static server1
                 operational        applied
    -----------  -----------------  -----------------
    ip-address   10.0.0.2           10.0.0.2
    mac-address  44:38:39:00:01:7e  44:38:39:00:01:7e

## nv show service dhcp-server6

Shows IPv6 DHCP server information.

In Cumulus Linux 5.15 and later, this command is `nv show vrf <vrf-id> dhcp-server-v6`.

### Version History

Introduced in Cumulus Linux 5.0.0

### Example

    cumulus@switch:~$ nv show service dhcp-server6

## nv show service dhcp-server6 <vrf-id>

Shows IPv6 DHCP server configuration information in the specified VRF.

In Cumulus Linux 5.15 and later, this command is `nv show vrf <vrf-id> dhcp-server-v6`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.

### Version History

Introduced in Cumulus Linux 5.0.0

### Example

    cumulus@switch:~$ nv show service dhcp-server6 default

## nv show service dhcp-server6 <vrf-id> domain-name

Shows the DNS attributes provided by the IPv6 DHCP server.

Cumulus Linux 5.15 and later no longer supports this command.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.

### Version History

Introduced in Cumulus Linux 5.0.0

### Example

    cumulus@switch:~$ nv show service dhcp-server6 default domain-name

## nv show service dhcp-server6 <vrf-id> domain-name <domain-name-id>

Shows information about a specific DNS attribute provided by the IPv6 DHCP server.

Cumulus Linux 5.15 and later no longer supports this command.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<domain-name-id>` | The DHCP domain name.

### Version History

Introduced in Cumulus Linux 5.0.0

### Example

    cumulus@switch:~$ nv show service dhcp-server6 default domain-name example.com

## nv show service dhcp-server6 <vrf-id> domain-name-server

Shows the IPv6 domain name servers.

In Cumulus Linux 5.15 and later, this command is `nv show vrf <vrf-id> dhcp-server-v6 domain-name-server`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.

### Version History

Introduced in Cumulus Linux 5.0.0

### Example

    cumulus@switch:~$ nv show service dhcp-server6 default domain-name-server

## nv show service dhcp-server6 <vrf-id> domain-name-server <server-id>

Shows information about a specific IPv6 domain name server.

In Cumulus Linux 5.15 and later, this command is `nv show vrf <vrf-id> dhcp-server-v6 domain-name-server <server-id>`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<server-id>` | The IPv6 address of the DNS server.

### Version History

Introduced in Cumulus Linux 5.0.0

### Example

    cumulus@switch:~$ nv show service dhcp-server6 default domain-name-server 0:0:0:0:0:ffff:c0a8:c835

## nv show service dhcp-server6 <vrf-id> interface

Shows the interfaces on which the IPv6 DHCP client attaches.

In Cumulus Linux 5.15 and later, this command is `nv show vrf <vrf-id> dhcp-server-v6 interface`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.

### Version History

Introduced in Cumulus Linux 5.0.0

### Example

    cumulus@switch:~$ nv show service dhcp-server6 default interface

## nv show service dhcp-server6 <vrf-id> interface <interface-id>

Shows information about a specific interface on which the IPv6 DHCP client attaches.

In Cumulus Linux 5.15 and later, this command is `nv show vrf <vrf-id> dhcp-server-v6 interface <interface-id>`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<interface-id>` | The DHCP client interface.

### Version History

Introduced in Cumulus Linux 5.0.0

### Example

    cumulus@switch:~$ nv show service dhcp-server6 default interface swp1

## nv show service dhcp-server6 <vrf-id> pool

Shows the configured IPv6 DHCP pool subnets.

In Cumulus Linux 5.15 and later, this command is `nv show vrf <vrf-id> dhcp-server-v6 subnet`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.

### Version History

Introduced in Cumulus Linux 5.0.0

### Example

    cumulus@switch:~$ nv show service dhcp-server6 default pool

## nv show service dhcp-server6 <vrf-id> pool <pool-id>

Shows information about a specific IPv6 DHCP pool subnet.

In Cumulus Linux 5.15 and later, this command is `nv show vrf <vrf-id> dhcp-server-v6 subnet <subnet-id>`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<pool-id>` | The DHCP6 pool subnet.

### Version History

Introduced in Cumulus Linux 5.0.0

### Example

    cumulus@switch:~$ nv show service dhcp-server6 default pool 2001:db8::1/128

## nv show service dhcp-server6 <vrf-id> pool <pool-id> domain-name

Shows information about the IPv6 DHCP domain names in the specified pool.

In Cumulus Linux 5.15 and later, this command is `nv show vrf <vrf-id> dhcp-server-v6 subnet <subnet-id> domain-name`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<pool-id>` | The DHCP6 pool subnet.

### Version History

Introduced in Cumulus Linux 5.0.0

### Example

    cumulus@switch:~$ nv show service dhcp-server6 default storage-servers domain-name

## nv show service dhcp-server6 <vrf-id> pool <pool-id> domain-name <domain-name-id>

Shows information about a specific IPv6 DHCP domain name in the specified pool.

In Cumulus Linux 5.15 and later, this command is `nv show vrf <vrf-id> dhcp-server-v6 subnet <subnet-id> domain-name <domain-name-id>`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<pool-id>` | The DHCP6 pool subnet.
`<domain-name-id>` | The DHCP domain name.

### Version History

Introduced in Cumulus Linux 5.0.0

### Example

    cumulus@switch:~$ nv show service dhcp-server6 default storage-servers domain-name example.com

## nv show service dhcp-server6 <vrf-id> pool <pool-id> domain-name-server

Shows information about the IPv6 DHCP domain name servers in the specified pool.

In Cumulus Linux 5.15 and later, this command is `nv show vrf <vrf-id> dhcp-server-v6 subnet <subnet-id> domain-name-server`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<pool-id>` | The DHCP6 pool subnet.

### Version History

Introduced in Cumulus Linux 5.0.0

### Example

    cumulus@switch:~$ nv show service dhcp-server6 default storage-servers domain-name-server

## nv show service dhcp-server6 <vrf-id> pool <pool-id> domain-name-server <server-id>

Shows information about a specific IPv6 DHCP domain name server in the specified pool.

In Cumulus Linux 5.15 and later, this command is `nv show vrf <vrf-id> dhcp-server-v6 subnet <subnet-id> domain-name-server <server-id>`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<pool-id>` | The DHCP6 pool subnet.
`<server-id>` | The DNS server.

### Version History

Introduced in Cumulus Linux 5.0.0

### Example

    cumulus@switch:~$ nv show service dhcp-server6 default storage-servers domain-name-server 0:0:0:0:0:ffff:c0a8:c835

## nv show service dhcp-server6 <vrf-id> pool <pool-id> range>

Shows the IPv6 DHCP IP address range assignments.

In Cumulus Linux 5.15 and later, this command is `nv show vrf <vrf-id> dhcp-server-v6 subnet <subnet-id> range`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<pool-id>` | The DHCP6 pool subnet.

### Version History

Introduced in Cumulus Linux 5.0.0

### Example

    cumulus@switch:~$ nv show service dhcp-server6 default storage-servers range

## nv show service dhcp-server6 <vrf-id> pool <pool-id> range <range-id>

Shows information about a specific IPv6 DHCP IP address range assignment.

In Cumulus Linux 5.15 and later, this command is `nv show vrf <vrf-id> dhcp-server-v6 subnet <subnet-id> range <range-id>`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<pool-id>` | The DHCP6 pool subnet.
`<range-id>` | The start of the IPv6 address range.

### Version History

Introduced in Cumulus Linux 5.0.0

### Example

    cumulus@switch:~$ nv show service dhcp-server6 default storage-servers range 0:0:0:0:0:ffff:0a01:0a64

## nv show service dhcp-server6 <vrf-id> static

Shows configuration for static hosts served by the IPv6 DHCP server.

In Cumulus Linux 5.15 and later, this command is `nv show vrf <vrf-id> dhcp-server-v6 static-host`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.

### Version History

Introduced in Cumulus Linux 5.0.0

### Example

    cumulus@switch:~$ nv show service dhcp-server6 default static

## nv show service dhcp-server6 <vrf-id> static <static-id>

Shows configuration for a specific static host served by the IPv6 DHCP server.

In Cumulus Linux 5.15 and later, this command is `nv show vrf <vrf-id> dhcp-server-v6 static-host <static-id>`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<static-id>` | The IDN hostname.

### Version History

Introduced in Cumulus Linux 5.0.0

### Example

    cumulus@switch:~$ nv show service dhcp-server6 default static server1

## nv show vrf <vrf-id> dhcp-server-v4

Shows IPv4 DHCP server configuration information in the specified VRF.

In Cumulus Linux 5.14 and earlier, this command is `nv show vrf <vrf-id> dhcp-server-v4`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.

### Version History

Introduced in Cumulus Linux 5.15.0

### Example

    cumulus@switch:~$ nv show vrf default dhcp-server-v4
                   applied
    -------------  ------------
    [subnet]       10.1.10.0/24
    [static-host]  server1
    [static-host]  server2
    [static-host]  server3

## nv show service dhcp-server <vrf-id> interface

Shows a list of interfaces on which the IPv4 DHCP client attaches.

In Cumulus Linux 5.14 and earlier, this command is `nv show service dhcp-server <vrf-id> interface`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.

### Version History

Introduced in Cumulus Linux 5.15.0

### Example

    cumulus@switch:~$ nv show vrf default dhcp-server-v4 interface
    ----
    swp1

## nv show vrf <vrf-id> dhcp-server-v4 interface <interface-id>

Shows information about a specific interface on which the IPv4 DHCP client attaches.

In Cumulus Linux 5.14 and earlier, this command is `nv show service dhcp-server <vrf-id> interface <interface-id>`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<interface-id>` | The IPv4 DHCP client interface.

### Version History

Introduced in Cumulus Linux 5.15.0

### Example

    cumulus@switch:~$ nv show vrf default dhcp-server-v4 interface swp1

## nv show vrf <vrf-id> dhcp-server-v4 subnet

Shows a list of the IPv4 DHCP pool subnets and the applied configuration.

In Cumulus Linux 5.14 and earlier, this command is `nv show service dhcp-server <vrf-id> pool`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.

### Version History

Introduced in Cumulus Linux 5.15.0

### Example

    cumulus@switch:~$ nv show vrf default dhcp-server-v4 subnet
                  cumulus-provision-url  default-url  lease-time  ping-check  pool-name  Summary
    ------------  ---------------------  -----------  ----------  ----------  ---------  ----------------------------------
    10.1.10.0/24                                      200000                             domain-name:           example.com
                                                                                         domain-name-server: 192.168.200.53
                                                                                         gateway:                 10.1.10.1
                                                                                         range:                 10.1.10.100

## nv show vrf <vrf-id> dhcp-server-v4 subnet <subnet-id>

Shows information about a specific IPv4 DHCP pool subnet.

In Cumulus Linux 5.14 and earlier, this command is `nv show service dhcp-server <vrf-id> pool <pool-id>`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<subnet-id>` | The DHCP pool subnet.

### Version History

Introduced in Cumulus Linux 5.15.0

### Example

    cumulus@switch:~$ nv show vrf default dhcp-server-v4 subnet 10.1.10.0/24
                           operational     applied
    ---------------------  --------------  ---------------
    cumulus-provision-url
    default-url
    lease-time             200000          200000
    ping-check                             on
    pool-name                              storage-servers
    [domain-name]          example.com     example.com
    [domain-name-server]   192.168.200.53  192.168.200.53
    [gateway]              10.1.10.1       10.1.10.1
    [range]                10.1.10.100     10.1.10.100

## nv show vrf <vrf-id> dhcp-server-v4 subnet <subnet-id> domain-name-server

Shows a list of the IPv4 DHCP domain name servers in the specified pool.

In Cumulus Linux 5.14 and earlier, this command is `nv show service dhcp-server <vrf-id> pool <pool-id> domain-name-server`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<subnet-id>` | The DHCP pool subnet.

### Version History

Introduced in Cumulus Linux 5.15.0

### Example

    cumulus@switch:~$ nv show vrf default dhcp-server-v4 subnet 10.1.10.0/24 domain-name-server
    --------------
    192.168.200.53

## nv show dhcp-server-v4 vrf <vrf-id> subnet <subnet-id> domain-name-server <server-id>

Shows information about a specific IPv4 DHCP domain name server in the specified pool.

In Cumulus Linux 5.14 and earlier, this command is `nv show service dhcp-server <vrf-id> pool <pool-id> domain-name-server <server-id>`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<subnet-id>` | The DHCP pool subnet.
`<server-id>` | The DNS server IP address.

### Version History

Introduced in Cumulus Linux 5.15.0

### Example

    cumulus@switch:~$ nv show vrf default dhcp-server-v4 subnet 10.1.10.0/24 domain-name-server 192.168.200.53

## nv show vrf <vrf-id> dhcp-server-v4 subnet <subnet-id> gateway

Shows the IPv4 DHCP gateways in the specified pool.

In Cumulus Linux 5.14 and earlier, this command is `nv show service dhcp-server <vrf-id> pool <pool-id> gateway`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<subnet-id>` | The DHCP pool subnet.

### Version History

Introduced in Cumulus Linux 5.15.0

### Example

    cumulus@switch:~$ nv show vrf default dhcp-server-v4 subnet 10.1.10.0/24 gateway
    ---------
    10.1.10.1

## nv show vrf <vrf-id> dhcp-server-v4 subnet <subnet-id> gateway <gateway-id>

Shows information about a specific IPv4 DHCP gateway in the specified pool.

In Cumulus Linux 5.14 and earlier, this command is `nv show service dhcp-server <vrf-id> pool <pool-id> gateway <gateway-id>`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<subnet-id>` | The DHCP pool subnet.
`<gateway-id>` | The gateway IP address.

### Version History

Introduced in Cumulus Linux 5.15.0

### Example

    cumulus@switch:~$ nv show vrf default dhcp-server-v4 subnet 10.1.10.0/24 gateway 10.1.10.1

## nv show vrf <vrf-id> dhcp-server-v4 subnet <subnet-id> range

Shows the IPv4 DHCP IP address range assignments.

In Cumulus Linux 5.14 and earlier, this command is `nv show service dhcp-server <vrf-id> pool <pool-id> range`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<subnet-id>` | The DHCP pool subnet.

### Version History

Introduced in Cumulus Linux 5.15.0

### Example

    cumulus@switch:~$ nv show vrf default dhcp-server-v4 subnet 10.1.10.0/24 range
                 to
    -----------  -----------
    10.1.10.100  10.1.10.199

## nv show vrf <vrf-id> dhcp-server-v4 subnet <subnet-id> range <range-id>

Shows information about a specific IPv4 DHCP IP address range assignment.

In Cumulus Linux 5.14 and earlier, this command is `nv show service dhcp-server <vrf-id> pool <pool-id> range <range-id>`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<subnet-id>` | The DHCP pool subnet.
`<range-id>` | The start of the IP address range.

### Version History

Introduced in Cumulus Linux 5.15.0

### Example

    cumulus@switch:~$ nv show vrf default dhcp-server-v4 subnet 10.1.10.0/24 range 10.1.10.100
        operational  applied
    --  -----------  -----------
    to  10.1.10.199  10.1.10.199

## nv show vrf <vrf-id> dhcp-server-v4 static-host

Shows configuration for static hosts served by the DHCPv4 server.

In Cumulus Linux 5.14 and earlier, this command is `nv show service dhcp-server <vrf-id> static`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.

### Version History

Introduced in Cumulus Linux 5.15.0

### Example

    cumulus@switch:~$ nv show vrf default dhcp-server-v4 static-host
             cumulus-provision-url  host-id-circuit-id  ip-address  MAC address
    -------  ---------------------  ------------------  ----------  -----------------
    server1                                             10.0.0.2    44:38:39:00:01:7e

## nv show vrf <vrf-id> dhcp-server-v4 static-host <static-id>

Shows configuration for a specific static host served by the DHCPv4 server.

In Cumulus Linux 5.14 and earlier, this command is `nv show service dhcp-server <vrf-id> static <static-id>`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<static-id>` | The IDN host name.

### Version History

Introduced in Cumulus Linux 5.15.0

### Example

    cumulus@switch:~$ nv show vrf default dhcp-server-v4 static-host server1
                 operational        applied
    -----------  -----------------  -----------------
    ip-address   10.0.0.2           10.0.0.2
    mac-address  44:38:39:00:01:7e  44:38:39:00:01:7e

## nv show vrf <vrf-id> dhcp-server-v4 static-host <static-id> ifname <interface-name>

Shows configuration for a specific static host interface served by the DHCPv4 server.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<static-id>` | The IDN host name.

### Version History

Introduced in Cumulus Linux 5.15.0

### Example

    cumulus@switch:~$ nv show vrf default dhcp-server-v4 static-host server1 ifname <interface-name>

## nv show vrf <vrf-id> dhcp-server-v6

Shows IPv6 DHCP server configuration information in the specified VRF.

In Cumulus Linux 5.14 and earlier, this command is `nv set service dhcp-server6 <vrf-id>`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.

### Version History

Introduced in Cumulus Linux 5.15.0

### Example

    cumulus@switch:~$ nv show vrf default dhcp-server-v6

## nv show vrf <vrf-id> dhcp-server-v6 domain-name-server

Shows the IPv6 domain name servers.

In Cumulus Linux 5.14 and earlier, this command is `nv set service dhcp-server6 <vrf-id> domain-name-server`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.

### Version History

Introduced in Cumulus Linux 5.15.0

### Example

    cumulus@switch:~$ nv show vrf default dhcp-server-v6 domain-name-server

## nv show vrf <vrf-id> dhcp-server-v6 domain-name-server <server-id>

Shows information about a specific IPv6 domain name server.

In Cumulus Linux 5.14 and earlier, this command is `nv set service dhcp-server6 <vrf-id> domain-name-server <server-id>`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<server-id>` | The IPv6 address of the DNS server.

### Version History

Introduced in Cumulus Linux 5.15.0

### Example

    cumulus@switch:~$ nv show vrf default dhcp-server-v6 domain-name-server 0:0:0:0:0:ffff:c0a8:c835

## nv show vrf <vrf-id> dhcp-server-v6 static-host

Shows configuration for static hosts served by the DHCPv6 server.

In Cumulus Linux 5.14 and earlier, this command is `nv show service dhcp-server6 <vrf-id> static`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.

### Version History

Introduced in Cumulus Linux 5.15.0

### Example

    cumulus@switch:~$ nv show vrf default dhcp-server-v6 static-host
             cumulus-provision-url  host-id-circuit-id  ip-address     MAC address
    -------  ---------------------  ------------------  ----------     -----------------
    server1                                             2001:db8:1::2  44:38:39:00:01:7e

## nv show vrf <vrf-id> dhcp-server-v6 static-host <static-id>

Shows configuration for a specific static host served by the DHCPv6 server.

In Cumulus Linux 5.14 and earlier, this command is `nv show service dhcp-server6 <vrf-id> static <static-id>`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<static-id>` | The IDN host name.

### Version History

Introduced in Cumulus Linux 5.15.0

### Example

    cumulus@switch:~$ nv show vrf default dhcp-server-v6 static-host server1
                 operational        applied
    -----------  -----------------  -----------------
    ip-address   2001:db8:1::2      2001:db8:1::2
    mac-address  44:38:39:00:01:7e  44:38:39:00:01:7e

## nv show vrf <vrf-id> dhcp-server-v6 static-host <static-id> ifname <interface-name>

Shows configuration for a specific static host interface served by the DHCPv6 server.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<static-id>` | The IDN host name.

### Version History

Introduced in Cumulus Linux 5.15.0

### Example

    cumulus@switch:~$ nv show vrf default dhcp-server-v6 static-host server1 ifname swp1

## nv show vrf <vrf-id> dhcp-server-v6 interface

Shows the interfaces on which the IPv6 DHCP client attaches.

In Cumulus Linux 5.14 and earlier, this command is `nv set service dhcp-server6 <vrf-id> interface`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.

### Version History

Introduced in Cumulus Linux 5.15.0

### Example

    cumulus@switch:~$ nv show vrf default dhcp-server-v6 interface

## nv show vrf <vrf-id> dhcp-server-v6 interface <interface-id>

Shows information about a specific interface on which the IPv6 DHCP client attaches.

In Cumulus Linux 5.14 and earlier, this command is `nv set service dhcp-server6 <vrf-id> interface <interface-id>`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<interface-id>` | The DHCP client interface.

### Version History

Introduced in Cumulus Linux 5.15.0

### Example

    cumulus@switch:~$ nv show vrf default dhcp-server-v6 interface swp1

## nv show vrf <vrf-id> dhcp-server-v6 subnet

Shows the configured IPv6 DHCP pool subnets.

In Cumulus Linux 5.14 and earlier, this command is `nv set service dhcp-server6 <vrf-id> pool`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.

### Version History

Introduced in Cumulus Linux 5.15.0

### Example

    cumulus@switch:~$ nv show vrf default dhcp-server-v6 subnet

## nv show vrf <vrf-id> dhcp-server-v6 subnet <subnet-id>

Shows information about a specific IPv6 DHCP pool subnet.

In Cumulus Linux 5.14 and earlier, this command is `nv set service dhcp-server6 <vrf-id> pool <pool-id>`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<subnet-id>` | The DHCP6 pool subnet.

### Version History

Introduced in Cumulus Linux 5.15.0

### Example

    cumulus@switch:~$ nv show vrf default dhcp-server-v6 subnet 2001:db8::1/128

## nv show vrf <vrf-id> dhcp-server-v6 subnet <subnet-id> domain-name

Shows information about the IPv6 DHCP domain names in the specified pool.

In Cumulus Linux 5.14 and earlier, this command is `nv set service dhcp-server6 <vrf-id> pool <pool-id> domain-name`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<subnet-id>` | The DHCP6 pool subnet.

### Version History

Introduced in Cumulus Linux 5.15.0

### Example

    cumulus@switch:~$ nv show vrf default dhcp-server-v6 subnet 2001:db8::1/128 domain-name

## nv show vrf <vrf-id> dhcp-server-v6 subnet <subnet-id> domain-name <domain-name-id>

Shows information about a specific IPv6 DHCP domain name in the specified pool.

In Cumulus Linux 5.14 and earlier, this command is `nv set service dhcp-server6 <vrf-id> pool <pool-id> domain-name <domain-name-id>`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<subnet-id>` | The DHCP6 pool subnet.
`<domain-name-id>` | The DHCP domain name.

### Version History

Introduced in Cumulus Linux 5.15.0

### Example

    cumulus@switch:~$ nv show vrf default dhcp-server-v6 subnet 2001:db8::1/128 domain-name example.com

## nv show vrf <vrf-id> dhcp-server-v6 subnet <subnet-id> domain-name-server

Shows information about the IPv6 DHCP domain name servers in the specified pool.

In Cumulus Linux 5.14 and earlier, this command is `nv set service dhcp-server6 <vrf-id> pool <pool-id> domain-name-server`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<subnet-id>` | The DHCP6 pool subnet.

### Version History

Introduced in Cumulus Linux 5.15.0

### Example

    cumulus@switch:~$ nv show vrf default dhcp-server-v6 subnet 2001:db8::1/128 domain-name-server

## nv show vrf <vrf-id> dhcp-server-v6 subnet <subnet-id> domain-name-server <server-id>

Shows information about a specific IPv6 DHCP domain name server in the specified pool.

In Cumulus Linux 5.14 and earlier, this command is `nv set service dhcp-server6 <vrf-id> pool <pool-id> domain-name-server <server-id>`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<subnet-id>` | The DHCP6 pool subnet.
`<server-id>` | The DNS server.

### Version History

Introduced in Cumulus Linux 5.15.0

### Example

    cumulus@switch:~$ nv show vrf default dhcp-server-v6 subnet 2001:db8::1/128 domain-name-server 0:0:0:0:0:ffff:c0a8:c835

## nv show vrf <vrf-id> dhcp-server-v6 subnet <subnet-id> range>

Shows the IPv6 DHCP IP address range assignments.

In Cumulus Linux 5.14 and earlier, this command is `nv set service dhcp-server6 <vrf-id> pool <pool-id> range`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<subnet-id>` | The DHCP6 pool subnet.

### Version History

Introduced in Cumulus Linux 5.15.0

### Example

    cumulus@switch:~$ nv show vrf default dhcp-server-v6 subnet 2001:db8::1/128 range

## nv show vrf <vrf-id> dhcp-server-v6 subnet <subnet-id> range <range-id>

Shows information about a specific IPv6 DHCP IP address range assignment.

In Cumulus Linux 5.14 and earlier, this command is `nv set service dhcp-server6 <vrf-id> pool <pool-id> range <range-id>`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<subnet-id>` | The DHCP6 pool subnet.
`<range-id>` | The start of the IPv6 address range.

### Version History

Introduced in Cumulus Linux 5.15.0

### Example

    cumulus@switch:~$ nv show vrf default dhcp-server-v6 subnet 2001:db8::1/128 range 0:0:0:0:0:ffff:0a01:0a64

## nv show vrf <vrf-id> dhcp-server-v6 static-host

Shows configuration for static hosts served by the IPv6 DHCP server.

In Cumulus Linux 5.14 and earlier, this command is `nv set service dhcp-server6 <vrf-id> static`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.

### Version History

Introduced in Cumulus Linux 5.15.0

### Example

    cumulus@switch:~$ nv show vrf default dhcp-server-v6 static-host

## nv show vrf <vrf-id> dhcp-server-v6 static-host <static-id>

Shows configuration for a specific static host served by the IPv6 DHCP server.

In Cumulus Linux 5.14 and earlier, this command is `nv set service dhcp-server6 <vrf-id> static <static-id>`.

### Command Syntax

Syntax | Description
--- | ---
`<vrf-id>` | The VRF name.
`<static-id>` | The IDN hostname.

### Version History

Introduced in Cumulus Linux 5.15.0

### Example

    cumulus@switch:~$ nv show vrf default dhcp-server-v6 static-host server1