network (dhcpv4-pool-config)

Configures the DHCP server's network settings

Supported on the following devices:

Syntax

network [<IP/M>|<NETWORK-ALIAS-NAME>]

Parameters

network [<IP/M>|<NETWORK-ALIAS-NAME>]

<IP/M>

Configures the network number and mask (for example, 192.168.13.0/24)

<NETWORK- ALIAS-NAME>

Configures a network alias to identify the network number and mask

  • <NETWORK-ALIAS-NAME> – Specify the network alias name. It should be existing and configured.

Note: A network alias defines a single network address. For example, ‘alias network $NET 1.1.1.0/24‘. In this example, the network alias name is: $NET, and the network it is mapped to is: 1.1.1.0/24. For more information, see alias.

Examples

nx9500-6C8809(config-dhcp-policy-test-pool-testPool)#network 192.168.13.0/24
nx9500-6C8809(config-dhcp-policy-test-pool-testPool)#show context
 dhcp-pool testPool
  network 192.168.13.0/24
  address 192.168.13.4 class dhcpclass1
  lease 100 23 59 59
  ddns server 192.168.13.9
  ddns domainname WID
  ddns multiple-user-class
  excluded-address range 192.168.13.25 192.168.13.28
  domain-name documentation
  netbios-node-type b-node
  bootfile test.txt
  default-router 192.168.13.8 192.168.13.9
  dns-server 192.168.13.19
  netbios-name-server 192.168.13.25
nx9500-6C8809(config-dhcp-policy-test-pool-testPool)#

Related Commands

no

Removes the network number and mask configured for this DHCP pool