Configuring Static IP Addresses for DHCP Bindings on Access Ports (CLI Procedure)
You can add static (fixed) IP addresses and bind them to fixed MAC addresses in the DHCP snooping database. These bindings are labeled as “static” in the database, while those bindings that have been added through the process of DHCP snooping are labeled “dynamic.”
To configure a static IP address/MAC address binding in the DHCP snooping database, by using the CLI:
![]() |
Note: Replace values displayed in italics with values for your configuration. |
[edit ethernet-switching-options secure-access port]
user@switch#set interface ge-0/0/2 static-ip 10.0.10.12 vlan data-vlan
mac 00:05:85:3A:82:80
To view results of the configuration steps before committing the configuration, type the show command at the user prompt.
To commit these changes to the active configuration, type the commit command at the user prompt.