dhcp-server-policy

Configures DHCPv4 server policy parameters, such as class, address range, and options. A new policy is created if it does not exist.

Supported on the following devices:

Syntax

dhcp-server-policy <DHCP-SERVER-POLICY-NAME>

Parameters

dhcp-server-policy <DHCP-SERVER-POLICY-NAME>

<DHCP-POLICY-NAME>

Specify the DHCP server policy name. If the policy does not exist, it is created.

Examples

nx9500-6C8809(config)#dhcp-server-policy test
nx9500-6C8809(config-dhcp-policy-test)#?
DHCP policy Mode commands:
  bootp        BOOTP specific configuration
  dhcp-class   Configure DHCP class (for address allocation using DHCP
               user-class options)
  dhcp-pool    Configure DHCP server address pool
  dhcp-server  Activating dhcp server based on criteria
  no           Negate a command or set its defaults
  option       Define DHCP server option
  ping         Specify ping parameters used by DHCP Server

  clrscr       Clears the display screen
  commit       Commit all changes made in this session
  do           Run commands from Exec mode
  end          End current mode and change to EXEC mode
  exit         End current mode and down to previous mode
  help         Description of the interactive help system
  revert       Revert changes
  service      Service Commands
  show         Show running system information
  write        Write running configuration to memory or terminal

nx9500-6C8809(config-dhcp-policy-test)#

Related Commands

no

Removes an existing DHCP server policy

Note

Note

For more information on DHCPv4 policy, see DHCP-Server Policy .