show dhcp-server

show dhcp-server {vlan vlan_name}

Description

Displays the DHCP server‘s configuration and address allocation on a specified VLAN.

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 all platforms.