show dhcp-server

show dhcp-server {vlan vlan_name}

Description

Displays the DHCP server‘s configuration and address allocation on a specified This command is available on the ExtremeSwitching X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5320, 5420, 5520 series switches..

Syntax Description

vlan_name Specifies the VLAN of the DHCP server of interest.

Default

N/A.

Usage Guidelines

If no VLAN is specified, the configuration and address allocation for the servers on all the VLANs is displayed.

Example

The following command displays the configuration and address allocation for the DHCP server for the VLAN test:

show dhcp-server vlan test

The following is sample output from this command:

# show dhcp-server
VLAN "Default":
DHCP Address Range   : Not configured
Netlogin Lease Timer : Not configured (Default = 10 seconds)
DHCP Lease Timer     : Not configured (Default = 7200 seconds)
DHCP Option Code  12 : hex "11:22:33:44:45"
DHCP Option Code  69 : ipaddress 10.0.0.1 10.0.0.2
Ports DHCP Enabled   : No ports enabled

History

This command was first available in ExtremeXOS 11.0.

The output is modified to show primary and secondary DNS servers in ExtremeXOS 12.1.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5320, 5420, and 5520 series switches.