Configuring Static IP Addresses for DHCP Bindings on Access Ports (CLI Procedure)
Related
Documentation
Copyright © 2010, Juniper Networks, Inc.
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
(replace
ge-0/0/2
,
10.0.10.12
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
command at the user prompt.
show
To commit these changes to the active configuration, type the
user prompt.
Verifying That DHCP Snooping Is Working Correctly on page 3158
Understanding DHCP Snooping for Port Security on EX Series Switches on page 3053
,
data-vlan
, and
00:05:85:3A:82:80
Chapter 101: Configuring Port Security
with values for your
commit
command at the
3149