Juniper EX3400 Features Manual

Category
Software
Type
Features Manual

This manual is also suitable for

DHCP and Other System Services Feature Guide
for EX2300, EX3400, and EX4300 Switches
Modified: 2017-07-26
Copyright © 2017, Juniper Networks, Inc.
Juniper Networks, Inc.
1133 Innovation Way
Sunnyvale, California 94089
USA
408-745-2000
www.juniper.net
Juniper Networks, Junos, Steel-Belted Radius, NetScreen, and ScreenOS are registered trademarks of Juniper Networks, Inc. in the United
States and other countries. The Juniper Networks Logo, the Junos logo, and JunosE are trademarks of Juniper Networks, Inc. All other
trademarks, service marks, registered trademarks, or registered service marks are the property of their respective owners.
Juniper Networks assumes no responsibility for any inaccuracies in this document. Juniper Networks reserves the right to change, modify,
transfer, or otherwise revise this publication without notice.
DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches
Copyright © 2017, Juniper Networks, Inc.
All rights reserved.
The information in this document is current as of the date on the title page.
YEAR 2000 NOTICE
Juniper Networks hardware and software products are Year 2000 compliant. Junos OS has no known time-related limitations through the
year 2038. However, the NTP application is known to have some difficulty in the year 2036.
END USER LICENSE AGREEMENT
The Juniper Networks product that is the subject of this technical documentation consists of (or is intended for use with) Juniper Networks
software. Use of such software is subject to the terms and conditions of the End User License Agreement (“EULA”) posted at
http://www.juniper.net/support/eula.html. By downloading, installing or using such software, you agree to the terms and conditions of
that EULA.
Copyright © 2017, Juniper Networks, Inc.ii
Table of Contents
About the Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
Documentation and Release Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
Supported Platforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
Using the Examples in This Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
Merging a Full Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi
Merging a Snippet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi
Documentation Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii
Documentation Feedback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xix
Requesting Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xix
Self-Help Online Tools and Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . xix
Opening a Case with JTAC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xx
Part 1 DHCP and DHCP Relay
Chapter 1 DHCP Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Understanding DHCP Services for Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
DHCP Client/Server Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Using DHCP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
DHCP Relay Servers and DHCP Servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Legacy DHCP and Extended DHCP for Server Versions . . . . . . . . . . . . . . . . . . 5
Configuring DHCP on a Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
How DHCP Works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Configuring DHCP Services (J-Web Procedure) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Configuring DHCP Services (J-Web Procedure) on EX Series Switches . . . . . . 7
Configuring DHCP Services on EX4300 Switches (J-Web Procedure) . . . . . . 10
Configuring a Switch as a DHCP Server (CLI Procedure) . . . . . . . . . . . . . . . . . . . . 14
Configuring the Switch as a Local DHCP Server . . . . . . . . . . . . . . . . . . . . . . . . 15
Configuring a DHCP Client (CLI Procedure) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Configuring a DHCP SIP Server (CLI Procedure) . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Chapter 2 DHCP Local Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Extended DHCP Local Server Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Interaction Among the DHCP Client, Extended DHCP Local Server, and
Address-Assignment Pools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Providing DHCP Client Configuration Information . . . . . . . . . . . . . . . . . . . . . . 25
Minimal Configuration for Clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
DHCP Local Server and Address-Assignment Pools . . . . . . . . . . . . . . . . . . . . 26
Example: Minimum Extended DHCP Local Server Configuration . . . . . . . . . . . . . . 27
Overriding Default DHCP Local Server Configuration Settings . . . . . . . . . . . . . . . 28
Deleting DHCP Local Server and DHCP Relay Override Settings . . . . . . . . . . . . . . 30
iiiCopyright © 2017, Juniper Networks, Inc.
Configuring a Token for DHCP Local Server Authentication . . . . . . . . . . . . . . . . . . 31
Centrally Configured Opaque DHCP Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Data Flow for RADIUS-Sourced DHCP Options . . . . . . . . . . . . . . . . . . . . . . . 34
Multiple VSA 26-55 Instances Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . 35
DHCP Options That Cannot Be Centrally Configured . . . . . . . . . . . . . . . . . . . 35
Port Number Requirements for DHCP Firewall Filters . . . . . . . . . . . . . . . . . . . . . . 36
Verifying and Managing DHCP Local Server Configuration . . . . . . . . . . . . . . . . . . . 37
Chapter 3 DHCPv6 Local Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
DHCPv6 Local Server Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Enabling DHCPv6 Rapid Commit Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Specifying the Delegated Address Pool for IPv6 Prefix Assignment . . . . . . . . . . . 42
Preventing Binding of Clients That Do Not Support Reconfigure Messages . . . . . 42
Verifying and Managing DHCPv6 Local Server Configuration . . . . . . . . . . . . . . . . 43
Chapter 4 DHCP Relay Agent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Extended DHCP Relay Agent Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Interaction Among the DHCP Relay Agent, DHCP Client, and DHCP
Servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
DHCP Liveness Detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Configuring an Extended DHCP Relay Server on EX Series Switches (CLI
Procedure) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Example: Minimum DHCP Relay Agent Configuration . . . . . . . . . . . . . . . . . . . . . . 50
DHCP Relay Proxy Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Interaction Among DHCP Relay Proxy, DHCP Client, and DHCP Servers . . . . 51
Enabling DHCP Relay Proxy Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Example: Configuring DHCP Relay Agent Selective Traffic Processing Based on
DHCP Option Strings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Using Layer 2 Unicast Transmission for DHCP Packets . . . . . . . . . . . . . . . . . . . . . 58
Sending Release Messages When Clients Are Deleted . . . . . . . . . . . . . . . . . . . . . 58
Disabling Automatic Binding of Stray DHCP Requests . . . . . . . . . . . . . . . . . . . . . 59
Using DHCP Relay Agent Option 82 Information . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Configuring Option 82 Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Including a Prefix in DHCP Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Including a Textual Description in DHCP Options . . . . . . . . . . . . . . . . . . . . . . 65
Trusting Option 82 Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Overriding the Default DHCP Relay Configuration Settings . . . . . . . . . . . . . . . . . . 68
Overriding Option 82 Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
Changing the Gateway IP Address (giaddr) Field to the giaddr of the DHCP Relay
Agent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Replacing the DHCP Relay Request and Release Packet Source Address . . . . . . . 72
Enabling and Disabling DHCP Snooped Packets Support for DHCP Relay
Agent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Configuring DHCP Snooped Packets Forwarding Support for DHCP Relay
Agent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Configuring Named Server Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Configuring Active Server Groups to Apply a Common DHCP Relay Agent
Configuration to Named Server Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
Disabling DHCP Relay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
Verifying and Managing DHCP Relay Configuration . . . . . . . . . . . . . . . . . . . . . . . . 81
Copyright © 2017, Juniper Networks, Inc.iv
DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches
Suppressing DHCP Access, Access-Internal, and Destination Routes . . . . . . . . . . 81
Preventing DHCP from Installing Access, Access-Internal, and Destination Routes
by Default . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Chapter 5 DHCPv6 Relay Agent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
DHCPv6 Relay Agent Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Inserting DHCPv6 Interface-ID Option (Option 18) In DHCPv6 Packets . . . . . . . . 86
Verifying and Managing DHCPv6 Relay Configuration . . . . . . . . . . . . . . . . . . . . . . 87
Chapter 6 Configuring Groups of DHCP Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Grouping Interfaces with Common DHCP Configurations . . . . . . . . . . . . . . . . . . . 89
Guidelines for Configuring Interface Ranges for Groups of DHCP Interfaces . . . . 90
Configuring Group-Specific DHCP Local Server Options . . . . . . . . . . . . . . . . . . . . 91
Configuring Group-Specific DHCP Relay Options . . . . . . . . . . . . . . . . . . . . . . . . . 92
Chapter 7 DHCP Liveness Detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
DHCP Liveness Detection Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
Configuring Detection of DHCP Local Server Client Connectivity . . . . . . . . . . . . . 96
Configuring Detection of DHCP Relay or DHCP Relay Proxy Client
Connectivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Chapter 8 Managing DHCP Clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Using External AAA Authentication Services with DHCP . . . . . . . . . . . . . . . . . . . 101
Configuring Passwords for Usernames . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
Creating Unique Usernames for DHCP Clients . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Specifying the Maximum Number of DHCP Clients Per Interface . . . . . . . . . . . . 106
DHCP Local Server Handling of Client Information Request Messages . . . . . . . . 107
Enabling Processing of Client Information Requests . . . . . . . . . . . . . . . . . . . . . . 108
Chapter 9 Forcing Dynamic Reconfiguration of Clients from a DHCP Local Server . . 111
Understanding Dynamic Reconfiguration of Extended DHCP Local Server
Clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Default Client/Server Interaction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Dynamic Client/Server Interaction for DHCPv4 . . . . . . . . . . . . . . . . . . . . . . . 112
Dynamic Client/Server Interaction for DHCPv6 . . . . . . . . . . . . . . . . . . . . . . . 112
Manually Forcing the Local Server to Initiate the Reconfiguration
Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
Action Taken for Events That Occur During a Reconfiguration . . . . . . . . . . . . 113
Configuring Dynamic Client Reconfiguration of Extended Local Server
Clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
Requesting DHCP Local Server to Initiate Reconfiguration of Client Bindings . . . 116
Configuring Dynamic Reconfiguration Attempts for DHCP Clients . . . . . . . . . . . . 117
Configuring Deletion of the Client When Dynamic Reconfiguration Fails . . . . . . . 118
Configuring Reconfiguration of the Client on Receipt of RADIUS-Initiated
Disconnect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
vCopyright © 2017, Juniper Networks, Inc.
Table of Contents
Chapter 10 Managing IP Address Assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Address-Assignment Pools Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Configuring How the Extended DHCP Local Server Determines Which
Address-Assignment Pool to Use . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
Example: Extended DHCP Local Server Configuration with Optional Pool
Matching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
DHCP Auto Logout Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
Auto Logout Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
How DHCP Identifies and Releases Clients . . . . . . . . . . . . . . . . . . . . . . . . . . 125
Option 60 and Option 82 Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
How DHCP Relay Agent Uses Option 82 for Auto Logout . . . . . . . . . . . . . . . . . . . 126
Automatically Logging Out DHCP Clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
Assign a Specific IP Address to a Client Using DHCP Option 50 and DHCPv6
IA_NA Option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Multiple Address Assignment for DHCPv6 Clients . . . . . . . . . . . . . . . . . . . . . . . . 129
Part 2 Other System Services
Chapter 11 Configuring Packet Forwarding Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
Configuring Port-based LAN Broadcast Packet Forwarding . . . . . . . . . . . . . . . . . 133
Part 3 Configuration Statements and Operational Commands
Chapter 12 Configuration Statements (DHCP and DHCP Relay) . . . . . . . . . . . . . . . . . . 137
access (Dynamic Access Routes) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
access-internal (Dynamic Access-Internal Routes) . . . . . . . . . . . . . . . . . . . . . . . 142
active-server-group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
allow-no-end-option (DHCP Relay Agent) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
allow-snooped-clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
always-write-giaddr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
always-write-option-82 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
attempts (DHCP Local Server) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
authentication (DHCP Local Server) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
authentication (DHCP Relay Agent) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
bfd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
circuit-id (DHCP Relay Agent) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
circuit-type (DHCP Local Server) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
circuit-type (DHCP Relay Agent) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
clear-on-abort (DHCP Local Server) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
client-discover-match (DHCP Local Server) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
client-id (DHCP Local Server) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
client-id (DHCP Relay Agent) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
delegated-pool (DHCP Local Server) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
delimiter (DHCP Local Server) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
delimiter (DHCP Relay Agent) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
detection-time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
dhcp (DHCP Client) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
dhcp-local-server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
dhcp-relay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
Copyright © 2017, Juniper Networks, Inc.vi
DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches
dhcpv6 (DHCP Local Server) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
dhcpv6 (DHCP Relay Agent) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
disable-relay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
domain-name (DHCP Local Server) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
domain-name (DHCP Relay Agent) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
domain-search . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
drop (DHCP Relay Agent Option) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
dynamic-profile (DHCP Local Server) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199
dynamic-profile (DHCP Relay Agent) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
external-authority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
failure-action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
forward-snooped-clients (DHCP Local Server) . . . . . . . . . . . . . . . . . . . . . . . . . . 203
forward-snooped-clients (DHCP Relay Agent) . . . . . . . . . . . . . . . . . . . . . . . . . . 204
group (DHCP Local Server) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
group (DHCP Relay Agent) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
holddown-interval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
include-irb-and-l2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
interface (DHCP Local Server) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
interface (DHCP Relay Agent) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216
interface-client-limit (DHCP Local Server) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
interface-client-limit (DHCP Relay Agent) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
interface-delete (Subscriber Management or DHCP Client Management) . . . . . 221
interface-name (DHCP Local Server) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
interface-name (DHCP Relay Agent) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
ip-address-first . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
layer2-unicast-replies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
lease-time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
liveness-detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
local-server-group (DHCP Relay Agent Option) . . . . . . . . . . . . . . . . . . . . . . . . . 228
mac-address (DHCP Local Server) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
mac-address (DHCP Relay Agent) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
maximum-hop-count . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
maximum-lease-time (DHCP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
minimum-interval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
minimum-receive-interval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
minimum-wait-time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
multiplier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
name-server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
next-hop (Dynamic Access-Internal Routes) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
no-adaptation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240
no-allow-snooped-clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
no-bind-on-request (DHCP Relay Agent) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242
no-listen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
no-vlan-interface-name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244
option-60 (DHCP Local Server) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246
option-60 (DHCP Relay Agent) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
option-82 (DHCP Local Server Authentication) . . . . . . . . . . . . . . . . . . . . . . . . . 248
option-82 (DHCP Local Server Pool Matching) . . . . . . . . . . . . . . . . . . . . . . . . . . 249
viiCopyright © 2017, Juniper Networks, Inc.
Table of Contents
option-82 (DHCP Relay Agent) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250
option-number (DHCP Relay Agent Option) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251
overrides (DHCP Local Server) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252
overrides (DHCP Relay Agent) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254
password (DHCP Local Server) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256
password (DHCP Relay Agent) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
pool (DHCP Local Server Overrides) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259
pool-match-order . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260
preference (Subscriber Management) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
prefix (DHCP Relay Agent) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
process-inform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
proxy-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265
radius-disconnect (DHCP Local Server) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266
rapid-commit (DHCPv6 Local Server) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
reconfigure (DHCP Local Server) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268
relay-agent-interface-id (DHCP Local Server) . . . . . . . . . . . . . . . . . . . . . . . . . . . 269
relay-agent-interface-id (DHCPv6 Relay Agent) . . . . . . . . . . . . . . . . . . . . . . . . . 270
relay-agent-remote-id (DHCP Local Server) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271
relay-agent-remote-id (DHCPv6 Relay Agent Username) . . . . . . . . . . . . . . . . . . 272
relay-option (DHCP Relay Agent) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273
relay-option-82 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
relay-server-group (DHCP Relay Agent Option) . . . . . . . . . . . . . . . . . . . . . . . . . . 275
replace-ip-source-with . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276
retransmission-attempt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277
retransmission-interval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 278
route-suppression (DHCP Local Server and Relay Agent) . . . . . . . . . . . . . . . . . . 279
routing-instance-name (DHCP Local Server) . . . . . . . . . . . . . . . . . . . . . . . . . . . 280
routing-instance-name (DHCP Relay Agent) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282
send-release-on-delete (DHCP Relay Agent) . . . . . . . . . . . . . . . . . . . . . . . . . . . 284
server (DNS, Port, and TFTP Service) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285
server-address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286
server-group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287
server-identifier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
service-profile (DHCP Local Server) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289
service-profile (DHCP Relay Agent) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290
session-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
sip-server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292
source-address-giaddr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293
static-binding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294
strict (DHCP Local Server) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
threshold (detection-time) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
threshold (transmit-interval) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297
timeout (DHCP Local Server) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298
token (DHCP Local Server) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299
trace (DHCP Relay Agent) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300
traceoptions (DHCP Server) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301
traceoptions (DNS, Port, and TFTP Packet Forwarding) . . . . . . . . . . . . . . . . . . . 304
transmit-interval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306
trigger (DHCP Local Server) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307
Copyright © 2017, Juniper Networks, Inc.viii
DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches
trust-option-82 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308
use-interface-description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
use-primary (DHCP Local Server) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 311
use-primary (DHCP Relay Agent) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312
use-vlan-id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
user-prefix (DHCP Local Server) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 316
username-include (DHCP Local Server) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318
username-include (DHCP Relay Agent) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320
version (BFD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 322
wins-server (System) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323
Chapter 13 Configuration Statements (Forwarding Options) . . . . . . . . . . . . . . . . . . . . 325
description (Forwarding Options) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 326
helpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327
interface (DNS, Port, and TFTP Packet Forwarding or Relay Agent) . . . . . . . . . . 330
no-listen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331
port (Packet Forwarding) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 332
server (DNS, Port, and TFTP Service) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 334
traceoptions (DNS, Port, and TFTP Packet Forwarding) . . . . . . . . . . . . . . . . . . . 335
Chapter 14 Operational Commands (DHCP and DHCP Relay) . . . . . . . . . . . . . . . . . . . . 337
clear dhcp relay binding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 339
clear dhcp server binding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342
clear dhcp relay statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345
clear dhcp server statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 348
clear dhcpv6 relay binding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 350
clear dhcpv6 server binding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 353
clear dhcpv6 relay statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356
clear dhcpv6 server statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358
clear system services dhcp binding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 359
clear system services dhcp conflict . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360
clear system services dhcp statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 361
request dhcp server reconfigure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 362
request dhcpv6 server reconfigure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 364
request system reboot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366
show dhcp relay binding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 372
show dhcp server binding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 378
show dhcp relay statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385
show dhcp server statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 389
show dhcpv6 relay binding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 393
show dhcpv6 server binding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 401
show dhcpv6 relay statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407
show dhcpv6 server statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 411
show route extensive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 414
show route protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 432
show system services dhcp binding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 445
show system services dhcp conflict . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 448
show system services dhcp global . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 449
show system services dhcp pool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 451
show system services dhcp statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 454
ixCopyright © 2017, Juniper Networks, Inc.
Table of Contents
Copyright © 2017, Juniper Networks, Inc.x
DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches
List of Figures
Part 1 DHCP and DHCP Relay
Chapter 1 DHCP Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Figure 1: DHCP Client/Server Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Figure 2: DHCP Four-Step Transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Chapter 2 DHCP Local Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Figure 3: DHCP Options Data Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
xiCopyright © 2017, Juniper Networks, Inc.
Copyright © 2017, Juniper Networks, Inc.xii
DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches
List of Tables
About the Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
Table 1: Notice Icons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii
Table 2: Text and Syntax Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviii
Part 1 DHCP and DHCP Relay
Chapter 1 DHCP Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Table 3: Legacy DHCP and Extended DHCP Server Hierarchy Levels . . . . . . . . . . . 5
Table 4: DHCP Service Configuration Pages Summary . . . . . . . . . . . . . . . . . . . . . . 8
Table 5: DHCP Service Configuration Pages Summary for EX4300 Switches . . . . 10
Table 6: DHCP Client Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Chapter 2 DHCP Local Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Table 7: Comparing the Extended DHCP Local Server to the Traditional DHCP
Local Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Table 8: Information in Authentication Grant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Table 9: Unsupported Opaque DHCP Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Chapter 3 DHCPv6 Local Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Table 10: RADIUS Attributes and VSAs for DHCPv6 Local Server . . . . . . . . . . . . . 40
Chapter 4 DHCP Relay Agent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Table 11: Actions for DHCP Relay Agent Snooped Packets When DHCP Snooping
Is Enabled . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Table 12: Actions for DHCP Relay Agent Snooped Packets When DHCP Snooping
Is Disabled . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Table 13: Actions for Snooped BOOTREPLY Packets . . . . . . . . . . . . . . . . . . . . . . . 78
Chapter 9 Forcing Dynamic Reconfiguration of Clients from a DHCP Local Server . . 111
Table 14: Action Taken for Events That Occur During a Reconfiguration . . . . . . . . 113
Chapter 10 Managing IP Address Assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Table 15: DHCP Relay Agent Option 82 Value for Auto Logout . . . . . . . . . . . . . . . 126
Part 3 Configuration Statements and Operational Commands
Chapter 14 Operational Commands (DHCP and DHCP Relay) . . . . . . . . . . . . . . . . . . . . 337
Table 16: clear dhcp relay statistics Output Fields . . . . . . . . . . . . . . . . . . . . . . . . 346
Table 17: show dhcp relay binding Output Fields . . . . . . . . . . . . . . . . . . . . . . . . . . 373
Table 18: show dhcp server binding Output Fields . . . . . . . . . . . . . . . . . . . . . . . . 379
Table 19: show dhcp relay statistics Output Fields . . . . . . . . . . . . . . . . . . . . . . . . 386
Table 20: show dhcp server statistics Output Fields . . . . . . . . . . . . . . . . . . . . . . 390
Table 21: show dhcpv6 relay binding Output Fields . . . . . . . . . . . . . . . . . . . . . . . 394
xiiiCopyright © 2017, Juniper Networks, Inc.
Table 22: show dhcpv6 server binding Output Fields . . . . . . . . . . . . . . . . . . . . . . 402
Table 23: show dhcpv6 relay statistics Output Fields . . . . . . . . . . . . . . . . . . . . . 408
Table 24: show dhcpv6 server statistics Output Fields . . . . . . . . . . . . . . . . . . . . . 412
Table 25: show route extensive Output Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . 414
Table 26: show system services dhcp binding Output Fields . . . . . . . . . . . . . . . 445
Table 27: show system services dhcp conflict Output Fields . . . . . . . . . . . . . . . . 448
Table 28: show system services dhcp global Output Fields . . . . . . . . . . . . . . . . 449
Table 29: show system services dhcp pool Output Fields . . . . . . . . . . . . . . . . . . 451
Table 30: show system services dhcp statistics Output Fields . . . . . . . . . . . . . . 454
Copyright © 2017, Juniper Networks, Inc.xiv
DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches
About the Documentation
Documentation and Release Notes on page xv
Supported Platforms on page xv
Using the Examples in This Manual on page xv
Documentation Conventions on page xvii
Documentation Feedback on page xix
Requesting Technical Support on page xix
Documentation and Release Notes
To obtain the most current version of all Juniper Networks
®
technical documentation,
see the product documentation page on the Juniper Networks website at
http://www.juniper.net/techpubs/.
If the information in the latest release notes differs from the information in the
documentation, follow the product Release Notes.
Juniper Networks Books publishes books by Juniper Networks engineers and subject
matter experts. These books go beyond the technical documentation to explore the
nuances of network architecture, deployment, and administration. The current list can
be viewed at http://www.juniper.net/books.
Supported Platforms
For the features described in this document, the following platforms are supported:
EX Series
Using the Examples in This Manual
If you want to use the examples in this manual, you can use the load merge or the load
merge relative command. These commands cause the software to merge the incoming
configuration into the current candidate configuration. The example does not become
active until you commit the candidate configuration.
If the example configuration contains the top level of the hierarchy (or multiple
hierarchies), the example is a full example. In this case, use the load merge command.
xvCopyright © 2017, Juniper Networks, Inc.
If the example configuration does not start at the top level of the hierarchy, the example
is a snippet. In this case, use the load merge relative command. These procedures are
described in the following sections.
Merging a Full Example
To merge a full example, follow these steps:
1. From the HTML or PDF version of the manual, copy a configuration example into a
text file, save the file with a name, and copy the file to a directory on your routing
platform.
For example, copy the following configuration to a file and name the file ex-script.conf.
Copy the ex-script.conf file to the /var/tmp directory on your routing platform.
system {
scripts {
commit {
file ex-script.xsl;
}
}
}
interfaces {
fxp0 {
disable;
unit 0 {
family inet {
address 10.0.0.1/24;
}
}
}
}
2. Merge the contents of the file into your routing platform configuration by issuing the
load merge configuration mode command:
[edit]
user@host# load merge /var/tmp/ex-script.conf
load complete
Merging a Snippet
To merge a snippet, follow these steps:
1. From the HTML or PDF version of the manual, copy a configuration snippet into a text
file, save the file with a name, and copy the file to a directory on your routing platform.
For example, copy the following snippet to a file and name the file
ex-script-snippet.conf. Copy the ex-script-snippet.conf file to the /var/tmp directory
on your routing platform.
commit {
file ex-script-snippet.xsl; }
Copyright © 2017, Juniper Networks, Inc.xvi
DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches
2. Move to the hierarchy level that is relevant for this snippet by issuing the following
configuration mode command:
[edit]
user@host# edit system scripts
[edit system scripts]
3. Merge the contents of the file into your routing platform configuration by issuing the
load merge relative configuration mode command:
[edit system scripts]
user@host# load merge relative /var/tmp/ex-script-snippet.conf
load complete
For more information about the load command, see CLI Explorer.
Documentation Conventions
Table 1 on page xvii defines notice icons used in this guide.
Table 1: Notice Icons
DescriptionMeaningIcon
Indicates important features or instructions.Informational note
Indicates a situation that might result in loss of data or hardware damage.Caution
Alerts you to the risk of personal injury or death.Warning
Alerts you to the risk of personal injury from a laser.Laser warning
Indicates helpful information.Tip
Alerts you to a recommended use or implementation.Best practice
Table 2 on page xviii defines the text and syntax conventions used in this guide.
xviiCopyright © 2017, Juniper Networks, Inc.
About the Documentation
Table 2: Text and Syntax Conventions
ExamplesDescriptionConvention
To enter configuration mode, type the
configure command:
user@host> configure
Represents text that you type.Bold text like this
user@host> show chassis alarms
No alarms currently active
Represents output that appears on the
terminal screen.
Fixed-width text like this
A policy term is a named structure
that defines match conditions and
actions.
Junos OS CLI User Guide
RFC 1997, BGP Communities Attribute
Introduces or emphasizes important
new terms.
Identifies guide names.
Identifies RFC and Internet draft titles.
Italic text like this
Configure the machine’s domain name:
[edit]
root@# set system domain-name
domain-name
Represents variables (options for which
you substitute a value) in commands or
configuration statements.
Italic text like this
To configure a stub area, include the
stub statement at the [edit protocols
ospf area area-id] hierarchy level.
The console port is labeled CONSOLE.
Represents names of configuration
statements, commands, files, and
directories; configuration hierarchy levels;
or labels on routing platform
components.
Text like this
stub <default-metric metric>;Encloses optional keywords or variables.< > (angle brackets)
broadcast | multicast
(string1 | string2 | string3)
Indicates a choice between the mutually
exclusive keywords or variables on either
side of the symbol. The set of choices is
often enclosed in parentheses for clarity.
| (pipe symbol)
rsvp { # Required for dynamic MPLS onlyIndicates a comment specified on the
same line as the configuration statement
to which it applies.
# (pound sign)
community name members [
community-ids ]
Encloses a variable for which you can
substitute one or more values.
[ ] (square brackets)
[edit]
routing-options {
static {
route default {
nexthop address;
retain;
}
}
}
Identifies a level in the configuration
hierarchy.
Indention and braces ( { } )
Identifies a leaf statement at a
configuration hierarchy level.
; (semicolon)
GUI Conventions
Copyright © 2017, Juniper Networks, Inc.xviii
DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches
Table 2: Text and Syntax Conventions (continued)
ExamplesDescriptionConvention
In the Logical Interfaces box, select
All Interfaces.
To cancel the configuration, click
Cancel.
Represents graphical user interface (GUI)
items you click or select.
Bold text like this
In the configuration editor hierarchy,
select Protocols>Ospf.
Separates levels in a hierarchy of menu
selections.
> (bold right angle bracket)
Documentation Feedback
We encourage you to provide feedback, comments, and suggestions so that we can
improve the documentation. You can provide feedback by using either of the following
methods:
Online feedback rating system—On any page of the Juniper Networks TechLibrary site
at http://www.juniper.net/techpubs/index.html, simply click the stars to rate the content,
and use the pop-up form to provide us with information about your experience.
Alternately, you can use the online feedback form at
http://www.juniper.net/techpubs/feedback/.
E-mail—Send your comments to techpubs-comments@juniper.net. Include the document
or topic name, URL or page number, and software version (if applicable).
Requesting Technical Support
Technical product support is available through the Juniper Networks Technical Assistance
Center (JTAC). If you are a customer with an active J-Care or Partner Support Service
support contract, or are covered under warranty, and need post-sales technical support,
you can access our tools and resources online or open a case with JTAC.
JTAC policies—For a complete understanding of our JTAC procedures and policies,
review the JTAC User Guide located at
http://www.juniper.net/us/en/local/pdf/resource-guides/7100059-en.pdf.
Product warranties—For product warranty information, visit
http://www.juniper.net/support/warranty/.
JTAC hours of operation—The JTAC centers have resources available 24 hours a day,
7 days a week, 365 days a year.
Self-Help Online Tools and Resources
For quick and easy problem resolution, Juniper Networks has designed an online
self-service portal called the Customer Support Center (CSC) that provides you with the
following features:
xixCopyright © 2017, Juniper Networks, Inc.
About the Documentation
Find CSC offerings: http://www.juniper.net/customers/support/
Search for known bugs: http://www2.juniper.net/kb/
Find product documentation: http://www.juniper.net/techpubs/
Find solutions and answer questions using our Knowledge Base: http://kb.juniper.net/
Download the latest versions of software and review release notes:
http://www.juniper.net/customers/csc/software/
Search technical bulletins for relevant hardware and software notifications:
http://kb.juniper.net/InfoCenter/
Join and participate in the Juniper Networks Community Forum:
http://www.juniper.net/company/communities/
Open a case online in the CSC Case Management tool: http://www.juniper.net/cm/
To verify service entitlement by product serial number, use our Serial Number Entitlement
(SNE) Tool: https://tools.juniper.net/SerialNumberEntitlementSearch/
Opening a Case with JTAC
You can open a case with JTAC on the Web or by telephone.
Use the Case Management tool in the CSC at http://www.juniper.net/cm/.
Call 1-888-314-JTAC (1-888-314-5822 toll-free in the USA, Canada, and Mexico).
For international or direct-dial options in countries without toll-free numbers, see
http://www.juniper.net/support/requesting-support.html.
Copyright © 2017, Juniper Networks, Inc.xx
DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199
  • Page 200 200
  • Page 201 201
  • Page 202 202
  • Page 203 203
  • Page 204 204
  • Page 205 205
  • Page 206 206
  • Page 207 207
  • Page 208 208
  • Page 209 209
  • Page 210 210
  • Page 211 211
  • Page 212 212
  • Page 213 213
  • Page 214 214
  • Page 215 215
  • Page 216 216
  • Page 217 217
  • Page 218 218
  • Page 219 219
  • Page 220 220
  • Page 221 221
  • Page 222 222
  • Page 223 223
  • Page 224 224
  • Page 225 225
  • Page 226 226
  • Page 227 227
  • Page 228 228
  • Page 229 229
  • Page 230 230
  • Page 231 231
  • Page 232 232
  • Page 233 233
  • Page 234 234
  • Page 235 235
  • Page 236 236
  • Page 237 237
  • Page 238 238
  • Page 239 239
  • Page 240 240
  • Page 241 241
  • Page 242 242
  • Page 243 243
  • Page 244 244
  • Page 245 245
  • Page 246 246
  • Page 247 247
  • Page 248 248
  • Page 249 249
  • Page 250 250
  • Page 251 251
  • Page 252 252
  • Page 253 253
  • Page 254 254
  • Page 255 255
  • Page 256 256
  • Page 257 257
  • Page 258 258
  • Page 259 259
  • Page 260 260
  • Page 261 261
  • Page 262 262
  • Page 263 263
  • Page 264 264
  • Page 265 265
  • Page 266 266
  • Page 267 267
  • Page 268 268
  • Page 269 269
  • Page 270 270
  • Page 271 271
  • Page 272 272
  • Page 273 273
  • Page 274 274
  • Page 275 275
  • Page 276 276
  • Page 277 277
  • Page 278 278
  • Page 279 279
  • Page 280 280
  • Page 281 281
  • Page 282 282
  • Page 283 283
  • Page 284 284
  • Page 285 285
  • Page 286 286
  • Page 287 287
  • Page 288 288
  • Page 289 289
  • Page 290 290
  • Page 291 291
  • Page 292 292
  • Page 293 293
  • Page 294 294
  • Page 295 295
  • Page 296 296
  • Page 297 297
  • Page 298 298
  • Page 299 299
  • Page 300 300
  • Page 301 301
  • Page 302 302
  • Page 303 303
  • Page 304 304
  • Page 305 305
  • Page 306 306
  • Page 307 307
  • Page 308 308
  • Page 309 309
  • Page 310 310
  • Page 311 311
  • Page 312 312
  • Page 313 313
  • Page 314 314
  • Page 315 315
  • Page 316 316
  • Page 317 317
  • Page 318 318
  • Page 319 319
  • Page 320 320
  • Page 321 321
  • Page 322 322
  • Page 323 323
  • Page 324 324
  • Page 325 325
  • Page 326 326
  • Page 327 327
  • Page 328 328
  • Page 329 329
  • Page 330 330
  • Page 331 331
  • Page 332 332
  • Page 333 333
  • Page 334 334
  • Page 335 335
  • Page 336 336
  • Page 337 337
  • Page 338 338
  • Page 339 339
  • Page 340 340
  • Page 341 341
  • Page 342 342
  • Page 343 343
  • Page 344 344
  • Page 345 345
  • Page 346 346
  • Page 347 347
  • Page 348 348
  • Page 349 349
  • Page 350 350
  • Page 351 351
  • Page 352 352
  • Page 353 353
  • Page 354 354
  • Page 355 355
  • Page 356 356
  • Page 357 357
  • Page 358 358
  • Page 359 359
  • Page 360 360
  • Page 361 361
  • Page 362 362
  • Page 363 363
  • Page 364 364
  • Page 365 365
  • Page 366 366
  • Page 367 367
  • Page 368 368
  • Page 369 369
  • Page 370 370
  • Page 371 371
  • Page 372 372
  • Page 373 373
  • Page 374 374
  • Page 375 375
  • Page 376 376
  • Page 377 377
  • Page 378 378
  • Page 379 379
  • Page 380 380
  • Page 381 381
  • Page 382 382
  • Page 383 383
  • Page 384 384
  • Page 385 385
  • Page 386 386
  • Page 387 387
  • Page 388 388
  • Page 389 389
  • Page 390 390
  • Page 391 391
  • Page 392 392
  • Page 393 393
  • Page 394 394
  • Page 395 395
  • Page 396 396
  • Page 397 397
  • Page 398 398
  • Page 399 399
  • Page 400 400
  • Page 401 401
  • Page 402 402
  • Page 403 403
  • Page 404 404
  • Page 405 405
  • Page 406 406
  • Page 407 407
  • Page 408 408
  • Page 409 409
  • Page 410 410
  • Page 411 411
  • Page 412 412
  • Page 413 413
  • Page 414 414
  • Page 415 415
  • Page 416 416
  • Page 417 417
  • Page 418 418
  • Page 419 419
  • Page 420 420
  • Page 421 421
  • Page 422 422
  • Page 423 423
  • Page 424 424
  • Page 425 425
  • Page 426 426
  • Page 427 427
  • Page 428 428
  • Page 429 429
  • Page 430 430
  • Page 431 431
  • Page 432 432
  • Page 433 433
  • Page 434 434
  • Page 435 435
  • Page 436 436
  • Page 437 437
  • Page 438 438
  • Page 439 439
  • Page 440 440
  • Page 441 441
  • Page 442 442
  • Page 443 443
  • Page 444 444
  • Page 445 445
  • Page 446 446
  • Page 447 447
  • Page 448 448
  • Page 449 449
  • Page 450 450
  • Page 451 451
  • Page 452 452
  • Page 453 453
  • Page 454 454
  • Page 455 455
  • Page 456 456
  • Page 457 457
  • Page 458 458
  • Page 459 459
  • Page 460 460
  • Page 461 461
  • Page 462 462
  • Page 463 463
  • Page 464 464
  • Page 465 465
  • Page 466 466
  • Page 467 467
  • Page 468 468
  • Page 469 469
  • Page 470 470
  • Page 471 471
  • Page 472 472
  • Page 473 473
  • Page 474 474
  • Page 475 475
  • Page 476 476

Juniper EX3400 Features Manual

Category
Software
Type
Features Manual
This manual is also suitable for

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI