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
(replace
ge-0/0/2
,
10.0.10.12
,
data-vlan
, and
00:05:85:3A:82:80
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.
Related
Documentation
Verifying That DHCP Snooping Is Working Correctly on page 2934
•
•
Understanding DHCP Snooping for Port Security on EX Series Switches on page 2829
2925
Copyright © 2010, Juniper Networks, Inc.
Chapter 95: Configuring Port Security
Summary of Contents for JUNOS OS 10.3 - SOFTWARE
Page 325: ...CHAPTER 17 Operational Mode Commands for System Setup 229 Copyright 2010 Juniper Networks Inc ...
Page 1323: ...CHAPTER 56 Operational Mode Commands for Interfaces 1227 Copyright 2010 Juniper Networks Inc ...
Page 2841: ...CHAPTER 86 Operational Commands for 802 1X 2745 Copyright 2010 Juniper Networks Inc ...
Page 3367: ...CHAPTER 113 Operational Mode Commands for CoS 3271 Copyright 2010 Juniper Networks Inc ...
Page 3435: ...CHAPTER 120 Operational Mode Commands for PoE 3339 Copyright 2010 Juniper Networks Inc ...
Page 3529: ...CHAPTER 126 Operational Mode Commands for MPLS 3433 Copyright 2010 Juniper Networks Inc ...