A static address binding is a collection of configuration parameters, including an IP address, associated with, or bound to, a DHCP client. Bindings are managed by DHCP servers. DHCP bindings automatically map a device MAC address to an IP address using a pool of DHCP supplied addresses. Static bindings assign IP addresses without creating numerous host pools with manual bindings. Static host bindings use a text file the DHCP server reads. It eliminates the need for a lengthy configuration file and reduces the space required to maintain address pools.
static-binding [client-identifier <CLIENT>|hardware-address <MAC>]
static-binding [client-identifier <CLIENT>|hardware-address <MAC>]
client-identifier <CLIENT> |
Enables a static binding configuration for a client based on its client identifier (as provided by DHCP option 61 and its key value)
|
hardware-address <MAC> |
Enables a static binding configuration for a client based on its MAC address
|
rfs4000-229D58(config-dhcp-policy-test-pool-testPool)#static-binding client-identifier test
rfs4000-229D58(config-dhcp-policy-test-pool-testPool)#show context dhcp-pool testPool address 192.168.13.4 class dhcpclass1 update dns override ddns server 192.168.13.9 ddns multiple-user-class excluded-address range 192.168.13.25 192.168.13.28 netbios-node-type b-node dns-server 192.168.13.19 netbios-name-server 192.168.13.25 option option1 157.235.208.80 respond-via-unicast static-route 192.168.13.0/24 192.168.13.7 static-binding client-identifier test rfs4000-229D58(config-dhcp-policy-test-pool-testPool)#
rfs4000-229D58(config-dhcp-policy-test-pool-testPool-binding-test)#? DHCP static binding Mode commands: bootfile Boot file name client-name Client name default-router Default routers dns-server DNS Servers domain-name Configure domain-name ip-address Fixed IP address for host netbios-name-server NetBIOS (WINS) name servers netbios-node-type NetBIOS node type next-server Next server in boot process no Negate a command or set its defaults option Raw DHCP options respond-via-unicast Send DHCP offer and DHCP Ack as unicast messages static-route Add static routes to be installed on dhcp clients 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 rfs4000-229D58(config-dhcp-policy-test-pool-testPool-binding-test)#
nx9500-6C8809(config-dhcp-policy-test-pool-pool1)#static-binding hardware-address 11-22-33-44-55-66 nx9500-6C8809(config-dhcp-policy-test-pool-pool1-binding-11-22-33-44-55-66)#? DHCP static binding Mode commands: bootfile Boot file name client-name Client name default-router Default routers dns-server DNS Servers domain-name Configure domain-name ip-address Fixed IP address for host netbios-name-server NetBIOS (WINS) name servers netbios-node-type NetBIOS node type next-server Next server in boot process no Negate a command or set its defaults option Raw DHCP options respond-via-unicast Send DHCP offer and DHCP Ack as unicast messages static-route Add static routes to be installed on dhcp clients 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-pool-pool1-binding-11-22-33-44-55-66)#
Command |
Description |
---|---|
bootfile (dhcpv4-pool-static-binding) |
Assigns a Bootfile name for the DHCP configuration on the network pool |
client-name (dhcpv4-pool-static-binding) |
Configures a client name |
default-router (dhcpv4-pool-static-binding) |
Configures default router or gateway IP address |
dns-server (dhcpv4-pool-static-binding) |
Sets the DNS server‘s IP address available to all DHCP clients connected to the DHCP pool |
domain-name (dhcpv4-pool-static-binding) |
Sets the network pool‘s domain name |
ip-address (dhcpv4-pool-static-binding) |
Configures a host‘s fixed IP address |
netbios-name-server (dhcpv4-pool-static-binding) |
Configures a NetBIOS (WINS) name server IP address |
netbios-node-type (dhcpv4-pool-static-binding) |
Defines the NetBIOS node type |
next-server (dhcpv4-pool-static-binding) |
Specifies the next server used in the boot process |
option (dhcpv4-pool-static-binding) |
Configures raw DHCP options |
respond-via-unicast (dhcpv4-pool-static-binding) |
Sends a DHCP offer and DHCP Ack as unicast messages |
static-route (dhcpv4-pool-static-binding) |
Adds static routes installed on DHCP clients |
no (dhcpv4-pool-static-binding) | Negates or reverts to default this DHCP Pool's static binding settings |