Juniper EX3400 Features Manual

Juniper EX3400 Features Manual

Dhcp and other system services feature guide
Hide thumbs Also See for EX3400:
Table of Contents

Advertisement

DHCP and Other System Services Feature Guide
for EX2300, EX3400, and EX4300 Switches
Modified: 2017-07-26
Copyright © 2017, Juniper Networks, Inc.

Advertisement

Table of Contents
loading

Summary of Contents for Juniper EX3400

  • Page 1 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Modified: 2017-07-26 Copyright © 2017, Juniper Networks, Inc.
  • Page 2 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.
  • Page 3: Table Of Contents

    Overriding Default DHCP Local Server Configuration Settings ....28 Deleting DHCP Local Server and DHCP Relay Override Settings ....30 Copyright © 2017, Juniper Networks, Inc.
  • Page 4 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Configuring a Token for DHCP Local Server Authentication ....31 Centrally Configured Opaque DHCP Options .
  • Page 5 Disconnect ........... . 119 Copyright © 2017, Juniper Networks, Inc.
  • Page 6 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Chapter 10 Managing IP Address Assignment ........121 Address-Assignment Pools Overview .
  • Page 7 (DHCP Local Server Authentication) ......248 option-82 (DHCP Local Server Pool Matching) ......249 Copyright © 2017, Juniper Networks, Inc.
  • Page 8 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches option-82 (DHCP Relay Agent) ........250 option-number (DHCP Relay Agent Option) .
  • Page 9 ........454 Copyright © 2017, Juniper Networks, Inc.
  • Page 10 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Copyright © 2017, Juniper Networks, Inc.
  • Page 11: List Of Figures

    Figure 3: DHCP Options Data Flow ........34 Copyright © 2017, Juniper Networks, Inc.
  • Page 12 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Copyright © 2017, Juniper Networks, Inc.
  • Page 13 Table 20: show dhcp server statistics Output Fields ..... . 390 Table 21: show dhcpv6 relay binding Output Fields ..... . . 394 Copyright © 2017, Juniper Networks, Inc. xiii...
  • Page 14 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Table 22: show dhcpv6 server binding Output Fields ..... . 402 Table 23: show dhcpv6 relay statistics Output Fields .
  • Page 15: About The Documentation

    ® 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.
  • Page 16: Merging A Full Example

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches If the example configuration does not start at the top level of the hierarchy, the example is a snippet. In this case, use the command. These procedures are load merge relative described in the following sections.
  • Page 17: Documentation Conventions

    Alerts you to the risk of personal injury from a laser. Indicates helpful information. Best practice Alerts you to a recommended use or implementation. Table 2 on page xviii defines the text and syntax conventions used in this guide. Copyright © 2017, Juniper Networks, Inc. xvii...
  • Page 18: Table 2: Text And Syntax Conventions

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Table 2: Text and Syntax Conventions Convention Description Examples Bold text like this Represents text that you type. To enter configuration mode, type the configure command: user@host> configure...
  • Page 19: 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 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.
  • Page 20: Opening A Case With Jtac

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches 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/...
  • Page 21: Dhcp And Dhcp Relay

    Configuring Groups of DHCP Interfaces on page 89 DHCP Liveness Detection on page 95 Managing DHCP Clients on page 101 Forcing Dynamic Reconfiguration of Clients from a DHCP Local Server on page 111 Managing IP Address Assignment on page 121 Copyright © 2017, Juniper Networks, Inc.
  • Page 22 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Copyright © 2017, Juniper Networks, Inc.
  • Page 23: Dhcp Services

    IP information from an address pool. A DHCP client might receive offer messages from multiple DHCP servers and can accept any one of the offers; however, the client usually accepts the first offer it receives. See Figure 1 on page Copyright © 2017, Juniper Networks, Inc.
  • Page 24: Using Dhcp

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Figure 1: DHCP Client/Server Model Using DHCP DHCP automates network-parameter assignment to network devices. Even in small networks, DHCP is useful because it makes it easy to add new machines to the network.
  • Page 25: Legacy Dhcp And Extended Dhcp For Server Versions

    Extended DHCP relay edit forwarding-options dhcp-relay Legacy DHCP address pool edit system services dhcp pool DHCP clients on a switch are always configured at the hierarchy level [edit interfaces interface-name family dhcp] Copyright © 2017, Juniper Networks, Inc.
  • Page 26: Configuring Dhcp On A Switch

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Configuring DHCP on a Switch A DHCP configuration consists of two parts: the configuration for a DHCP server and the configuration for DHCP clients. The DHCP server configuration is simple if you accept the default configurations.
  • Page 27: Configuring Dhcp Services (J-Web Procedure)

    To commit all changes to the active configuration, select > . See Using Commit Options Commit the Commit Options to Commit Configuration Changes for details about all commit options. Copyright © 2017, Juniper Networks, Inc.
  • Page 28: Table 4: Dhcp Service Configuration Pages Summary

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Table 4: DHCP Service Configuration Pages Summary Field Function Your Action DHCP Pool Information DHCP Subnet (required) Specifies the subnet on which DHCP is Type an IP address prefix.
  • Page 29 Type a client identifier in hexadecimal form. Identifier form, used by the DHCP server to index its database of address bindings. The name must be unique to the client within the subnet on which the client resides. Copyright © 2017, Juniper Networks, Inc.
  • Page 30: Configuring Dhcp Services On Ex4300 Switches (J-Web Procedure)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Configuring DHCP Services on EX4300 Switches (J-Web Procedure) On EX4300 switches, use the DHCP Configuration page to create DHCP pools and set the DHCP parameters for them and to configure DHCP settings for existing DHCP pools and static bindings.
  • Page 31 To remove a NetBIOS name server, select the IP address in the WINS Servers box, and click Remove Domain Name Specifies the domain name that clients must Type the name of the domain. use to resolve hostnames. Copyright © 2017, Juniper Networks, Inc.
  • Page 32 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Table 5: DHCP Service Configuration Pages Summary for EX4300 Switches (continued) Field Function Your Action NetBIOS Node Type Specifies the NetBOIS node that provides the Select the type from the list.
  • Page 33 To enable this option, select the check box. Mac Address Specifies the MAC address of the client PDU To enable this option, select the check box. that is linked with the username during the subscriber authentication process. Copyright © 2017, Juniper Networks, Inc.
  • Page 34: Configuring A Switch As A Dhcp Server (Cli Procedure)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Table 5: DHCP Service Configuration Pages Summary for EX4300 Switches (continued) Field Function Your Action Logical System Name Specifies that the logical system name that is To enable this option, select the check box.
  • Page 35: Configuring The Switch As A Local Dhcp Server

    301 user@switch# set vlans server l3-interface irb.301 user@switch# set interfaces irb.301 family inet address 192.0.2.2/24 Configure the DHCP server for the Layer 3 interface: [edit] user@switch# set system services dhcp-local-server group-name interface interface-name Copyright © 2017, Juniper Networks, Inc.
  • Page 36 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches For example: [edit] user@switch# set system services dhcp-local-server group server1 interface ge-0/0/1 user@switch# set system services dhcp-local-server group server1 interface irb.301 Create an address pool for IPv4 addresses that can be assigned to clients. The addresses in the pool must be on the subnet in which the DHCP clients reside.
  • Page 37: Configuring A Dhcp Client (Cli Procedure)

    IP address configuration back to the client. This topic describes configuring a DHCP client. For directions for configuring a DHCP server, see Configuring a DHCP Server on Switches (CLI Procedure) or “Configuring a DHCP Server on Switches (CLI Procedure)” on page Copyright © 2017, Juniper Networks, Inc.
  • Page 38: Configuring A Dhcp Sip Server (Cli Procedure)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches You can change DHCP client configurations from the switch, using client identifiers to indicate which clients you want to configure. To configure a DHCP client, you configure an interface to belong to the DHCP family and...
  • Page 39 For example, to configure a name: [edit system services dhcp] user@switch set sip-server abc.example.com Related Configuring a DHCP Client (CLI Procedure) on page 17 Documentation Understanding DHCP Services for Switches on page 3 Copyright © 2017, Juniper Networks, Inc.
  • Page 40 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Copyright © 2017, Juniper Networks, Inc.
  • Page 41: Dhcp Local Server

    Configuring a Token for DHCP Local Server Authentication on page 31 Centrally Configured Opaque DHCP Options on page 32 Port Number Requirements for DHCP Firewall Filters on page 36 Verifying and Managing DHCP Local Server Configuration on page 37 Copyright © 2017, Juniper Networks, Inc.
  • Page 42: Extended Dhcp Local Server Overview

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Extended DHCP Local Server Overview Copyright © 2017, Juniper Networks, Inc.
  • Page 43: Chapter 2 Dhcp Local Server

    RADIUS servers Dynamic-profile attachment – RADIUS-based subscriber authentication, and – configuration using RADIUS attributes and Juniper Networks VSAs IPv6 client support – Default minimum client configuration You can also configure the extended DHCP local server to support IPv6 clients. Both DHCP local server and DHCPv6 local server support the specific address request feature, which enables you to assign a particular address to a client.
  • Page 44: Interaction Among The Dhcp Client, Extended Dhcp Local Server, And Address-Assignment Pools

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches NOTE: If you delete the DHCP server configuration, DHCP server bindings might still remain. To ensure that DHCP bindings are removed, issue the clear dhcp server binding command before you delete the DHCP server configuration.
  • Page 45: Providing Dhcp Client Configuration Information

    RADIUS might include in the authentication grant. See RADIUS Attributes and Juniper Networks VSAs Supported by the AAA Service Framework for a complete list of RADIUS attributes and Juniper Networks VSAs that the extended DHCP applications supports for subscriber access management or DHCP management.
  • Page 46: Minimal Configuration For Clients

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Table 8: Information in Authentication Grant (continued) Attribute Number Attribute Name Description RADIUS attribute 88 Framed-Pool Address assignment pool name Juniper Networks VSA 26-109 DHCP-Guided-Relay-Server DHCP relay server...
  • Page 47: Example: Minimum Extended Dhcp Local Server Configuration

    This example creates the server group named , and specifies that the DHCP group_one local server is enabled on interface within the group. The DHCP local server fe-0/0/2.0 uses the default pool match configuration of ip-address-first. Copyright © 2017, Juniper Networks, Inc.
  • Page 48: Overriding Default Dhcp Local Server Configuration Settings

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches NOTE: If you delete the DHCP server configuration, DHCP server bindings might still remain. To ensure that DHCP bindings are removed, issue the clear dhcp server binding command before you delete the DHCP server configuration.
  • Page 49 (Optional) Specify that DHCP NAK and FORCERENEW messages support option 82 information. See Configuring DHCP Message Exchange Between DHCP Server and Clients in Different VRFs. (Optional, DHCPv6 only) Specify a delegated pool name to use for DHCPv6 multiple address assignment. Copyright © 2017, Juniper Networks, Inc.
  • Page 50: Deleting Dhcp Local Server And Dhcp Relay Override Settings

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches See Specifying the Delegated Address-Assignment Pool to Be Used for DHCPv6 Prefix Delegation. (Optional, DHCPv6 only) Enable DHCPv6 rapid commit support. “Enabling DHCPv6 Rapid Commit Support” on page (Optional, DHCPv6 only) Specify that DHCPv6 local server return DNS server addresses as IA_NA or IA_PD suboptions rather than as a global DHCPv6 option.
  • Page 51: Configuring A Token For Dhcp Local Server Authentication

    [edit system services dhcp-local-server group group-name reconfigure] hierarchy level or the [edit system services dhcpv6 dhcp-local-server group group-name reconfigure] hierarchy level. Related Configuring Dynamic Client Reconfiguration of Extended Local Server Clients on page 114 Documentation token on page 299 Copyright © 2017, Juniper Networks, Inc.
  • Page 52: Centrally Configured Opaque Dhcp Options

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Centrally Configured Opaque DHCP Options Copyright © 2017, Juniper Networks, Inc.
  • Page 53 DHCP local server performs minimal processing and error checking for the DHCP options string before passing the options to the subscriber (DHCP client). Subscriber management (or DHCP management) uses Juniper Networks VSA 26-55 (DHCP-Options) to distribute the RADIUS-sourced DHCP options. The RADIUS server includes VSA 26-55 in the Access-Accept message that the server returns during subscriber authentication or DHCP client authentication.
  • Page 54: Data Flow For Radius-Sourced Dhcp Options

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Data Flow for RADIUS-Sourced DHCP Options on page 34 Multiple VSA 26-55 Instances Configuration on page 35 DHCP Options That Cannot Be Centrally Configured on page 35...
  • Page 55: Multiple Vsa 26-55 Instances Configuration

    DHCP Options That Cannot Be Centrally Configured Table 9 on page 36 shows the DHCP options that you must not centrally configure on the RADIUS server. Copyright © 2017, Juniper Networks, Inc.
  • Page 56: Port Number Requirements For Dhcp Firewall Filters

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Table 9: Unsupported Opaque DHCP Options DHCP Option Option Name Comments Option 0 Pad Option Not supported. Option 51 IP Address Lease Time Value is provided by RADIUS attribute 27 (Session-Timeout).
  • Page 57: Verifying And Managing Dhcp Local Server Configuration

    To clear the binding state of a DHCP client from the client table on the extended DHCP local server: user@host> clear dhcp server binding routing-instance customer routing instance To clear all extended DHCP local server statistics: user@host> clear dhcp server statistics routing-instance customer routing instance Related CLI Explorer Documentation Copyright © 2017, Juniper Networks, Inc.
  • Page 58 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Copyright © 2017, Juniper Networks, Inc.
  • Page 59: Dhcpv6 Local Server

    Specifying the Delegated Address Pool for IPv6 Prefix Assignment on page 42 Preventing Binding of Clients That Do Not Support Reconfigure Messages on page 42 Verifying and Managing DHCPv6 Local Server Configuration on page 43 Copyright © 2017, Juniper Networks, Inc.
  • Page 60: Dhcpv6 Local Server Overview

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches DHCPv6 Local Server Overview The DHCPv6 local server is compatible with the DHCP local server and the DHCP relay agent, and can be enabled on the same interface as either the extended DHCP local server or DHCP relay agent.
  • Page 61: Enabling Dhcpv6 Rapid Commit Support

    Related Overriding Default DHCP Local Server Configuration Settings on page 28 Documentation Deleting DHCP Local Server and DHCP Relay Override Settings on page 30 Extended DHCP Local Server Overview on page 22 Copyright © 2017, Juniper Networks, Inc.
  • Page 62: Specifying The Delegated Address Pool For Ipv6 Prefix Assignment

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Specifying the Delegated Address Pool for IPv6 Prefix Assignment You can explicitly specify a delegated address pool: On routers—Subscriber management uses the pool to assign IPv6 prefixes for subscribers.
  • Page 63: Verifying And Managing Dhcpv6 Local Server Configuration

    To display DHCPv6 local server statistics: user@host> show dhcpv6 server statistics To clear all DHCPv6 local server statistics: user@host> clear dhcpv6 server binding To clear all DHCPv6 local server statistics: user@host> clear dhcpv6 server statistics Related CLI Explorer Documentation Copyright © 2017, Juniper Networks, Inc.
  • Page 64 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Copyright © 2017, Juniper Networks, Inc.
  • Page 65: Dhcp Relay Agent

    Disabling DHCP Relay on page 80 Verifying and Managing DHCP Relay Configuration on page 81 Suppressing DHCP Access, Access-Internal, and Destination Routes on page 81 Preventing DHCP from Installing Access, Access-Internal, and Destination Routes by Default on page 82 Copyright © 2017, Juniper Networks, Inc.
  • Page 66: Extended Dhcp Relay Agent Overview

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Extended DHCP Relay Agent Overview You can configure extended DHCP relay options on the router or on the switch and enable the router (or switch) to function as a DHCP relay agent. A DHCP relay agent forwards DHCP request and reply packets between a DHCP client and a DHCP server.
  • Page 67: Interaction Among The Dhcp Relay Agent, Dhcp Client, And Dhcp

    After establishing the initial lease on the IP address, the DHCP client and the DHCP server use unicast transmission to negotiate lease renewal or release. The DHCP relay agent “snoops” on all of the packets unicast between the client and the server that Copyright © 2017, Juniper Networks, Inc.
  • Page 68: Dhcp Liveness Detection

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches pass through the router (or switch) to determine when the lease for this client has expired or been released. This process is referred to as lease shadowing or passive snooping.
  • Page 69: Configuring An Extended Dhcp Relay Server On Ex Series Switches (Cli Procedure)

    (Optional) Configure settings for a DHCP relay group that override the settings at the global level, using these statements: [edit forwarding-options dhcp-relay group group-name] user@switch# set active-server-group server-group-name user@switch# set overrides user@switch# set relay-option option-number Copyright © 2017, Juniper Networks, Inc.
  • Page 70: Example: Minimum Dhcp Relay Agent Configuration

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches (Optional) Configure settings for a DHCP relay group interface that override the settings at the global and levels, using these statements: group [edit forwarding-options dhcp-relay group group-name interface interface-name]...
  • Page 71: Dhcp Relay Proxy Overview

    Interaction Among DHCP Relay Proxy, DHCP Client, and DHCP Servers The DHCP relay agent is configured on the router (or switch), which operates between the DHCP client and one or more DHCP servers. Copyright © 2017, Juniper Networks, Inc.
  • Page 72: Enabling Dhcp Relay Proxy Mode

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches The following steps provide a high-level description of how DHCP relay proxy interacts with DHCP clients and DHCP servers. The DHCP client sends a discover packet to locate a DHCP server in the network from which to obtain configuration parameters for the subscriber.
  • Page 73: Example: Configuring Dhcp Relay Agent Selective Traffic Processing Based On Dhcp Option Strings

    Overview In this example, you configure DHCP relay agent to use DHCP option strings in client packets to selectively identify, filter, and process client traffic. To configure selective processing, you perform the following procedures: Copyright © 2017, Juniper Networks, Inc.
  • Page 74 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Identify the client traffic—Specify the DHCP option that DHCP relay agent uses to identify the client traffic you want to process. The option you specify matches the option in the client traffic.
  • Page 75 [edit forwarding-options] user@host# show dhcp-relay { relay-option { option-number 60; equals { ascii video-gold { forward-only; equals { ascii video-bronze { local-server-group servergroup-15; default-action { drop; starts-with { hexadecimal fffff { local-server-group servergroup-east; Copyright © 2017, Juniper Networks, Inc.
  • Page 76 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches If you are done configuring the device, enter from configuration mode. commit Verification To verify the status of DHCP relay agent selective traffic processing, perform this task:...
  • Page 77 Using DHCP Option Information to Selectively Process DHCP Client Traffic Displaying a Count of DHCP Packets That Are Dropped or Forwarded During Selective Processing That Is Based on DHCP Option Strings Example: Configuring DHCP and DHCPv6 Relay Agent Group-Level Selective Traffic Processing Copyright © 2017, Juniper Networks, Inc.
  • Page 78: Using Layer 2 Unicast Transmission For Dhcp Packets

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Using Layer 2 Unicast Transmission for DHCP Packets You can configure the DHCP relay agent to override the setting of the broadcast bit in DHCP request packets. DHCP relay agent then instead uses the Layer 2 unicast transmission method to send DHCP Offer reply packets and DHCP ACK reply packets from the DHCP server to DHCP clients during the discovery process.
  • Page 79: Disabling Automatic Binding Of Stray Dhcp Requests

    To disable automatic binding of stray requests on a group of interfaces: Specify the named group. [edit forwarding-options dhcp-relay] user@host# edit group boston Specify that you want to configure overrides. Copyright © 2017, Juniper Networks, Inc.
  • Page 80: Using Dhcp Relay Agent Option 82 Information

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches [edit forwarding-options dhcp-relay group boston] user@host# edit overrides Disable automatic binding for the group. [edit forwarding-options dhcp-relay group boston overrides] user@host# set no-bind-on-request To disable automatic binding of stray requests on a specific interface: Specify the named group of which the interface is a member.
  • Page 81: Configuring Option 82 Information

    For Fast Ethernet or Gigabit Ethernet interfaces that do not use VLANs, stacked VLANs (S-VLANs), or bridge domains: (fe | ge)-fpc/pic/port.subunit NOTE: For remote systems, the subunit is required and is used to differentiate an interface. For Fast Ethernet or Gigabit Ethernet interfaces that use VLANs: Copyright © 2017, Juniper Networks, Inc.
  • Page 82 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches (fe | ge)-fpc/pic/port:vlan-id For Fast Ethernet or Gigabit Ethernet interfaces that use S-VLANs: (fe | ge)-fpc/pic/port:svlan-id-vlan-id NOTE: Integrated routing and bridging (IRB) provides simultaneous support for Layer 2 bridging and Layer 3 IP routing on the same interface. IRB enables you to route local packets to another routed interface or to another bridging domain that has a Layer 3 protocol configured.
  • Page 83: Including A Prefix In Dhcp Options

    (/). If you include both the logical system name and the routing instance name in the prefix, these values are separated by a semicolon (;). Copyright © 2017, Juniper Networks, Inc.
  • Page 84 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches The following examples show several possible formats for the DHCP option information when you specify the statement for Fast Ethernet (fe) or Gigabit Ethernet (ge) prefix interfaces with S-VLANs.
  • Page 85: Including A Textual Description In Dhcp Options

    You can include the textual interface description in the following DHCP options: DHCPv4 option 82 Agent Circuit ID (suboption 1) DHCPv4 option 82 Agent Remote ID (suboption 2) DHCPv6 option 18 Relay Agent Interface-ID DHCPv6 option 37 Relay Agent Remote-ID Copyright © 2017, Juniper Networks, Inc.
  • Page 86 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches The textual description is configured separately, using the statement at the description hierarchy level. If you specify that the textual description [edit interfaces interface-name] is used and no description is configured for the interface, DHCP relay defaults to using the Layer 2 interface name.
  • Page 87: Trusting Option 82 Information

    Specify that the DHCP relay agent process DHCP client packets with a giaddr of 0 and that contain option 82 information. [edit forwarding-options dhcp-relay overrides] user@host# set trust-option-82 Related Extended DHCP Relay Agent Overview on page 46 Documentation Overriding the Default DHCP Relay Configuration Settings on page 68 Copyright © 2017, Juniper Networks, Inc.
  • Page 88: Overriding The Default Dhcp Relay Configuration Settings

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Overriding the Default DHCP Relay Configuration Settings You can override the default DHCP relay configuration settings at the global level, for a named group of interfaces, or for a specific interface within a named group.
  • Page 89 IP address (giaddr). “Replacing the DHCP Relay Request and Release Packet Source Address” on page (DHCPv4 only) Override the DHCP relay agent information option (option 82) in DHCP packets. “Overriding Option 82 Information” on page Copyright © 2017, Juniper Networks, Inc.
  • Page 90 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches (DHCPv4 only) Override the setting of the broadcast bit in DHCP request packets and use the Layer 2 unicast transmission method. “Using Layer 2 Unicast Transmission for DHCP Packets” on page (DHCPv4 only) Trust DHCP client packets that have a giaddr of 0 and that contain option 82 information.
  • Page 91: Overriding Option 82 Information

    Specify that the option 82 information in DHCP packets is overwritten. [edit forwarding-options dhcp-relay overrides] user@host# set always-write-option-82 Related Extended DHCP Relay Agent Overview on page 46 Documentation Overriding the Default DHCP Relay Configuration Settings on page 68 Copyright © 2017, Juniper Networks, Inc.
  • Page 92: Agent

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Changing the Gateway IP Address (giaddr) Field to the giaddr of the DHCP Relay Agent You can configure the DHCP relay agent to change the gateway IP address (giaddr) field in packets that it forwards between a DHCP client and a DHCP server.
  • Page 93: Configuring Dhcp Snooped Packets Forwarding Support For Dhcp Relay

    [edit forwarding-options dhcp-relay dhcpv6 overrides] user@host# set allow-snooped-clients To disable DHCP snooping: For DHCP relay agent: [edit forwarding-options dhcp-relay overrides] user@host# set no-allow-snooped-clients For DHCPv6 relay agent: [edit forwarding-options dhcp-relay dhcpv6 overrides] user@host# set no-allow-snooped-clients Copyright © 2017, Juniper Networks, Inc.
  • Page 94 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches For example, to enable global DHCP snooping support : forwarding-options { dhcp-relay { overrides { allow-snooped-clients; To enable or disable DHCP snooping support for a group of interfaces: Specify that you want to configure DHCP relay agent.
  • Page 95 For DHCPv6 relay agent: [edit forwarding-options dhcp-relay dhcpv6 group group-name] user@host# edit interface interface-name Specify that you want to override the default configuration on the interface. For DHCP relay agent: Copyright © 2017, Juniper Networks, Inc.
  • Page 96 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches [edit forwarding-options dhcp-relay group group-name interface interface-name] user@host# edit overrides For DHCPv6 relay agent: [edit forwarding-options dhcp-relay dhcpv6 group group-name interface interface-name] user@host# edit overrides Enable or disable DHCP snooping support.
  • Page 97: Agent

    (or switch) takes for the snooped BOOTREPLY packets. NOTE: Configured interfaces have been configured with the statement group in the hierarchy. Non-configured interfaces [edit forwarding-options dhcp-relay] are in the logical system/routing instance but have not been configured by statement. group Copyright © 2017, Juniper Networks, Inc.
  • Page 98: Table 11: Actions For Dhcp Relay Agent Snooped Packets When Dhcp Snooping

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Table 11: Actions for DHCP Relay Agent Snooped Packets When DHCP Snooping Is Enabled Action on forward-snooped-clients Non-Configured Configuration Action on Configured Interfaces Interfaces forward-snooped-clients snooped packets result in subscriber...
  • Page 99: Configuring Named Server Groups

    Add the IP addresses of the DHCP servers belonging to the group. [edit forwarding-options dhcp-relay server-group myServerGroup] user@host# set 192.168.100.50 user@host# set 192.168.100.75 Related Extended DHCP Relay Agent Overview on page 46 Documentation Copyright © 2017, Juniper Networks, Inc.
  • Page 100: Configuring Active Server Groups To Apply A Common Dhcp Relay Agent Configuration To Named Server Groups

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Configuring Active Server Groups to Apply a Common DHCP Relay Agent Configuration to Named Server Groups You can configure an active server group. Using an active server group enables you to apply a common DHCP relay agent configuration to a named group of DHCP server addresses.
  • Page 101: Verifying And Managing Dhcp Relay Configuration

    For DHCPv4 you can override the installation of destination routes only or access-internal routes (the access-internal option prevents installation of both destination and access-internal routes). For DHCPv6 you can specify access routes, access-internal routes, or both. Copyright © 2017, Juniper Networks, Inc.
  • Page 102: By Default

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Related Preventing DHCP from Installing Access, Access-Internal, and Destination Routes by Documentation Default on page 82 Extended DHCP Local Server Overview on page 22 DHCPv6 Local Server Overview on page 40...
  • Page 103 Suppressing DHCP Access, Access-Internal, and Destination Routes on page 81 Documentation Extended DHCP Local Server Overview on page 22 DHCPv6 Local Server Overview on page 40 Extended DHCP Relay Agent Overview on page 46 DHCPv6 Relay Agent Overview on page 85 Copyright © 2017, Juniper Networks, Inc.
  • Page 104 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Copyright © 2017, Juniper Networks, Inc.
  • Page 105: Chapter 5 Dhcpv6 Relay Agent

    [edit forwarding-options dhcp-relay] You can also include the statement at the following hierarchy levels: dhcpv6 [edit logical-systems logical-system-name forwarding-options dhcp-relay] [edit logical-systems logical-system-name routing-instances routing-instance-name forwarding-options dhcp-relay] [edit routing-instances routing-instance-name forwarding-options dhcp-relay] Copyright © 2017, Juniper Networks, Inc.
  • Page 106: Inserting Dhcpv6 Interface-Id Option (Option 18) In Dhcpv6 Packets

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Related Grouping Interfaces with Common DHCP Configurations on page 89 Documentation Configuring Group-Specific DHCP Relay Options on page 92 Overriding the Default DHCP Relay Configuration Settings on page 68...
  • Page 107: Verifying And Managing Dhcpv6 Relay Configuration

    To clear the binding state of DHCPv6 relay agent clients: user@host> clear dhcpv6 relay binding To clear all extended DHCPv6 relay agent statistics: user@host> clear dhcpv6 relay statistics Related CLI Explorer Documentation Copyright © 2017, Juniper Networks, Inc.
  • Page 108 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Copyright © 2017, Juniper Networks, Inc.
  • Page 109: Chapter 6 Configuring Groups Of Dhcp Interfaces

    (Optional) You can use the option to specify a range of interfaces for a group. upto [edit system services dhcp-local-server group boston] user@host# set interface fe-1/0/1.3 upto fe-1/0/1.9 Copyright © 2017, Juniper Networks, Inc.
  • Page 110: Guidelines For Configuring Interface Ranges For Groups Of Dhcp Interfaces

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches (Optional) You can use the option to exclude a specific interface or a specified exclude range of interfaces from the group. For example: [edit system services dhcp-local-server group boston]...
  • Page 111: Configuring Group-Specific Dhcp Local Server Options

    —Specify one or more interfaces, or a range of interfaces, that are within the interface specified group. overrides —Override the default configuration settings for the extended DHCP local server. For information, see “Overriding Default DHCP Local Server Configuration Settings” on page Copyright © 2017, Juniper Networks, Inc.
  • Page 112: Configuring Group-Specific Dhcp Relay Options

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Related Grouping Interfaces with Common DHCP Configurations on page 89 Documentation Configuring Group-Specific DHCP Relay Options You can include the following statements at the [edit forwarding-options dhcp-relay...
  • Page 113 Chapter 6: Configuring Groups of DHCP Interfaces Related Grouping Interfaces with Common DHCP Configurations on page 89 Documentation Copyright © 2017, Juniper Networks, Inc.
  • Page 114 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Copyright © 2017, Juniper Networks, Inc.
  • Page 115: Chapter 7 Dhcp Liveness Detection

    Using DHCP liveness detection, IP sessions are acted upon as soon as liveness detection checks fail. This faster response time serves to: Provide more accurate time-based accounting of subscriber (or DHCP client) sessions. Better preserve router (switch) resources. Copyright © 2017, Juniper Networks, Inc.
  • Page 116: Configuring Detection Of Dhcp Local Server Client Connectivity

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Help to reduce the window of vulnerability to some security attacks. Examples of liveness detection protocols include Bidirectional Forwarding Detection (BFD) for both DHCPv4 and DHCPv6 subscribers, IPv4 Address Resolution Protocol (ARP) for DHCPv4 subscribers, and IPv6 Neighbor Unreachability Detection for DHCPv6 subscribers.
  • Page 117 See Example: Configuring Group Liveness Detection for DHCP Local Server Clients for an example of how to configure DHCPv4 groups for DHCP local server liveness detection. Configure the action the router takes when a liveness detection failure occurs. Copyright © 2017, Juniper Networks, Inc.
  • Page 118: Connectivity

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches For DHCP global configuration: [edit system services dhcp-local-server liveness-detection] user@host# edit failure-action action For DHCP group configuration: [edit system services dhcp-local-server group group-name liveness-detection] user@host# edit failure-action...
  • Page 119 DHCP Liveness Detection Overview on page 95 Configuring Detection of DHCP Local Server Client Connectivity on page 96 Example: Configuring Group Liveness Detection for DHCP Local Server Clients Example: Configuring Global Liveness Detection for DHCP Relay Agent Clients Copyright © 2017, Juniper Networks, Inc.
  • Page 120 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Copyright © 2017, Juniper Networks, Inc.
  • Page 121: Chapter 8 Managing Dhcp Clients

    You can configure either global authentication support or group-specific support. You must configure the statement to enable the use of authentication. username-include statement is not required and does not cause DHCP to use authentication password if the username-include statement is not included. Copyright © 2017, Juniper Networks, Inc.
  • Page 122: Configuring Passwords For Usernames

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches To configure DHCP local server and DHCP relay agent authentication support: Specify that you want to configure authentication options. For DHCP local server: [edit system services dhcp-local-server]...
  • Page 123: Creating Unique Usernames For Dhcp Clients

    —The client domain name as a string. The router adds the @ delimiter domain-name to the username. —The description of the device (physical) interface or the logical interface-description interface. Copyright © 2017, Juniper Networks, Inc.
  • Page 124 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches —The interface name, including the interface device and associated interface-name VLAN IDs. logical-system-name —The name of the logical system, if the receiving interface is in a logical system.
  • Page 125 (Optional) Specify the optional information you want to include in the username, for example: [edit system services dhcp-local-server authentication username-include] user@host# set username-include circuit-type user@host# set username-include domain-name example.com user@host# set username-include mac-address user@host# set username-include user-prefix wallybrown The previous username-include configuration produces this unique username: Copyright © 2017, Juniper Networks, Inc.
  • Page 126: Specifying The Maximum Number Of Dhcp Clients Per Interface

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches wallybrown.0090.1a01.1234.enet@example.com Related Extended DHCP Local Server Overview on page 22 Documentation DHCPv6 Local Server Overview on page 40 Extended DHCP Relay Agent Overview on page 46 Using External AAA Authentication Services with DHCP on page 101...
  • Page 127: Dhcp Local Server Handling Of Client Information Request Messages

    If you do not do specify a local pool, then the local server requests that AAA selects and returns only the name of the relevant pool. Copyright © 2017, Juniper Networks, Inc.
  • Page 128: Enabling Processing Of Client Information Requests

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches NOTE: PPP interfaces are not supported on EX Series switches. When DHCPv6 is configured over PPP interfaces, the PPP RADIUS authentication data can be used to select the pool from which the response information is taken. Additionally other RADIUS attributes can also be inserted into the DHCPv6 reply message.
  • Page 129 Overriding Default DHCP Local Server Configuration Settings on page 28 Documentation Deleting DHCP Local Server and DHCP Relay Override Settings on page 30 Extended DHCP Local Server Overview on page 22 Extended DHCP Relay Agent Overview on page 46 Copyright © 2017, Juniper Networks, Inc.
  • Page 130 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Copyright © 2017, Juniper Networks, Inc.
  • Page 131: Chapter 9 Forcing Dynamic Reconfiguration Of Clients From A Dhcp Local Server

    DHCP server binding table, but cannot inform the DHCP clients that their bindings have been cleared. Consequently, the DHCP client operates as though its IP address is still valid, but it is now unable to communicate Copyright © 2017, Juniper Networks, Inc.
  • Page 132: Dynamic Client/Server Interaction For Dhcpv4

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches over the access network, resulting in an outage. The DHCP local server needs to wait for the client to send a message to renew its lease or rebind to the server. In response, the server sends a NAK message to the client to force it to begin the DHCP connection process again.
  • Page 133: Table 14: Action Taken For Events That Occur During A Reconfiguration

    (0). Server receives a release or decline message from Server deletes client. the client. The client lease times out. Server deletes client. clear dhcp server binding command is issued. Server deletes client. Copyright © 2017, Juniper Networks, Inc.
  • Page 134: Clients

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Table 14: Action Taken for Events That Occur During a Reconfiguration (continued) Event Action (DHCPv4) or Command is ignored. request dhcp server reconfigure (DHCPv6) request dhcpv6 server reconfigure command is issued.
  • Page 135 [edit system services dhcp-local-server dhcpv6 group group-name reconfigure] user@host# set strict (Optional) Configure how the server attempts reconfiguration. “Configuring Dynamic Reconfiguration Attempts for DHCP Clients” on page 117. (Optional) Configure the response to a failed reconfiguration. Copyright © 2017, Juniper Networks, Inc.
  • Page 136: Requesting Dhcp Local Server To Initiate Reconfiguration Of Client Bindings

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches “Configuring Deletion of the Client When Dynamic Reconfiguration Fails” on page 118. (Optional) Configure the behavior in response to a RADIUS-initiated disconnect. “Configuring Reconfiguration of the Client on Receipt of RADIUS-Initiated Disconnect”...
  • Page 137: Configuring Dynamic Reconfiguration Attempts For Dhcp Clients

    A group configuration takes precedence over a DHCP local server configuration. (Optional) To configure DHCP local server reconfiguration behavior for all DHCP clients: Specify the number of reconfiguration attempts. Copyright © 2017, Juniper Networks, Inc.
  • Page 138: Configuring Deletion Of The Client When Dynamic Reconfiguration Fails

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches For DHCPv4: [edit system services dhcp-local-server reconfigure] user@host# set attempts For DHCPv6: [edit system services dhcp-local-server dhcpv6 reconfigure] user@host# set attempts Specify the interval between reconfiguration attempts.
  • Page 139: Disconnect

    [edit system services dhcpv6 dhcp-local-server group group-name hierarchy level. reconfigure trigger] Related Configuring Dynamic Client Reconfiguration of Extended Local Server Clients on page 114 Documentation radius-disconnect on page 266 trigger on page 307 Copyright © 2017, Juniper Networks, Inc.
  • Page 140 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Copyright © 2017, Juniper Networks, Inc.
  • Page 141: Chapter 10 Managing Ip Address Assignment

    A client application can use named ranges to manage address assignment based on client-specific criteria. For example, for IPv4 address-assignment pools, you might create a named range that is based on a specific Copyright © 2017, Juniper Networks, Inc.
  • Page 142: Address-Assignment Pool To Use

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches DHCP option 82 value. Then, when a DHCP client request matches the specified option 82 value, an address from the specified range is assigned to the client.
  • Page 143: Matching

    If no external authority match is found, the DHCP local server then uses ip-address-first matching together with the option 82 information to match the named address range Copyright © 2017, Juniper Networks, Inc.
  • Page 144: Dhcp Auto Logout Overview

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches for client IPv4 address assignment. The option 82 matching must also be included in the address-assignment pool configuration. [edit system services] dhcp-local-server { group group_one { interface fe-0/0/2.0;...
  • Page 145: How Dhcp Identifies And Releases Clients

    Discover message to the DHCP server. The DHCP relay preserves the binding if the client's existing IP address is returned by the DHCP server. This behavior is not applicable if the proxy-mode override or client-discover-match functionality are enabled. Copyright © 2017, Juniper Networks, Inc.
  • Page 146: Table 15: Dhcp Relay Agent Option 82 Value For Auto Logout

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches NOTE: If the DHCP relay agent is in snoop mode, DHCP relay releases the client but does not send a release packet to the DHCP server if the discover packet is for a passive client (a client added as a result of snooped packets) or if the discover packet is a snooped packet.
  • Page 147: Automatically Logging Out Dhcp Clients

    The new client might not receive the same IP address as the original client. To configure DHCP client auto logout: Specify that you want to configure override options. For DHCP local server: Copyright © 2017, Juniper Networks, Inc.
  • Page 148: Ia_Na Option

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches [edit system services dhcp-local-server] user@host# edit overrides For DHCP relay agent: [edit forwarding-options dhcp-relay] user@host# edit overrides Enable auto logout and specify the secondary identification method you want to use when the primary identification method is unsuccessful.
  • Page 149: Multiple Address Assignment For Dhcpv6 Clients

    You can also configure a delegated address pool, which explicitly specifies the address pool that DHCP management uses to assign IPv6 prefixes for DHCP clients. Related Specifying the Delegated Address-Assignment Pool to Be Used for DHCPv6 Prefix Documentation Delegation Copyright © 2017, Juniper Networks, Inc.
  • Page 150 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Copyright © 2017, Juniper Networks, Inc.
  • Page 151: Part 2 Other System Services

    PART 2 Other System Services Configuring Packet Forwarding Options on page 133 Copyright © 2017, Juniper Networks, Inc.
  • Page 152 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Copyright © 2017, Juniper Networks, Inc.
  • Page 153: Chapter 11 Configuring Packet Forwarding Options

    VLAN, and the statement. The port helper listens for server incoming traffic from interfaces in the VLAN to forward to the configured server. For example: set forwarding-options helpers port 1064 interface irb.100 server 192.0.2.50 Copyright © 2017, Juniper Networks, Inc.
  • Page 154 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Interface-specific scope—Forward incoming broadcast traffic on the port from a configured Layer 3 interface to a configured destination server IP address. Configure an interface-specific port helper using the...
  • Page 155: Part 3 Configuration Statements And Operational Commands

    PART 3 Configuration Statements and Operational Commands Configuration Statements (DHCP and DHCP Relay) on page 137 Configuration Statements (Forwarding Options) on page 325 Operational Commands (DHCP and DHCP Relay) on page 337 Copyright © 2017, Juniper Networks, Inc.
  • Page 156 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Copyright © 2017, Juniper Networks, Inc.
  • Page 157: Chapter 12 Configuration Statements (Dhcp And Dhcp Relay)

    (DHCP Local Server) on page 163 delimiter (DHCP Relay Agent) on page 165 detection-time on page 166 dhcp (DHCP Client) on page 167 dhcp-local-server on page 168 dhcp-relay on page 174 dhcpv6 (DHCP Local Server) on page 183 Copyright © 2017, Juniper Networks, Inc.
  • Page 158 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches dhcpv6 (DHCP Relay Agent) on page 187 disable-relay on page 193 domain-name (DHCP Local Server) on page 194 domain-name (DHCP Relay Agent) on page 196 domain-search on page 197...
  • Page 159 274 relay-server-group (DHCP Relay Agent Option) on page 275 replace-ip-source-with on page 276 retransmission-attempt on page 277 retransmission-interval on page 278 route-suppression (DHCP Local Server and Relay Agent) on page 279 Copyright © 2017, Juniper Networks, Inc.
  • Page 160 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches routing-instance-name (DHCP Local Server) on page 280 routing-instance-name (DHCP Relay Agent) on page 282 send-release-on-delete (DHCP Relay Agent) on page 284 server (DNS, Port, and TFTP Service) on page 285...
  • Page 161: Access (Dynamic Access Routes)

    Release History Table Release Description 15.1 Starting in Junos OS Release 15.1, we recommend that you use only access routes for framed route support. Related Configuring Dynamic Access Routes for Subscriber Management Documentation Copyright © 2017, Juniper Networks, Inc.
  • Page 162: Access-Internal (Dynamic Access-Internal Routes)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches access-internal (Dynamic Access-Internal Routes) Syntax access-internal { route subscriber-ip-address { qualified-next-hop underlying-interface { mac-address address; Hierarchy Level [edit dynamic-profiles profile-name routing-instances $junos-routing-instance routing-options], [edit dynamic-profiles profile-name routing-instances $junos-routing-instance routing-options...
  • Page 163 Chapter 12: Configuration Statements (DHCP and DHCP Relay) Related Configuring Dynamic Access-Internal Routes for DHCP Subscriber Management Documentation Configuring Dynamic Access-Internal Routes for PPP Subscriber Management Copyright © 2017, Juniper Networks, Inc.
  • Page 164: Active-Server-Group

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches active-server-group Syntax active-server-group server-group-name; Hierarchy Level [edit forwarding-options dhcp-relay], [edit forwarding-options dhcp-relay dhcpv6], [edit forwarding-options dhcp-relay group group-name], [edit forwarding-options dhcp-relay group group-name dhcpv6], [edit logical-systems logical-system-name forwarding-options dhcp-relay],...
  • Page 165: Allow-No-End-Option (Dhcp Relay Agent)

    Level interface-control—To add this statement to the configuration. Related Extended DHCP Relay Agent Overview on page 46 Documentation Overriding the Default DHCP Relay Configuration Settings on page 68 DHCP Snooping Support Copyright © 2017, Juniper Networks, Inc.
  • Page 166: Allow-Snooped-Clients

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches allow-snooped-clients Syntax allow-snooped-clients; Hierarchy Level [edit forwarding-options dhcp-relay dhcpv6 group group-name interface interface-name overrides], [edit forwarding-options dhcp-relay dhcpv6 group group-name overrides], [edit forwarding-options dhcp-relay dhcpv6 overrides], [edit forwarding-options dhcp-relay group group-name interface interface-name overrides],...
  • Page 167: Always-Write-Giaddr

    DHCP relay agent before forwarding the packet to the DHCP server. Required Privilege interface—To view this statement in the configuration. Level interface-control—To add this statement to the configuration. Related Extended DHCP Relay Agent Overview on page 46 Documentation dhcp-relay on page 174 Copyright © 2017, Juniper Networks, Inc.
  • Page 168: Always-Write-Option-82

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches always-write-option-82 Syntax always-write-option-82; Hierarchy Level [edit forwarding-options dhcp-relay overrides], [edit forwarding-options dhcp-relay group group-name overrides], [edit logical-systems logical-system-name forwarding-options dhcp-relay overrides], [edit logical-systems logical-system-name forwarding-options dhcp-relay group group-name...
  • Page 169: Attempts (Dhcp Local Server)

    Range: 1 through 10 Default: 8 Required Privilege system—To view this statement in the configuration. Level system-control—To add this statement to the configuration. Related Configuring Dynamic Client Reconfiguration of Extended Local Server Clients on page 114 Documentation Copyright © 2017, Juniper Networks, Inc.
  • Page 170: Authentication (Dhcp Local Server)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Configuring Dynamic Reconfiguration Attempts for DHCP Clients on page 117 authentication (DHCP Local Server) Syntax authentication { password password-string; username-include circuit-type; client-id; delimiter delimiter-character; domain-name domain-name-string; interface-description (device-interface | logical-interface);...
  • Page 171: Authentication (Dhcp Relay Agent)

    CLI Explorer Required Privilege interface—To view this statement in the configuration. Level interface-control—To add this statement to the configuration. Related dhcp-relay on page 174 Documentation Using External AAA Authentication Services with DHCP on page 101 Copyright © 2017, Juniper Networks, Inc.
  • Page 172 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Syntax bfd { version (0 | 1 | automatic); minimum-interval milliseconds; minimum-receive-interval milliseconds; multiplier number; no-adaptation; transmit-interval minimum-interval milliseconds; threshold milliseconds; detection-time threshold milliseconds; session-mode (automatic | multihop | singlehop);...
  • Page 173: Circuit-Id (Dhcp Relay Agent)

    VLAN tag) or explicit (the interface is mapped to the bridge domain by configuring it in the bridge domain definition). For the explicit case, tagging might not be relevant for the mapping. Copyright © 2017, Juniper Networks, Inc.
  • Page 174 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches The format of the Agent Circuit ID information for Fast Ethernet or Gigabit Ethernet interfaces that do not use virtual LANs (VLANs), stacked VLANs (S-VLANs), or bridge domains is as follows: (fe | ge)-fpc/pic/port.subunit...
  • Page 175 Chapter 12: Configuration Statements (DHCP and DHCP Relay) Related Using DHCP Relay Agent Option 82 Information on page 60 Documentation Configuring Option 82 Information on page 61 Copyright © 2017, Juniper Networks, Inc.
  • Page 176: Circuit-Type (Dhcp Local Server)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches circuit-type (DHCP Local Server) Syntax circuit-type; Hierarchy Level [edit logical-systems logical-system-name routing-instances routing-instance-name system services dhcp-local-server authentication username-include], [edit logical-systems logical-system-name routing-instances routing-instance-name system services dhcp-local-server dhcpv6 authentication...
  • Page 177: Circuit-Type (Dhcp Relay Agent)

    Level interface-control—To add this statement to the configuration. Related Using External AAA Authentication Services with DHCP on page 101 Documentation Creating Unique Usernames for DHCP Clients on page 103 Copyright © 2017, Juniper Networks, Inc.
  • Page 178: Clear-On-Abort (Dhcp Local Server)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches clear-on-abort (DHCP Local Server) Syntax clear-on-abort; Hierarchy Level [edit logical-systems logical-system-name routing-instances routing-instance-name system services dhcp-local-server reconfigure], [edit logical-systems logical-system-name routing-instances routing-instance-name system services dhcp-local-server dhcpv6 reconfigure],...
  • Page 179: Client-Discover-Match (Dhcp Local Server)

    Related Extended DHCP Local Server Overview on page 22 Documentation Overriding Default DHCP Local Server Configuration Settings on page 28 DHCP Auto Logout Overview on page 124 Allowing Only One DHCP Client Per Interface Copyright © 2017, Juniper Networks, Inc.
  • Page 180: Client-Id (Dhcp Local Server)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches client-id (DHCP Local Server) Syntax client-id; Hierarchy Level [edit logical-systems logical-system-name routing-instances routing-instance-name system services dhcp-local-server dhcpv6 authentication username-include], [edit logical-systems logical-system-name routing-instances routing-instance-name system services dhcp-local-server dhcpv6 group group-name authentication username-include],...
  • Page 181: Client-Id (Dhcp Relay Agent)

    Level interface-control—To add this statement to the configuration. Related Using External AAA Authentication Services with DHCP on page 101 Documentation Creating Unique Usernames for DHCP Clients on page 103 Copyright © 2017, Juniper Networks, Inc.
  • Page 182: Delegated-Pool (Dhcp Local Server)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches delegated-pool (DHCP Local Server) Syntax delegated-pool pool-name; Hierarchy Level [edit system services dhcp-local-server dhcpv6 overrides], [edit system services dhcp-local-server dhcpv6 group group-name overrides], [edit system services dhcp-local-server dhcpv6...
  • Page 183: Delimiter (Dhcp Local Server)

    Specify the character used as the delimiter between the concatenated components of the username. Options delimiter-character —Character that separates components that make up the concatenated username. You cannot use the semicolon (;) as a delimiter. Default: . (period) Copyright © 2017, Juniper Networks, Inc.
  • Page 184 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches NOTE: When you include the interface-description in the username, the delimiter must not be a character that is part of the interface description. For example, if the text description is configured as “Backbone connection/PHL01”, you cannot use the forward slash (/) as the delimiter.
  • Page 185: Delimiter (Dhcp Relay Agent)

    Use the statement at the [edit ... dhcpv6] hierarchy levels to configure DHCPv6 support. Options —Character that separates components that make up the concatenated delimiter-character username. You cannot use the semicolon (;) as a delimiter. Default: . (period) Copyright © 2017, Juniper Networks, Inc.
  • Page 186: Detection-Time

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches NOTE: When you include the interface-description in the username, the delimiter must not be a character that is part of the interface description. For example, if the text description is configured as “Backbone connection/PHL01”, you cannot use the forward slash (/) as the delimiter.
  • Page 187: Dhcp (Dhcp Client)

    The remaining statements are described separately. Required Privilege interface—To view this statement in the configuration. Level interface-control—To add this statement to the configuration. Related Configuring a DHCP Client (CLI Procedure) on page 17 Documentation Copyright © 2017, Juniper Networks, Inc.
  • Page 188: Dhcp-Local-Server

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches dhcp-local-server Syntax dhcp-local-server { access-profile profile-name; authentication password password-string; username-include circuit-type; delimiter delimiter-character; domain-name domain-name-string; interface-description (device-interface | logical-interface); interface-name; logical-system-name; mac-address; option-60; option-82 <circuit-id> <remote-id>; routing-instance-name;...
  • Page 189 (0 | 1 | automatic); minimum-interval milliseconds; minimum-receive-interval milliseconds; multiplier number; no-adaptation; transmit-interval minimum-interval milliseconds; threshold milliseconds; detection-time threshold milliseconds; session-mode (automatic | multihop | singlehop); holddown-interval milliseconds; overrides asymmetric-lease-time seconds; asymmetric-prefix-lease-time seconds; Copyright © 2017, Juniper Networks, Inc.
  • Page 190 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches delegated-pool; include-option-82 { forcerenew; nak; interface-client-limit number; multi-address-embedded-option-response; process-inform pool pool-name; protocol-attributes attribute-set-name; rapid-commit; reconfigure attempts attempt-count; clear-on-abort; strict; support-option-pd-exclude; timeout timeout-value; token token-value; trigger radius-disconnect; route-suppression;...
  • Page 191 (clear-binding | clear-binding-if-interface-up | log-only); method version (0 | 1 | automatic); minimum-interval milliseconds; minimum-receive-interval milliseconds; multiplier number; no-adaptation; transmit-interval minimum-interval milliseconds; threshold milliseconds; detection-time threshold milliseconds; session-mode (automatic | multihop | singlehop); Copyright © 2017, Juniper Networks, Inc.
  • Page 192 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches holddown-interval milliseconds; overrides asymmetric-lease-time seconds; client-discover-match <option60-and-option82 | incoming-interface>; interface-client-limit number; process-inform pool pool-name; protocol-attributes attribute-set-name; pool-match-order external-authority; ip-address-first; option-82; reconfigure attempts attempt-count; clear-on-abort; strict; timeout timeout-value;...
  • Page 193 Required Privilege system—To view this statement in the configuration. Level system-control—To add this statement to the configuration. Related Extended DHCP Local Server Overview on page 22 Documentation DHCPv6 Local Server Overview on page 40 Copyright © 2017, Juniper Networks, Inc.
  • Page 194: Dhcp-Relay

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches dhcp-relay Syntax dhcp-relay { access-profile profile-name; active-server-group server-group-name; authentication password password-string; username-include circuit-type; delimiter delimiter-character; domain-name domain-name-string; interface-description (device-interface | logical-interface); interface-name; logical-system-name; mac-address; option-60; option-82 <circuit-id> <remote-id>;...
  • Page 195 <current | default | logical-system-name>; routing-instance <current | default | routing-instance-name>; interface interface-name { access-profile profile-name; dynamic-profile profile-name { exclude; overrides allow-snooped-clients; asymmetric-lease-time seconds; asymmetric-prefix-lease-time seconds; client-negotiation-match incoming-interface; delay-authentication; delete-binding-on-renegotiation; dual-stack dual-stack-group-name; interface-client-limit number; no-allow-snooped-clients; no-bind-on-request; Copyright © 2017, Juniper Networks, Inc.
  • Page 196 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches relay-source interface-name; send-release-on-delete; service-profile dynamic-profile-name; trace; upto upto-interface-name; lease-time-validation { lease-time-threshold seconds; violation-action action; liveness-detection failure-action (clear-binding | clear-binding-if-interface-up | log-only); method version (0 | 1 | automatic);...
  • Page 197 (0 | 1 | automatic); minimum-interval milliseconds; minimum-receive-interval milliseconds; multiplier number; no-adaptation; transmit-interval minimum-interval milliseconds; threshold milliseconds; detection-time threshold milliseconds; session-mode(automatic | multihop | singlehop); holddown-interval milliseconds; route-suppression; service-profile dynamic-profile-name; no-snoop; overrides Copyright © 2017, Juniper Networks, Inc.
  • Page 198 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches allow-snooped-clients; asymmetric-lease-time seconds; asymmetric-prefix-lease-time seconds; client-negotiation-match incoming-interface; delay-authentication; delete-binding-on-renegotiation; dual-stack dual-stack-group-name; interface-client-limit number; no-allow-snooped-clients; no-bind-on-request; relay-source interface-name; send-release-on-delete; relay-agent-interface-id prefix prefix; use-interface-description (logical | device); use-option-82; relay-agent-remote-id { prefix prefix;...
  • Page 199 <current | default | routing-instance-name>; interface interface-name { access-profile profile-name; exclude; liveness-detection failure-action (clear-binding | clear-binding-if-interface-up | log-only); method version (0 | 1 | automatic); minimum-interval milliseconds; minimum-receive-interval milliseconds; multiplier number; no-adaptation; transmit-interval Copyright © 2017, Juniper Networks, Inc.
  • Page 200 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches minimum-interval milliseconds; threshold milliseconds; detection-time threshold milliseconds; session-mode (automatic | multihop | singlehop); holddown-interval milliseconds; overrides service-profile dynamic-profile-name; trace; upto upto-interface-name; overrides relay-option relay-option-82 route-suppression: service-profile dynamic-profile-name;...
  • Page 201 (ascii ascii-string | hexadecimal hexadecimal-string) { drop; forward-only; local-server-group local-server-group; relay-server-group relay-server-group; relay-option-82 circuit-id prefix prefix; use-interface-description (logical | device); remote-id { prefix prefix; use-interface-description (logical | device); server-id-override Copyright © 2017, Juniper Networks, Inc.
  • Page 202 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches remote-id-mismatch action; route-suppression: server-group server-group-name { server-ip-address; server-response-time seconds; service-profile dynamic-profile-name; Hierarchy Level [edit forwarding-options], [edit logical-systems logical-system-name forwarding-options], [edit logical-systems logical-system-name routing-instances routing-instance-name forwarding-options], [edit routing-instances routing-instance-name forwarding-options] Release Information Statement introduced in Junos OS Release 8.3.
  • Page 203: Dhcpv6 (Dhcp Local Server)

    (0 | 1 | automatic); minimum-interval milliseconds; minimum-receive-interval milliseconds; multiplier number; no-adaptation; transmit-interval minimum-interval milliseconds; threshold milliseconds; detection-time threshold milliseconds; session-mode(automatic | multihop | singlehop); holddown-interval milliseconds; overrides asymmetric-lease-time seconds; asymmetric-prefix-lease-time seconds; client-negotiation-match incoming-interface; Copyright © 2017, Juniper Networks, Inc.
  • Page 204 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches delete-binding-on-renegotiation; interface-client-limit number; multi-address-embedded-option-response; process-inform pool pool-name; protocol-attributes attribute-set-name; rapid-commit; service-profile dynamic-profile-name; trace; upto upto-interface-name; overrides asymmetric-lease-time seconds; asymmetric-prefix-lease-time seconds; client-negotiation-match incoming-interface; delegated-pool; delete-binding-on-renegotiation; interface-client-limit number; multi-address-embedded-option-response;...
  • Page 205 [edit logical-systems logical-system-name system services dhcp-local-server], [edit routing-instances routing-instance-name system services dhcp-local-server], [edit system services dhcp-local-server] Release Information Statement introduced in Junos OS Release 9.6. Statement introduced in Junos OS Release 12.3 for EX Series switches. Copyright © 2017, Juniper Networks, Inc.
  • Page 206 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Description Configure DHCPv6 local server options on the router or switch to enable the router or switch to function as a server for the DHCP protocol for IPv6. The DHCPv6 local server sends and receives packets using the IPv6 protocol and informs IPv6 of the routing requirements of router clients.
  • Page 207: Dhcpv6 (Dhcp Relay Agent)

    <current | default | routing-instance-name>; forward-only-replies; forward-snooped-clients (all-interfaces | configured-interfaces | non-configured-interfaces); group group-name { access-profile profile-name; active-server-group server-group-name; authentication dual-stack-group dual-stack-group-name { access-profile profile-name; authentication ... authentication-configuration dynamic-profile profile-name { ... dynamic-profile-configuration Copyright © 2017, Juniper Networks, Inc.
  • Page 208 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches relay-agent-interface-id ... relay-agent-interface-id-configuration relay-agent-remote-id ... relay-agent-remote-id-configuration service-profile dynamic-proflle-name; dynamic-profile profile-name { forward-only { logical-system <current | default | logical-system-name>; routing-instance <current | default | routing-instance-name>; interface interface-name { access-profile profile-name;...
  • Page 209 { drop; forward-only; relay-server-group relay-server-group; equals (ascii ascii-string | hexadecimal hexadecimal-string) { drop; forward-only; relay-server-group relay-server-group; starts-with (ascii ascii-string | hexadecimal hexadecimal-string) { drop; forward-only; relay-server-group relay-server-group; remote-id-mismatch action; route-suppression; service-profile dynamic-profile-name; Copyright © 2017, Juniper Networks, Inc.
  • Page 210 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches leasequery { attempts number-of-attempts; timeout seconds; lease-time-validation { lease-time-threshold seconds; violation-action action; liveness-detection failure-action (clear-binding | clear-binding-if-interface-up | log-only); method version (0 | 1 | automatic); minimum-interval milliseconds;...
  • Page 211 Statement introduced in Junos OS Release 11.4. Statement introduced in Junos OS Release 12.3 for EX Series switches. Support for introduced in Junos OS Release 15.1X53-D56 for EX forward-snooped-clients Series switches and Junos OS Release 17.1R1. Copyright © 2017, Juniper Networks, Inc.
  • Page 212 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Description Configure DHCPv6 relay options on the router or switch and enable the router or switch to function as a DHCPv6 relay agent. A DHCPv6 relay agent forwards DHCPv6 request and reply packets between a DHCPv6 client and a DHCPv6 server.
  • Page 213: Disable-Relay

    Disable DHCP relay on specific interfaces in a group. Required Privilege interface—To view this statement in the configuration. Level interface-control—To add this statement to the configuration. Related Extended DHCP Relay Agent Overview on page 46 Documentation Copyright © 2017, Juniper Networks, Inc.
  • Page 214: Domain-Name (Dhcp Local Server)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches domain-name (DHCP Local Server) Syntax domain-name domain-name-string; Hierarchy Level [edit logical-systems logical-system-name routing-instances routing-instance-name system services dhcp-local-server authentication username-include], [edit logical-systems logical-system-name routing-instances routing-instance-name system services dhcp-local-server...
  • Page 215 Chapter 12: Configuration Statements (DHCP and DHCP Relay) Required Privilege system—To view this statement in the configuration. Level system-control—To add this statement to the configuration. Related Using External AAA Authentication Services with DHCP on page 101 Documentation Copyright © 2017, Juniper Networks, Inc.
  • Page 216: Domain-Name (Dhcp Relay Agent)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches domain-name (DHCP Relay Agent) Syntax domain-name domain-name-string; Hierarchy Level [edit forwarding-options dhcp-relay authentication username-include], [edit forwarding-options dhcp-relay dhcpv6 authentication username-include], [edit forwarding-options dhcp-relay dhcpv6 group group-name authentication...
  • Page 217: Domain-Search

    256 characters. Required Privilege system—To view this statement in the configuration. Level system-control—To add this statement to the configuration. Related Reaching a Domain Name System Server Documentation Copyright © 2017, Juniper Networks, Inc.
  • Page 218: Drop (Dhcp Relay Agent Option)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches drop (DHCP Relay Agent Option) Syntax drop; Hierarchy Level [edit forwarding-options dhcp-relay relay-option (default-action | equals | starts-with)], [edit forwarding-options dhcp-relay dhcpv6 relay-option (default-action | equals |...
  • Page 219: Dynamic-Profile (Dhcp Local Server)

    Required Privilege system—To view this statement in the configuration. Level system-control—To add this statement to the configuration. Related Attaching Dynamic Profiles to DHCP Subscriber Interfaces or DHCP Client Interfaces Documentation Configuring a Default Subscriber Service Copyright © 2017, Juniper Networks, Inc.
  • Page 220: Dynamic-Profile (Dhcp Relay Agent)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches dynamic-profile (DHCP Relay Agent) Syntax dynamic-profile profile-name { aggregate-clients (merge | replace); use-primary primary-profile-name; Hierarchy Level [edit forwarding-options dhcp-relay], [edit forwarding-options dhcp-relay dhcpv6], [edit forwarding-options dhcp-relay dhcpv6...
  • Page 221: External-Authority

    Related Configuring How the Extended DHCP Local Server Determines Which Documentation Address-Assignment Pool to Use on page 122 Extended DHCP Local Server Overview on page 22 Address-Assignment Pools Overview on page 121 Copyright © 2017, Juniper Networks, Inc.
  • Page 222: Failure-Action

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches failure-action Syntax failure-action (clear-binding | clear-binding-if-interface-up | log-only); Hierarchy Level [edit system services dhcp-local-server liveness-detection], [edit system services dhcp-local-server dhcpv6 liveness-detection], [edit forwarding-options dhcp-relay liveness-detection], [edit forwarding-options dhcp-relay dhcpv6 liveness-detection],...
  • Page 223: Forward-Snooped-Clients (Dhcp Local Server)

    Required Privilege system—To view this statement in the configuration. Level system-control—To add this statement to the configuration. Related DHCP Snooping Support Documentation Configuring DHCP Snooped Packets Forwarding Support for DHCP Local Server Copyright © 2017, Juniper Networks, Inc.
  • Page 224: Forward-Snooped-Clients (Dhcp Relay Agent)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches forward-snooped-clients (DHCP Relay Agent) Syntax forward-snooped-clients (all-interfaces | configured-interfaces | non-configured-interfaces); Hierarchy Level [edit forwarding-options dhcp-relay], [edit forwarding-options dhcp-relay dhcpv6], [edit logical-systems logical-system-name forwarding-options dhcp-relay], [edit logical-systems logical-system-name routing-instances routing-instance-name...
  • Page 225: Group (Dhcp Local Server)

    (clear-binding | clear-binding-if-interface-up | log-only); method version (0 | 1 | automatic); minimum-interval milliseconds; minimum-receive-interval milliseconds; multiplier number; no-adaptation; transmit-interval minimum-interval milliseconds; Copyright © 2017, Juniper Networks, Inc.
  • Page 226 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches threshold milliseconds; detection-time threshold milliseconds; session-mode(automatic | multihop | singlehop); holddown-interval milliseconds; overrides asymmetric-lease-time seconds; asymmetric-prefix-lease-time seconds; client-discover-match <option60-and-option82>; client-negotiation-match incoming-interface; delegated-pool; delete-binding-on-renegotiation; interface-client-limit number; process-inform pool pool-name;...
  • Page 227 Extended DHCP Local Server Overview on page 22 Documentation Grouping Interfaces with Common DHCP Configurations on page 89 Using External AAA Authentication Services with DHCP on page 101 Attaching Dynamic Profiles to DHCP Subscriber Interfaces or DHCP Client Interfaces Copyright © 2017, Juniper Networks, Inc.
  • Page 228: Group (Dhcp Relay Agent)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches group (DHCP Relay Agent) Syntax group group-name { access-profile profile-name; active-server-group server-group-name; authentication password password-string; username-include circuit-type; client-id; delimiter delimiter-character; domain-name domain-name-string; interface-description (device-interface | logical-interface); logical-system-name;...
  • Page 229 <strict>; relay-option option-number option-number; default-action { drop; forward-only; local-server-group local-server-group; relay-server-group relay-server-group; equals (ascii ascii-string | hexadecimal hexadecimal-string) { drop; forward-only; local-server-group local-server-group; relay-server-group relay-server-group; starts-with (ascii ascii-string | hexadecimal hexadecimal-string) { drop; forward-only; Copyright © 2017, Juniper Networks, Inc.
  • Page 230 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches local-server-group local-server-group; relay-server-group relay-server-group; relay-option-82 circuit-id prefix prefix; use-interface-description (logical | device); use-option-82; remote-id { prefix prefix; use-interface-description (logical | device); server-id-override route-suppression; service-profile dynamic-profile-name; Hierarchy Level...
  • Page 231: Holddown-Interval

    Level routing-control—To add this statement to the configuration. Related Example: Configuring Group Liveness Detection for DHCP Local Server Clients Documentation Example: Configuring Global Liveness Detection for DHCP Relay Agent Clients Copyright © 2017, Juniper Networks, Inc.
  • Page 232: Include-Irb-And-L2

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches include-irb-and-l2 Syntax include-irb-and-l2; Hierarchy Level [edit forwarding-options dhcp-relay dhcpv6 (relay-agent-interface-id relay-agent-remote-id)], [edit forwarding-options dhcp-relay dhcpv6 group group-name (relay-agent-interface-id relay-agent-remote-id)], [edit forwarding-options dhcp-relay relay-option-82 (circuit-id | remote-id)], [edit forwarding-options dhcp-relay group group-name relay-option-82...
  • Page 233 Related Including a Textual Description in DHCP Options on page 65 Documentation Using DHCP Relay Agent Option 82 Information on page 60 Configuring DHCPv6 Relay Agent Options Copyright © 2017, Juniper Networks, Inc.
  • Page 234: Interface (Dhcp Local Server)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches interface (DHCP Local Server) Syntax interface interface-name { access-profile profile-name; exclude; overrides asymmetric-lease-time seconds; asymmetric-prefix-lease-time seconds; client-discover-match <option60-and-option82 | incoming-interface>; client-negotiation-match incoming-interface; interface-client-limit number; rapid-commit; service-profile dynamic-profile-name;...
  • Page 235 Related Extended DHCP Local Server Overview on page 22 Documentation Grouping Interfaces with Common DHCP Configurations on page 89 Using External AAA Authentication Services with DHCP on page 101 Copyright © 2017, Juniper Networks, Inc.
  • Page 236: Interface (Dhcp Relay Agent)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches interface (DHCP Relay Agent) Syntax interface dhcp-interface-name { access-profile profile-name; exclude; overrides allow-no-end-option allow-snooped-clients; always-write-giaddr; always-write-option-82; asymmetric-lease-time seconds; asymmetric-prefix-lease-time seconds; client-discover-match <option60-and-option82 | incoming-interface>; client-negotiation-match incoming-interface; disable-relay;...
  • Page 237 Related Extended DHCP Relay Agent Overview on page 46 Documentation Grouping Interfaces with Common DHCP Configurations on page 89 Using External AAA Authentication Services with DHCP on page 101 Copyright © 2017, Juniper Networks, Inc.
  • Page 238: Interface-Client-Limit (Dhcp Local Server)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches interface-client-limit (DHCP Local Server) Syntax interface-client-limit number; Hierarchy Level [edit logical-systems logical-system-name routing-instances routing-instance-name system services dhcp-local-server overrides], [edit logical-systems logical-system-name routing-instances routing-instance-name system services dhcp-local-server dhcpv6...
  • Page 239 Level system-control—To add this statement to the configuration. Related Specifying the Maximum Number of DHCP Clients Per Interface on page 106 Documentation Overriding Default DHCP Local Server Configuration Settings on page 28 Copyright © 2017, Juniper Networks, Inc.
  • Page 240: Interface-Client-Limit (Dhcp Relay Agent)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches interface-client-limit (DHCP Relay Agent) Syntax interface-client-limit number; Hierarchy Level [edit forwarding-options dhcp-relay dhcpv6 overrides], [edit forwarding-options dhcp-relay overrides], [edit forwarding-options dhcp-relay dhcpv6 group group-name overrides], [edit forwarding-options dhcp-relay group group-name overrides],...
  • Page 241: Interface-Delete (Subscriber Management Or Dhcp Client Management)

    By default, the switch logs out DHCP clients when the client interface is deleted. Required Privilege system—To view this statement in the configuration. Level system-control—To add this statement to the configuration. Related Configuring the Router to Maintain DHCP Subscribers During Interface Delete Events Documentation Copyright © 2017, Juniper Networks, Inc.
  • Page 242: Interface-Name (Dhcp Local Server)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches interface-name (DHCP Local Server) Syntax interface-name; Hierarchy Level [edit logical-systems logical-system-name routing-instances routing-instance-name system services dhcp-local-server ...], [edit logical-systems logical-system-name system services dhcp-local-server ...], [edit routing-instances routing-instance-name system services dhcp-local-server ...],...
  • Page 243: Interface-Name (Dhcp Relay Agent)

    DHCPv6 support. Required Privilege interface—To view this statement in the configuration. Level interface-control—To add this statement to the configuration. Related Creating Unique Usernames for DHCP Clients on page 103 Documentation Copyright © 2017, Juniper Networks, Inc.
  • Page 244: Ip-Address-First

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches ip-address-first Syntax ip-address-first; Hierarchy Level [edit logical-systems logical-system-name system services dhcp-local-server pool-match-order], [edit logical-systems logical-system-name routing-instances routing-instance-name system services dhcp-local-server pool-match-order], [edit routing-instances routing-instance-name system services dhcp-local-server...
  • Page 245: Layer2-Unicast-Replies

    ACK reply packets from the DHCP server to DHCP clients during the discovery process. Required Privilege interface—To view this statement in the configuration. Level interface-control—To add this statement to the configuration. Related Extended DHCP Relay Agent Overview on page 46 Documentation dhcp-relay on page 174 Copyright © 2017, Juniper Networks, Inc.
  • Page 246: Lease-Time

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches lease-time Syntax lease-time (length | infinite); Hierarchy Level [edit interfaces interface-name unit logical-unit-number family inet dhcp] Release Information Statement introduced in Junos OS Release 9.0 for EX Series switches.
  • Page 247: Liveness-Detection

    Configuring Detection of DHCP Local Server Client Connectivity on page 96 Configuring Detection of DHCP Relay or DHCP Relay Proxy Client Connectivity on page 98 Example: Configuring Group Liveness Detection for DHCP Local Server Clients Copyright © 2017, Juniper Networks, Inc.
  • Page 248: Local-Server-Group (Dhcp Relay Agent Option)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Example: Configuring Global Liveness Detection for DHCP Relay Agent Clients local-server-group (DHCP Relay Agent Option) Syntax local-server-group local-server-group; Hierarchy Level [edit forwarding-options dhcp-relay relay-option (default-action | equals | starts-with)],...
  • Page 249: Mac-Address (Dhcp Local Server)

    The packet source address if the client is directly connected. The link local address. Required Privilege system—To view this statement in the configuration. Level system-control—To add this statement to the configuration. Related Using External AAA Authentication Services with DHCP on page 101 Documentation Copyright © 2017, Juniper Networks, Inc.
  • Page 250: Mac-Address (Dhcp Relay Agent)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches mac-address (DHCP Relay Agent) Syntax mac-address; Hierarchy Level [edit forwarding-options dhcp-relay authentication username-include], [edit forwarding-options dhcp-relay dhcpv6 authentication username-include], [edit forwarding-options dhcp-relay dhcpv6 group group-name authentication username-include], [edit forwarding-options dhcp-relay group group-name authentication username-include], [edit logical-systems logical-system-name forwarding-options dhcp-relay ...],...
  • Page 251: Maximum-Hop-Count

    Range: 1 through 16 Default: 4 Required Privilege interface—To view this statement in the configuration. Level interface-control—To add this statement to the configuration. Related Configuring Routers, Switches, and Interfaces as DHCP and BOOTP Relay Agents Documentation Copyright © 2017, Juniper Networks, Inc.
  • Page 252: Maximum-Lease-Time (Dhcp)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches maximum-lease-time (DHCP) Syntax maximum-lease-time seconds; Hierarchy Level [edit system services dhcp], Release Information Statement introduced before Junos OS Release 7.4. Statement introduced in Junos OS Release 9.0 for EX Series switches.
  • Page 253: Method

    Level routing-control—To add this statement to the configuration. Related Example: Configuring Group Liveness Detection for DHCP Local Server Clients Documentation Example: Configuring Global Liveness Detection for DHCP Relay Agent Clients Copyright © 2017, Juniper Networks, Inc.
  • Page 254: Minimum-Interval

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches minimum-interval Syntax minimum-interval milliseconds; Hierarchy Level [edit system services dhcp-local-server liveness-detection method bfd], [edit system services dhcp-local-server liveness-detection method bfd transmit-interval], [edit system services dhcp-local-server dhcpv6 liveness-detection method bfd],...
  • Page 255: Minimum-Receive-Interval

    Level routing-control—To add this statement to the configuration. Related Example: Configuring Group Liveness Detection for DHCP Local Server Clients Documentation Example: Configuring Global Liveness Detection for DHCP Relay Agent Clients Copyright © 2017, Juniper Networks, Inc.
  • Page 256: Minimum-Wait-Time

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches minimum-wait-time Syntax minimum-wait-time seconds; Hierarchy Level [edit forwarding-options helpers bootp], [edit forwarding-options helpers bootp interface (interface-name | interface-group)] Release Information Statement introduced before Junos OS Release 7.4.
  • Page 257: Multiplier

    Level routing-control—To add this statement to the configuration. Related Example: Configuring Group Liveness Detection for DHCP Local Server Clients Documentation Example: Configuring Global Liveness Detection for DHCP Relay Agent Clients Copyright © 2017, Juniper Networks, Inc.
  • Page 258: Name-Server

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches name-server Syntax name-server { address; Hierarchy Level [edit system], [edit system services dhcp], [edit system services dhcp], [edit system services dhcp pool], [edit system services dhcp static-binding] Release Information Statement introduced before Junos OS Release 7.4.
  • Page 259: Next-Hop (Dynamic Access-Internal Routes)

    Framed-IPv6-Route RADIUS attribute [99]. Required Privilege routing—To view this statement in the configuration. Level routing-control—To add this statement to the configuration. Related Configuring Dynamic Access Routes for Subscriber Management Documentation Copyright © 2017, Juniper Networks, Inc.
  • Page 260: No-Adaptation

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches no-adaptation Syntax no-adaptation; Hierarchy Level [edit system services dhcp-local-server liveness-detection method bfd], [edit system services dhcp-local-server dhcpv6 liveness-detection method bfd], [edit forwarding-options dhcp-relay liveness-detection method bfd], [edit forwarding-options dhcp-relay dhcpv6 liveness-detection method bfd],...
  • Page 261: No-Allow-Snooped-Clients

    Extended DHCP Relay Agent Overview on page 46 Documentation Overriding the Default DHCP Relay Configuration Settings on page 68 DHCP Snooping Support Configuring DHCP Snooped Packets Forwarding Support for DHCP Relay Agent on page 77 Copyright © 2017, Juniper Networks, Inc.
  • Page 262: No-Bind-On-Request (Dhcp Relay Agent)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches no-bind-on-request (DHCP Relay Agent) Syntax no-bind-on-request; Hierarchy Level [edit forwarding-options dhcp-relay dhcpv6 overrides], [edit forwarding-options dhcp-relay overrides], [edit forwarding-options dhcp-relay dhcpv6 group group-name overrides], [edit forwarding-options dhcp-relay group group-name overrides],...
  • Page 263: No-Listen

    Related Configuring DNS and TFTP Packet Forwarding Documentation Configuring Port-based LAN Broadcast Packet Forwarding on page 133 Configuring Routers, Switches, and Interfaces as DHCP and BOOTP Relay Agents Copyright © 2017, Juniper Networks, Inc.
  • Page 264: No-Vlan-Interface-Name

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches no-vlan-interface-name Syntax no-vlan-interface-name; Hierarchy Level [edit forwarding-options dhcp-relay dhcpv6 (relay-agent-interface-id relay-agent-remote-id)], [edit forwarding-options dhcp-relay dhcpv6 group group-name (relay-agent-interface-id relay-agent-remote-id)], [edit forwarding-options dhcp-relay relay-option-82 (circuit-id | remote-id)], [edit forwarding-options dhcp-relay group group-name relay-option-82...
  • Page 265 Related Including a Textual Description in DHCP Options on page 65 Documentation Using DHCP Relay Agent Option 82 Information on page 60 Configuring DHCPv6 Relay Agent Options Copyright © 2017, Juniper Networks, Inc.
  • Page 266: Option-60 (Dhcp Local Server)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches option-60 (DHCP Local Server) Syntax option-60; Hierarchy Level [edit logical-systems logical-system-name routing-instances routing-instance-name system services dhcp-local-server authentication username-include], [edit logical-systems logical-system-name routing-instances routing-instance-name system services dhcp-local-server group group-name authentication username-include],...
  • Page 267: Option-60 (Dhcp Relay Agent)

    Required Privilege interface—To view this statement in the configuration. Level interface-control—To add this statement to the configuration. Related Using External AAA Authentication Services with DHCP on page 101 Documentation Copyright © 2017, Juniper Networks, Inc.
  • Page 268: Option-82 (Dhcp Local Server Authentication)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches option-82 (DHCP Local Server Authentication) Syntax option-82 <circuit-id> <remote-id>; Hierarchy Level [edit logical-systems logical-system-name routing-instances routing-instance-name system services dhcp-local-server authentication username-include], [edit logical-systems logical-system-name routing-instances routing-instance-name system...
  • Page 269: Option-82 (Dhcp Local Server Pool Matching)

    Related Configuring How the Extended DHCP Local Server Determines Which Documentation Address-Assignment Pool to Use on page 122 Extended DHCP Local Server Overview on page 22 Address-Assignment Pools Overview on page 121 Copyright © 2017, Juniper Networks, Inc.
  • Page 270: Option-82 (Dhcp Relay Agent)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches option-82 (DHCP Relay Agent) Syntax option-82 <circuit-id> <remote-id>; Hierarchy Level [edit forwarding-options dhcp-relay authentication username-include], [edit forwarding-options dhcp-relay group group-name authentication username-include], [edit logical-systems logical-system-name forwarding-options dhcp-relay authentication...
  • Page 271: Option-Number (Dhcp Relay Agent Option)

    77 (DHCPv4 only)—Use DHCP option 77 (User Class Identifier) in packets Required Privilege interface—To view this statement in the configuration. Level interface-control—To add this statement to the configuration. Related Using DHCP Option Information to Selectively Process DHCP Client Traffic Documentation Copyright © 2017, Juniper Networks, Inc.
  • Page 272: Overrides (Dhcp Local Server)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches overrides (DHCP Local Server) Syntax overrides { allow-no-end-option; asymmetric-lease-time seconds; asymmetric-prefix-lease-time seconds; client-discover-match <option60-and-option82 | incoming-interface>; client-negotiation-match incoming-interface; delegated-pool; delete-binding-on-renegotiation; include-option-82 { forcerenew; nak; interface-client-limit number; multi-address-embedded-option-response;...
  • Page 273 Extended DHCP Local Server Overview on page 22 Documentation Overriding Default DHCP Local Server Configuration Settings on page 28 Deleting DHCP Local Server and DHCP Relay Override Settings on page 30 Configuring a DHCP Server on Switches (CLI Procedure) Copyright © 2017, Juniper Networks, Inc.
  • Page 274: Overrides (Dhcp Relay Agent)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches overrides (DHCP Relay Agent) Syntax overrides { allow-no-end-option; allow-snooped-clients; always-write-giaddr; always-write-option-82; asymmetric-lease-time seconds; asymmetric-prefix-lease-time seconds; client-discover-match <option60-and-option82 | incoming-interface>; client-negotiation-match incoming-interface; delay-authentication; delete-binding-on-renegotiation; disable-relay; dual-stack dual-stack-group-name; interface-client-limit number;...
  • Page 275 Related Extended DHCP Relay Agent Overview on page 46 Documentation Overriding the Default DHCP Relay Configuration Settings on page 68 Deleting DHCP Local Server and DHCP Relay Override Settings on page 30 Copyright © 2017, Juniper Networks, Inc.
  • Page 276: Password (Dhcp Local Server)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches password (DHCP Local Server) Syntax password password-string; Hierarchy Level [edit logical-systems logical-system-name routing-instances routing-instance-name system services dhcp-local-server authentication], [edit logical-systems logical-system-name routing-instances routing-instance-name system services dhcp-local-server dhcpv6...
  • Page 277 Chapter 12: Configuration Statements (DHCP and DHCP Relay) Related Using External AAA Authentication Services with DHCP on page 101 Documentation Copyright © 2017, Juniper Networks, Inc.
  • Page 278: Password (Dhcp Relay Agent)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches password (DHCP Relay Agent) Syntax password password-string; Hierarchy Level [edit forwarding-options dhcp-relay authentication], [edit forwarding-options dhcp-relay dhcpv6 authentication], [edit forwarding-options dhcp-relay dual-stack-group dual-stack-group-name authentication], [edit forwarding-options dhcp-relay group group-name authentication],...
  • Page 279: Pool (Dhcp Local Server Overrides)

    [edit system services dhcp-local-server group group-name overrides process-inform], [edit system services dhcp-local-server group group-name interface interface-name overrides process-inform] Release Information Statement introduced in Junos OS Release 11.4. Statement introduced in Junos OS Release 12.3R2 for EX Series switches. Copyright © 2017, Juniper Networks, Inc.
  • Page 280: Pool-Match-Order

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Description Configure DHCP or DHCPv6 local server to reply to DHCP information request messages (DHCPINFORM for DHCPv4 and INFORMATION-REQUEST for DHCPv6) with information taken from the specified pool without interacting with AAA.
  • Page 281: Preference (Subscriber Management)

    (Subattribute 5) from the RADIUS Framed-IPv6-Route attribute [99]. Required Privilege routing—To view this statement in the configuration. Level routing-control—To add this statement to the configuration. Related Configuring Dynamic Access Routes for Subscriber Management Documentation Copyright © 2017, Juniper Networks, Inc.
  • Page 282: Prefix (Dhcp Relay Agent)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches prefix (DHCP Relay Agent) Syntax prefix prefix; Hierarchy Level [edit forwarding-options dhcp-relay dhcpv6 (relay-agent-interface-id relay-agent-remote-id)], [edit forwarding-options dhcp-relay dhcpv6 group group-name (relay-agent-interface-id relay-agent-remote-id)], [edit forwarding-options dhcp-relay relay-option-82...
  • Page 283: Process-Inform

    [edit system services dhcp-local-server group group-name overrides], [edit system services dhcp-local-server group group-name interface interface-name overrides] Release Information Statement introduced in Junos OS Release 11.4. Statement introduced in Junos OS Release 12.1 for EX Series switches. Copyright © 2017, Juniper Networks, Inc.
  • Page 284 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Description Enable the processing of DHCP information request messages (DHCPINFORM for DHCPv4 and INFORMATION-REQUEST for DHCPv6) sent from the client to request DHCP options. For DHCP local servers, the messages are also passed to the configured server list.
  • Page 285: Proxy-Mode

    Level interface-control—To add this statement to the configuration. Related DHCP Relay Proxy Overview on page 51 Documentation Extended DHCP Relay Agent Overview on page 46 Enabling DHCP Relay Proxy Mode on page 52 Copyright © 2017, Juniper Networks, Inc.
  • Page 286: Radius-Disconnect (Dhcp Local Server)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches radius-disconnect (DHCP Local Server) Syntax radius-disconnect; Hierarchy Level [edit logical-systems logical-system-name routing-instances routing-instance-name system services dhcp-local-server reconfigure trigger], [edit logical-systems logical-system-name routing-instances routing-instance-name system services dhcp-local-server dhcpv6 reconfigure trigger],...
  • Page 287: Rapid-Commit (Dhcpv6 Local Server)

    Level system-control—To add this statement to the configuration. Related Enabling DHCPv6 Rapid Commit Support on page 41 Documentation Overriding Default DHCP Local Server Configuration Settings on page 28 Copyright © 2017, Juniper Networks, Inc.
  • Page 288: Reconfigure (Dhcp Local Server)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches reconfigure (DHCP Local Server) Syntax reconfigure { attempts attempt-count; clear-on-abort; strict; support-option-pd-exclude; timeout timeout-value; token token-value; trigger radius-disconnect; Hierarchy Level [edit logical-systems logical-system-name routing-instances routing-instance-name system services dhcp-local-server],...
  • Page 289: Relay-Agent-Interface-Id (Dhcp Local Server)

    DHCP client authentication process. Required Privilege system—To view this statement in the configuration. Level system-control—To add this statement to the configuration. Related Creating Unique Usernames for DHCP Clients on page 103 Documentation Copyright © 2017, Juniper Networks, Inc.
  • Page 290: Relay-Agent-Interface-Id (Dhcpv6 Relay Agent)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches relay-agent-interface-id (DHCPv6 Relay Agent) Syntax relay-agent-interface-id { include-l2-interface-for-irb ; keep-incoming-interface-id ; prefix prefix; use-interface-description (logical | device); use-option-82; Hierarchy Level [edit forwarding-options dhcp-relay dhcpv6], [edit forwarding-options dhcp-relay...
  • Page 291: Relay-Agent-Remote-Id (Dhcp Local Server)

    37 to the username, and ignores the enterprise number. Required Privilege system—To view this statement in the configuration. Level system-control—To add this statement to the configuration. Related Creating Unique Usernames for DHCP Clients on page 103 Documentation Copyright © 2017, Juniper Networks, Inc.
  • Page 292: Relay-Agent-Remote-Id (Dhcpv6 Relay Agent Username)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches relay-agent-remote-id (DHCPv6 Relay Agent Username) Syntax relay-agent-remote-id; Hierarchy Level [edit forwarding-options dhcp-relay dhcpv6 authentication username-include], [edit forwarding-options dhcp-relay dhcpv6 group group-name authentication username-include], [edit forwarding-options dhcp-relay dual-stack-group dual-stack-group-name],...
  • Page 293: Relay-Option (Dhcp Relay Agent)

    The remaining statements are explained separately. See CLI Explorer Required Privilege interface—To view this statement in the configuration. Level interface-control—To add this statement to the configuration. Related Using DHCP Option Information to Selectively Process DHCP Client Traffic Documentation Copyright © 2017, Juniper Networks, Inc.
  • Page 294: Relay-Option-82

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches relay-option-82 Syntax relay-option-82 { circuit-id include-irb-and-l2; keep-incoming-circuit-id ; no-vlan-interface-name; prefix prefix; use-interface-description (logical | device); use-vlan-id; remote-id { include-irb-and-l2; keep-incoming-remote-id ; no-vlan-interface-name; prefix prefix; use-interface-description (logical | device);...
  • Page 295: Relay-Server-Group (Dhcp Relay Agent Option)

    DHCP server group. Required Privilege interface—To view this statement in the configuration. Level interface-control—To add this statement to the configuration. Related Using DHCP Option Information to Selectively Process DHCP Client Traffic Documentation Copyright © 2017, Juniper Networks, Inc.
  • Page 296: Replace-Ip-Source-With

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches replace-ip-source-with Syntax replace-ip-source-with giaddr; Hierarchy Level [edit forwarding-options dhcp-relay overrides], [edit forwarding-options dhcp-relay group group-name overrides], [edit logical-systems logical-system-name forwarding-options dhcp-relay overrides], [edit logical-systems logical-system-name forwarding-options dhcp-relay group group-name...
  • Page 297: Retransmission-Attempt

    Range: 0 through 6 Default: 4 Required Privilege interface—To view this statement in the configuration. Level interface-control—To add this statement to the configuration. Related Configuring a DHCP Client (CLI Procedure) on page 17 Documentation interfaces unit family Copyright © 2017, Juniper Networks, Inc.
  • Page 298: Retransmission-Interval

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches retransmission-interval Syntax retransmission-interval seconds; Hierarchy Level [edit interfaces interface-name unit logical-unit-number family inet dhcp] Release Information Statement introduced in Junos OS Release 9.0 for EX Series switches.
  • Page 299: Route-Suppression (Dhcp Local Server And Relay Agent)

    Required Privilege system—To view this statement in the configuration. Level system-control—To add this statement to the configuration. Related Preventing DHCP from Installing Access, Access-Internal, and Destination Routes by Documentation Default on page 82 Copyright © 2017, Juniper Networks, Inc.
  • Page 300: Routing-Instance-Name (Dhcp Local Server)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches routing-instance-name (DHCP Local Server) Syntax routing-instance-name; Hierarchy Level [edit logical-systems logical-system-name routing-instances routing-instance-name system services dhcp-local-server authentication username-include], [edit logical-systems logical-system-name routing-instances routing-instance-name system services dhcp-local-server dhcpv6 authentication...
  • Page 301 Chapter 12: Configuration Statements (DHCP and DHCP Relay) Related Using External AAA Authentication Services with DHCP on page 101 Documentation Copyright © 2017, Juniper Networks, Inc.
  • Page 302: Routing-Instance-Name (Dhcp Relay Agent)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches routing-instance-name (DHCP Relay Agent) Syntax routing-instance-name; Hierarchy Level [edit forwarding-options dhcp-relay authentication username-include], [edit forwarding-options dhcp-relay dhcpv6 authentication username-include], [edit forwarding-options dhcp-relay dhcpv6 group group-name authentication username-include],...
  • Page 303 Chapter 12: Configuration Statements (DHCP and DHCP Relay) Related Using External AAA Authentication Services with DHCP on page 101 Documentation Creating Unique Usernames for DHCP Clients on page 103 Copyright © 2017, Juniper Networks, Inc.
  • Page 304: Send-Release-On-Delete (Dhcp Relay Agent)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches send-release-on-delete (DHCP Relay Agent) Syntax send-release-on-delete; Hierarchy Level [edit forwarding-options dhcp-relay dhcpv6 overrides], [edit forwarding-options dhcp-relay overrides], [edit forwarding-options dhcp-relay dhcpv6 group group-name overrides], [edit forwarding-options dhcp-relay group group-name overrides],...
  • Page 305: Server (Dns, Port, And Tftp Service)

    Required Privilege interface—To view this statement in the configuration. Level interface-control—To add this statement to the configuration. Related Configuring DNS and TFTP Packet Forwarding Documentation Configuring Port-based LAN Broadcast Packet Forwarding on page 133 Copyright © 2017, Juniper Networks, Inc.
  • Page 306: Server-Address

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches server-address Syntax server-address ip-address; Hierarchy Level [edit interfaces interface-name unit logical-unit-number family inet dhcp] Release Information Statement introduced in Junos OS Release 8.5 for J Series devices.
  • Page 307: Server-Group

    Level interface-control—To add this statement to the configuration. Related dhcp-relay on page 174 Documentation Extended DHCP Relay Agent Overview on page 46 Configuring Named Server Groups on page 79 Copyright © 2017, Juniper Networks, Inc.
  • Page 308: Server-Identifier

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches server-identifier Syntax server-identifier address; Hierarchy Level [edit system services dhcp], [edit system services dhcp pool], [edit system services dhcp static-binding] Release Information Statement introduced before Junos OS Release 7.4.
  • Page 309: Service-Profile (Dhcp Local Server)

    Level system-control—To add this statement to the configuration. Related Extended DHCP Local Server Overview on page 22 Documentation Default Subscriber Service Overview Configuring a Default Subscriber Service Copyright © 2017, Juniper Networks, Inc.
  • Page 310: Service-Profile (Dhcp Relay Agent)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches service-profile (DHCP Relay Agent) Syntax service-profile dynamic-profile-name; Hierarchy Level [edit forwarding-options dhcp-relay], [edit forwarding-options dhcp-relay dhcpv6], [edit forwarding-options dhcp-relay dual-stack-group dual-stack-group-name], [edit forwarding-options dhcp-relay group group-name], [edit forwarding-options dhcp-relay group group-name...
  • Page 311: Session-Mode

    Level routing-control—To add this statement to the configuration. Related Example: Configuring Group Liveness Detection for DHCP Local Server Clients Documentation Example: Configuring Global Liveness Detection for DHCP Relay Agent Clients Copyright © 2017, Juniper Networks, Inc.
  • Page 312: Sip-Server

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches sip-server Syntax sip-server [address | name]; Hierarchy Level [edit system services dhcp], [edit system services dhcp], [edit system services dhcp pool], [edit system services dhcp static-binding] Release Information Statement introduced in Junos OS Release 10.1 for EX Series switches.
  • Page 313: Source-Address-Giaddr

    DHCP packet exits on the switch acting as a DHCP relay agent is always used as the source IP address for relayed DHCP packets. Required Privilege interface—To view this statement in the configuration. Level interface-control—To add this statement to the configuration. Related DHCP/BOOTP Relay for Switches Overview Documentation Copyright © 2017, Juniper Networks, Inc.
  • Page 314: Static-Binding

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches static-binding Syntax static-binding mac-address { client-identifier (ascii client-id | hexadecimal client-id); fixed-address { address; host-name client-hostname; Hierarchy Level [edit system services dhcp], [edit system services dhcp] Release Information Statement introduced before Junos OS Release 7.4.
  • Page 315: Strict (Dhcp Local Server)

    Related Configuring Dynamic Client Reconfiguration of Extended Local Server Clients on page 114 Documentation Preventing Binding of Clients That Do Not Support Reconfigure Messages on page 42 Copyright © 2017, Juniper Networks, Inc.
  • Page 316: Threshold (Detection-Time)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches threshold (detection-time) Syntax threshold milliseconds; Hierarchy Level [edit system services dhcp-local-server liveness-detection method bfd detection-time], [edit system services dhcp-local-server dhcpv6 liveness-detection method bfd detection-time], [edit forwarding-options dhcp-relay liveness-detection method bfd detection-time],...
  • Page 317: Threshold (Transmit-Interval)

    Level routing-control—To add this statement to the configuration. Related Example: Configuring Group Liveness Detection for DHCP Local Server Clients Documentation Example: Configuring Global Liveness Detection for DHCP Relay Agent Clients Copyright © 2017, Juniper Networks, Inc.
  • Page 318: Timeout (Dhcp Local Server)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches timeout (DHCP Local Server) Syntax timeout timeout-value; Hierarchy Level [edit logical-systems logical-system-name routing-instances routing-instance-name system services dhcp-local-server reconfigure], [edit logical-systems logical-system-name routing-instances routing-instance-name system services dhcp-local-server dhcpv6 reconfigure],...
  • Page 319: Token (Dhcp Local Server)

    RFC 3118, Authentication for DHCP Messages, section 4. Options —Plain-text alphanumeric string. token-value Default: null (empty string) Required Privilege system—To view this statement in the configuration. Level system-control—To add this statement to the configuration. Copyright © 2017, Juniper Networks, Inc.
  • Page 320: Trace (Dhcp Relay Agent)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Related Configuring Dynamic Client Reconfiguration of Extended Local Server Clients on page 114 Documentation Configuring a Token for DHCP Local Server Authentication on page 31 trace (DHCP Relay Agent) Syntax trace;...
  • Page 321: Traceoptions (Dhcp Server)

    —Trace important events —Trace interface database operations ifdb — Trace I/O operations —Trace lease operations lease main —Trace main loop operations — Trace miscellaneous operations misc packet —Trace DHCP packets —Trace DHCP options options Copyright © 2017, Juniper Networks, Inc.
  • Page 322 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches —Trace address pool operations pool —Trace protocol operations protocol —Trace routing socket operations rtsock —Trace scope operations scope signal —Trace DHCP signal operations —All tracing operations trace —Trace user interface operations...
  • Page 323 —(Optional) Enable unrestricted file access. world-readable Required Privilege system—To view this statement in the configuration. Level system-control—To add this statement to the configuration. Related Configuring Tracing Operations for DHCP Processes Documentation System Management Configuration Statements Copyright © 2017, Juniper Networks, Inc.
  • Page 324: Traceoptions (Dns, Port, And Tftp Packet Forwarding)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches traceoptions (DNS, Port, and TFTP Packet Forwarding) Syntax traceoptions { file filename <files number> <match regular-expression> <size bytes> <world-readable | no-world-readable>; flag flag; level level; <no-remote-trace>; Hierarchy Level...
  • Page 325 Default: 128 KB world-readable —(Optional) Enable unrestricted file access. Required Privilege interface—To view this statement in the configuration. Level interface-control—To add this statement to the configuration. Related Tracing BOOTP, DNS, and TFTP Forwarding Operations Documentation Copyright © 2017, Juniper Networks, Inc.
  • Page 326: Transmit-Interval

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches transmit-interval Syntax transmit-interval { threshold milliseconds; minimum-interval milliseconds; Hierarchy Level [edit system services dhcp-local-server liveness-detection method bfd], [edit system services dhcp-local-server dhcpv6 liveness-detection method bfd], [edit forwarding-options dhcp-relay liveness-detection method bfd], [edit forwarding-options...
  • Page 327: Trigger (Dhcp Local Server)

    Related Configuring Dynamic Client Reconfiguration of Extended Local Server Clients on page 114 Documentation Configuring Reconfiguration of the Client on Receipt of RADIUS-Initiated Disconnect on page 119 radius-disconnect on page 266 Copyright © 2017, Juniper Networks, Inc.
  • Page 328: Trust-Option-82

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches trust-option-82 Syntax trust-option-82; Hierarchy Level [edit forwarding-options dhcp-relay overrides], [edit forwarding-options dhcp-relay group group-name overrides], [edit logical-systems logical-system-name forwarding-options dhcp-relay overrides], [edit logical-systems logical-system-name forwarding-options dhcp-relay group group-name...
  • Page 329: Use-Interface-Description

    If you specify that the textual description be used and interface-name] no description is configured for the interface, DHCP relay defaults to using the Layer 2 interface name. When you use the interface description rather than the interface name, Copyright © 2017, Juniper Networks, Inc.
  • Page 330 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches the interface description has to be specified under interface unit ("set interfaces ge-0/0/0 unit 0 description "client"). If you do not do this, then the interface name is used.
  • Page 331: Use-Primary (Dhcp Local Server)

    —Name of the dynamic profile to configure as the primary dynamic primary-profile-name profile Required Privilege system—To view this statement in the configuration. Level system-control—To add this statement to the configuration. Related Attaching Dynamic Profiles to DHCP Subscriber Interfaces or DHCP Client Interfaces Documentation Copyright © 2017, Juniper Networks, Inc.
  • Page 332: Use-Primary (Dhcp Relay Agent)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches use-primary (DHCP Relay Agent) Syntax use-primary primary-profile-name; Hierarchy Level [edit forwarding-options dhcp-relay dhcpv6 dynamic-profile profile-name], [edit forwarding-options dhcp-relay dynamic-profile profile-name], [edit forwarding-options dhcp-relay dhcpv6 group group-name dynamic-profile...
  • Page 333 —Name of the dynamic profile to configure as the primary dynamic primary-profile-name profile Required Privilege system—To view this statement in the configuration. Level system-control—To add this statement to the configuration. Related Attaching Dynamic Profiles to DHCP Subscriber Interfaces or DHCP Client Interfaces Documentation Copyright © 2017, Juniper Networks, Inc.
  • Page 334: Use-Vlan-Id

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches use-vlan-id Syntax use-vlan-id; For Platforms with [edit forwarding-options helpers bootp dhcp-option82-circuit-id] [edit forwarding-options helpers bootp interface interface-name dhcp-option82-circuit-id] Enhanced Layer 2 Software (ELS) For MX Series [edit bridge-domains bridge-domain-name forwarding-options dhcp-security option-82...
  • Page 335 Setting Up DHCP Option 82 on the Switch with No Relay Agent Between Clients and DHCP Server (CLI Procedure) Setting Up DHCP Option 82 with the Switch as a Relay Agent Between Clients and DHCP Server (CLI Procedure) RFC 3046, DHCP Relay Agent Information Option, at http://tools.ietf.org/html/rfc3046. Copyright © 2017, Juniper Networks, Inc.
  • Page 336: User-Prefix (Dhcp Local Server)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches user-prefix (DHCP Local Server) Syntax user-prefix user-prefix-string; Hierarchy Level [edit logical-systems logical-system-name routing-instances routing-instance-name system services dhcp-local-server authentication username-include], [edit logical-systems logical-system-name routing-instances routing-instance-name system services dhcp-local-server...
  • Page 337 Chapter 12: Configuration Statements (DHCP and DHCP Relay) Required Privilege system—To view this statement in the configuration. Level system-control—To add this statement to the configuration. Related Using External AAA Authentication Services with DHCP on page 101 Documentation Copyright © 2017, Juniper Networks, Inc.
  • Page 338: Username-Include (Dhcp Local Server)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches username-include (DHCP Local Server) Syntax username-include { circuit-type; client-id; delimiter delimiter-character; domain-name domain-name-string; interface-description (device-interface | logical-interface); interface-name; logical-system-name; mac-address; option-60; option-82 <circuit-id> <remote-id>; relay-agent-interface-id; relay-agent-remote-id; relay-agent-subscriber-id;...
  • Page 339 Level system-control—To add this statement to the configuration. Related Using External AAA Authentication Services with DHCP on page 101 Documentation Creating Unique Usernames for DHCP Clients on page 103 Copyright © 2017, Juniper Networks, Inc.
  • Page 340: Username-Include (Dhcp Relay Agent)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches username-include (DHCP Relay Agent) Syntax username-include { circuit-type; client-id; delimiter delimiter-character; domain-name domain-name-string; interface-description (device-interface | logical-interface); interface-name; logical-system-name; mac-address; option-60; option-82 <circuit-id> <remote-id>; relay-agent-interface-id; relay-agent-remote-id; relay-agent-subscriber-id;...
  • Page 341 Level interface-control—To add this statement to the configuration. Related Creating Unique Usernames for DHCP Clients on page 103 Documentation Using External AAA Authentication Services with DHCP on page 101 Copyright © 2017, Juniper Networks, Inc.
  • Page 342: Version (Bfd)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches version (BFD) Syntax version (0 | 1 | automatic); Hierarchy Level [edit logical-systems logical-system-name protocols ldp oam bfd-liveness-detection], [edit logical-systems logical-system-name protocols ldp oam fec address bfd-liveness-detection],...
  • Page 343: Wins-Server (System)

    —IPv4 address of the NetBIOS Name Server running WINS. To configure multiple address servers, include multiple options. address Required Privilege system—To view this statement in the configuration. Level system-control—To add this statement to the configuration. Related Documentation Copyright © 2017, Juniper Networks, Inc.
  • Page 344 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Copyright © 2017, Juniper Networks, Inc.
  • Page 345: Chapter 13 Configuration Statements (Forwarding Options)

    (DNS, Port, and TFTP Packet Forwarding or Relay Agent) on page 330 no-listen on page 331 port (Packet Forwarding) on page 332 server (DNS, Port, and TFTP Service) on page 334 traceoptions (DNS, Port, and TFTP Packet Forwarding) on page 335 Copyright © 2017, Juniper Networks, Inc.
  • Page 346: Description (Forwarding Options)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches description (Forwarding Options) Syntax description text-description; Hierarchy Level [edit forwarding-options helpers bootp], [edit forwarding-options helpers bootp interface (interface-name | interface-group)], [edit forwarding-options helpers domain], [edit forwarding-options helpers...
  • Page 347: Helpers

    (Packet Forwarding) port-number { description text-description; interface interface-name { broadcast; description text-description; no-listen; server address <logical-system logical-system-name> <routing-instance routing-instance-name>; server address <logical-system logical-system-name> <routing-instance routing-instance-name>; tftp { description text-description; interface interface-name { Copyright © 2017, Juniper Networks, Inc.
  • Page 348 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches broadcast; description text-description; no-listen; server address <logical-system logical-system-name> <routing-instance routing-instance-name>; server address <logical-system logical-system-name> <routing-instance routing-instance-name>; traceoptions file filename <files number> <match regular-expression> <size bytes> <world-readable | no-world-readable>;...
  • Page 349 Related Configuring DNS and TFTP Packet Forwarding Documentation Configuring Port-based LAN Broadcast Packet Forwarding on page 133 Configuring Routers, Switches, and Interfaces as DHCP and BOOTP Relay Agents Copyright © 2017, Juniper Networks, Inc.
  • Page 350: Interface (Dns, Port, And Tftp Packet Forwarding Or Relay Agent)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches interface (DNS, Port, and TFTP Packet Forwarding or Relay Agent) Syntax interface interface-name { broadcast; description text-description; no-listen; server address <logical-system logical-system-name> <routing-instance routing-instance-name>; Hierarchy Level [edit forwarding-options...
  • Page 351: No-Listen

    Related Configuring DNS and TFTP Packet Forwarding Documentation Configuring Port-based LAN Broadcast Packet Forwarding on page 133 Configuring Routers, Switches, and Interfaces as DHCP and BOOTP Relay Agents Copyright © 2017, Juniper Networks, Inc.
  • Page 352: Port (Packet Forwarding)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches port (Packet Forwarding) Syntax port port-number { description text-description; interface interface-name { broadcast; description text-description; no-listen; server address <logical-system logical-system-name> <routing-instance routing-instance-name>; server address <logical-system logical-system-name> <routing-instance routing-instance-name>;...
  • Page 353 Related Configuring DNS and TFTP Packet Forwarding Documentation Configuring Port-based LAN Broadcast Packet Forwarding on page 133 Configuring Routers, Switches, and Interfaces as DHCP and BOOTP Relay Agents Copyright © 2017, Juniper Networks, Inc.
  • Page 354: Server (Dns, Port, And Tftp Service)

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches server (DNS, Port, and TFTP Service) Syntax server address <logical-system logical-system-name> <routing-instance routing-instance-name>; Hierarchy Level [edit forwarding-options helpers domain], [edit forwarding-options helpers domain interface interface-name], [edit forwarding-options...
  • Page 355: Traceoptions (Dns, Port, And Tftp Packet Forwarding)

    You can include the following flags: flag address —Trace address management events —Trace all events bootp —Trace BOOTP or DHCP services events —Trace configuration events config domain —Trace DNS service events —Trace interface database operations ifdb —Trace I/O operations Copyright © 2017, Juniper Networks, Inc.
  • Page 356 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches —Trace main loop events main —Trace arbitrary protocol events port —Trace routing socket operations rtsock —Trace TFTP service events tftp trace —Trace tracing operations —Trace user interface operations util —Trace miscellaneous utility operations...
  • Page 357: Chapter 14 Operational Commands (Dhcp And Dhcp Relay)

    Copyright © 2017, Juniper Networks, Inc.
  • Page 358 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches show system services dhcp global show system services dhcp pool show system services dhcp statistics Copyright © 2017, Juniper Networks, Inc.
  • Page 359: Clear Dhcp Relay Binding

    (*). logical-system logical-system-name—(Optional) Clear the binding state for DHCP clients on the specified logical system. routing-instance routing-instance-name—(Optional) Clear the binding state for DHCP clients on the specified routing instance. Copyright © 2017, Juniper Networks, Inc.
  • Page 360 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Required Privilege view Level Related Clearing DHCP Bindings for Subscriber Access Documentation show dhcp relay binding on page 372 List of Sample Output clear dhcp relay binding on page 340...
  • Page 361 <interfaces-wildcard> The following command uses the interfaces-wildcard option to clear all DHCP relay agent bindings over a specific interface: user@host> clear dhcp relay binding ge-1/0/0.* Copyright © 2017, Juniper Networks, Inc.
  • Page 362: Clear Dhcp Server Binding

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches clear dhcp server binding Syntax clear dhcp server binding <address> <all> <interface interface-name> <interfaces-vlan> <interfaces-wildcard> <logical-system logical-system-name> <routing-instance routing-instance-name> <dual-stack> Release Information Command introduced in Junos OS Release 9.0.
  • Page 363 The following sample output displays the address bindings in the DHCP client table on the extended DHCP local server before and after the command clear dhcp server binding is issued. user@host> show dhcp server binding Copyright © 2017, Juniper Networks, Inc.
  • Page 364 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches 2 clients, (0 bound, 0 selecting, 0 renewing, 0 rebinding) IP address Hardware address Type Lease expires at 198.51.100.1 00:00:5e:00:53:01 active 2007-01-17 11:38:47 PST 198.51.100.3 00:00:5e:00:53:02 active 2007-01-17 11:38:41 PST user@host>...
  • Page 365: Clear Dhcp Relay Statistics

    385 Documentation List of Sample Output clear dhcp relay statistics on page 346 Output Fields Table 16 on page 346 lists the output fields for the command. clear dhcp relay statistics Copyright © 2017, Juniper Networks, Inc.
  • Page 366: Table 16: Clear Dhcp Relay Statistics Output Fields

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Table 16: clear dhcp relay statistics Output Fields Field Name Field Description Number of packets discarded by the extended DHCP relay agent application due to errors. Only...
  • Page 367 DHCPREQUEST Messages sent: BOOTREPLY DHCPOFFER DHCPACK DHCPNAK user@host> clear dhcp relay statistics user@host> show dhcp relay statistics Packets dropped: Total Messages received: BOOTREQUEST DHCPDECLINE DHCPDISCOVER DHCPINFORM DHCPRELEASE DHCPREQUEST Messages sent: BOOTREPLY DHCPOFFER DHCPACK DHCPNAK Copyright © 2017, Juniper Networks, Inc.
  • Page 368: Clear Dhcp Server Statistics

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches clear dhcp server statistics Syntax clear dhcp server statistics <bulk-leasequery-connections> <logical-system logical-system-name> <routing-instance routing-instance-name> Release Information Command introduced in Junos OS Release 9.0. bulk-leasequery-connections option introduced in Junos OS Release 16.1.
  • Page 369 Chapter 14: Operational Commands (DHCP and DHCP Relay) DHCPACK 8110 DHCPNAK 8100 user@host> clear dhcp server statistics user@host> show dhcp server statistics Packets dropped: Total Messages received: BOOTREQUEST DHCPDECLINE DHCPDISCOVER DHCPINFORM DHCPRELEASE DHCPREQUEST Messages sent: BOOTREPLY DHCPOFFER DHCPACK DHCPNAK Copyright © 2017, Juniper Networks, Inc.
  • Page 370: Clear Dhcpv6 Relay Binding

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches clear dhcpv6 relay binding Syntax clear dhcpv6 relay binding <address> <all> <dual-stack> <interface interface-name> <interfaces-vlan> <interfaces-wildcard> <logical-system logical-system-name> <routing-instance routing-instance-name> Release Information Command introduced in Junos OS Release 11.4.
  • Page 371 2001:db8:3c4d:15::/64 user@host> show dhcpv6 relay binding Prefix Session Id Expires State Interface Client DUID 2001:db8:3c4d:16::/64 83720 BOUND ge-1/0/0.0 LL_TIME0x1-0x4bfa26af-00:10:94:00:00:02 2001:db8:3c4d:17::/64 83720 BOUND ge-1/0/0.0 LL_TIME0x1-0x4bfa26af-00:10:94:00:00:03 2001:db8:3c4d:18::/64 83720 BOUND ge-1/0/0.0 LL_TIME0x1-0x4bfa26af-00:10:94:00:00:04 2001:db8:3c4d:19::/64 83720 BOUND ge-1/0/0.0 LL_TIME0x1-0x4bfa26af-00:10:94:00:00:05 Copyright © 2017, Juniper Networks, Inc.
  • Page 372 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches 2001:db8:3c4d:20::/64 83720 BOUND ge-1/0/0.0 LL_TIME0x1-0x4bfa26af-00:10:94:00:00:06 clear dhcpv6 relay binding all The following command clears all DHCP relay agent bindings: user@host> clear dhcpv6 relay binding all clear dhcpv6 relay binding dual-stack all The following command clears all DHCPv6 relay agent bindings for all DHCPv6 clients and the associated DHCPv4 bindings in the single-session DHCP dual stack.
  • Page 373: Clear Dhcpv6 Server Binding

    Clear the binding state for DHCPv6 clients on the specified logical system. routing-instance routing-instance-name—(Optional) Clear the binding state for DHCPv6 clients on the specified routing instance. dual-stack—(Optional) Remove either both arms or single arm of dual-stack. Copyright © 2017, Juniper Networks, Inc.
  • Page 374 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches NOTE: dual-stack command is added in the syntax removes both arms of the dual-stack with a single command entry. When the command is not added in the syntax, the...
  • Page 375 The following command clears all the dual-stack local server bindings. user@host> clear dhcpv6 server binding dual-stack all Copyright © 2017, Juniper Networks, Inc.
  • Page 376: Clear Dhcpv6 Relay Statistics

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches clear dhcpv6 relay statistics Syntax clear dhcpv6 relay statistics <bulk-leasequery-connections> <logical-system logical-system-name> <routing-instance routing-instance-name> Release Information Command introduced in Junos OS Release 11.4. Command introduced in Junos OS Release 12.1X48R3 for PTX Series Packet Transport Routers.
  • Page 377 DHCPV6_REPLY DHCPV6_RECONFIGURE DHCPV6_RELAY_FORW user@host> clear dhcpv6 relay statistics user@host> show dhcpv6 relay statistics DHCPv6 Packets dropped: Total Messages received: DHCPV6_DECLINE DHCPV6_SOLICIT DHCPV6_INFORMATION_REQUEST DHCPV6_RELEASE DHCPV6_REQUEST DHCPV6_CONFIRM DHCPV6_RENEW DHCPV6_REBIND DHCPV6_RELAY_REPL Messages sent: DHCPV6_ADVERTISE DHCPV6_REPLY DHCPV6_RECONFIGURE DHCPV6_RELAY_FORW Copyright © 2017, Juniper Networks, Inc.
  • Page 378: Clear Dhcpv6 Server Statistics

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches clear dhcpv6 server statistics Syntax clear dhcpv6 server statistics <bulk-leasequery-connections> <interface interface-name> <logical-system logical-system-name> <routing-instance routing-instance-name> Release Information Command introduced in Junos OS Release 9.6. option introduced in Junos OS Release 16.1.
  • Page 379: Clear System Services Dhcp Binding

    359 Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear system services dhcp binding user@host> clear system services dhcp binding Copyright © 2017, Juniper Networks, Inc.
  • Page 380: Clear System Services Dhcp Conflict

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches clear system services dhcp conflict Syntax clear system services dhcp conflict <address> Release Information Command introduced before Junos OS Release 7.4. Command introduced in Junos OS Release 9.0 for EX Series switches.
  • Page 381: Clear System Services Dhcp Statistics

    361 Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear system services dhcp statistics user@host> clear system services dhcp statistics Copyright © 2017, Juniper Networks, Inc.
  • Page 382: Request Dhcp Server Reconfigure

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches request dhcp server reconfigure Syntax request dhcp server reconfigure (all | address | interface interface–name | logical-system logical-system–name | routing-instance routing-instance–name) Release Information Command introduced in Junos OS Release 10.0.
  • Page 383 363 Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output request dhcp server reconfigure user@host> request dhcp server reconfigure interface fe-0/0/0.100 Copyright © 2017, Juniper Networks, Inc.
  • Page 384: Request Dhcpv6 Server Reconfigure

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches request dhcpv6 server reconfigure Syntax request dhcpv6 server reconfigure (all | address | client-id | interface interface-name | logical-system logical-system-name | routing-instance routing-instance-name | session-id) Release Information Command introduced in Junos OS Release 10.4.
  • Page 385 Chapter 14: Operational Commands (DHCP and DHCP Relay) Sample Output request dhcpv6 server reconfigure user@host> request dhcpv6 server reconfigure 2001db8::2/16 Copyright © 2017, Juniper Networks, Inc.
  • Page 386: Request System Reboot

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches request system reboot List of Syntax Syntax on page 366 Syntax (EX Series Switches) on page 366 Syntax (TX Matrix Router) on page 366 Syntax (TX Matrix Plus Router) on page 366...
  • Page 387 —Absolute time at which to reboot the software, specified as year, yymmddhhmm month, day, hour, and minute. hh:mm —Absolute time on the current day at which to stop the software, specified in 24-hour time. Copyright © 2017, Juniper Networks, Inc.
  • Page 388 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches both-routing-engines—(Optional) Reboot both Routing Engines at the same time. in minutes—(Optional) Number of minutes from now to reboot the software. This option is an alias for the option.
  • Page 389 NOTE: To reboot a router that has two Routing Engines, reboot the backup Routing Engine (if you have upgraded it) first, and then reboot the master Routing Engine. Copyright © 2017, Juniper Networks, Inc.
  • Page 390 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Required Privilege maintenance Level Related clear system reboot Documentation request system halt Routing Matrix with a TX Matrix Plus Router Solutions Page request vmhost reboot List of Sample Output...
  • Page 391 Chapter 14: Operational Commands (DHCP and DHCP Relay) Copyright © 2017, Juniper Networks, Inc.
  • Page 392: Show Dhcp Relay Binding

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches show dhcp relay binding Syntax show dhcp relay binding <address> <brief> <detail> <interface interface-name> <interfaces-vlan> <interfaces-wildcard> <ip-address | mac-address> <logical-system logical-system-name> <routing-instance routing-instance-name> <summary> Release Information Command introduced in Junos OS Release 8.3.
  • Page 393: Table 17: Show Dhcp Relay Binding Output Fields

    Remote ID generated by the Option 82 Agent Remote ID Generated Remote ID detail (suboption 1) Hardware address of the DHCP client. Hardware address brief detail Number of seconds in which the lease expires. Expires brief detail Copyright © 2017, Juniper Networks, Inc.
  • Page 394 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Table 17: show dhcp relay binding Output Fields (continued) Level of Field Name Field Description Output State State of the DHCP relay address binding table on the DHCP...
  • Page 395 Bootp Relay Address: 198.51.100.32 Session Id: Generated Remote ID host:ge-1/0/0:100 show dhcp relay binding interface user@host> show dhcp relay binding interface fe-0/0/2 IP address Hardware address Type Lease expires at 198.51.100.1 00:00:5e:00:53:01 active 2007-03-27 15:06:20 EDT Copyright © 2017, Juniper Networks, Inc.
  • Page 396 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches show dhcp relay binding interface vlan-id user@host> show dhcp relay binding interface ge-1/1/0:100 IP address Session Id Hardware address Expires State Interface 198.51.100.15 00:00:5e:00:53:94 86124 BOUND ge-1/1/0:100 show dhcp relay binding interface svlan-id user@host>...
  • Page 397 Chapter 14: Operational Commands (DHCP and DHCP Relay) show dhcp relay binding summary user@host> show dhcp relay binding summary 3 clients, (2 init, 1 bound, 0 selecting, 0 requesting, 0 renewing, 0 rebinding, 0 releasing) Copyright © 2017, Juniper Networks, Inc.
  • Page 398: Show Dhcp Server Binding

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches show dhcp server binding Syntax show dhcp server binding <address> <interfaces-vlan><brief | detail | summary> <interface interface-name> <interfaces-vlan> <interfaces-wildcard> <logical-system logical-system-name> <routing-instance routing-instance-name> Release Information Command introduced in Junos OS Release 9.0.
  • Page 399: Table 18: Show Dhcp Server Binding Output Fields

    IP address brief detail Session ID of the subscriber session. Session Id brief detail Hardware address Hardware address of the DHCP client. brief detail Expires Number of seconds in which lease expires. brief detail Copyright © 2017, Juniper Networks, Inc.
  • Page 400 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Table 18: show dhcp server binding Output Fields (continued) Field Name Field Description Level of Output State of the address binding table on the extended DHCP State...
  • Page 401 Identifier of the dynamic ACI interface set entry in the detail session database. DHCP client profile name. Client Profile Name detail DHCP server profile name. Dual Stack Group detail IPv6 prefix of peer. Dual Stack Peer Prefix detail Copyright © 2017, Juniper Networks, Inc.
  • Page 402 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Table 18: show dhcp server binding Output Fields (continued) Field Name Field Description Level of Output IPv6 address of peer. Dual Stack Peer Address detail Sample Output show dhcp server binding user@host>...
  • Page 403 Hardware address Expires State Interface 198.51.100.16 00:00:5e:00:53:02 86124 BOUND ge-1/1/0:10-100 show dhcp server binding <ip-address> user@host> show dhcp server binding 198100.19 IP address Session Id Hardware address Expires State Interface 198.51.100.19 00:00:5e:00:53:05 86081 BOUND ge-1/0/0.0 Copyright © 2017, Juniper Networks, Inc.
  • Page 404 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches show dhcp server binding <session-id> user@host> show dhcp server binding 6 IP address Session Id Hardware address Expires State Interface 198.51.100.15 00:00:5e:00:53:01 86124 BOUND ge-1/0/0.0 show dhcp server binding summary user@host>...
  • Page 405: Show Dhcp Relay Statistics

    388 Output Fields Table 19 on page 386 lists the output fields for the command. show dhcp relay statistics Output fields are listed in the approximate order in which they appear. Copyright © 2017, Juniper Networks, Inc.
  • Page 406: Table 19: Show Dhcp Relay Statistics Output Fields

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Table 19: show dhcp relay statistics Output Fields Field Name Field Description Number of packets discarded by the extended DHCP relay agent application due to errors. Only...
  • Page 407 Packets dropped: Total Bad hardware address Bad opcode Bad options Invalid server address Lease Time Violation No available addresses No interface match No routing instance match No valid local address Packet too short Read error Copyright © 2017, Juniper Networks, Inc.
  • Page 408 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Send error Option 60 Option 82 Messages received: BOOTREQUEST DHCPDECLINE DHCPDISCOVER DHCPINFORM DHCPRELEASE DHCPREQUEST DHCPLEASEACTIVE DHCPLEASEUNASSIGNED DHCPLEASEUNKNOWN DHCPLEASEQUERYDONE Messages sent: BOOTREPLY DHCPOFFER DHCPACK DHCPNAK DHCPFORCERENEW DHCPLEASEQUERY DHCPBULKLEASEQUERY...
  • Page 409: Show Dhcp Server Statistics

    392 Output Fields Table 20 on page 390 lists the output fields for the show dhcp server statistics command. Output fields are listed in the approximate order in which they appear. Copyright © 2017, Juniper Networks, Inc.
  • Page 410: Table 20: Show Dhcp Server Statistics Output Fields

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Table 20: show dhcp server statistics Output Fields Field Name Field Description Number of packets discarded by the extended DHCP local server because of errors. Only nonzero Packets dropped statistics appear in the Packets dropped output.
  • Page 411 In-flight Connections Sample Output show dhcp server statistics user@host> show dhcp server statistics Packets dropped: Total Lease Time Violation Messages received: BOOTREQUEST DHCPDECLINE DHCPDISCOVER DHCPINFORM DHCPRELEASE DHCPREQUEST DHCPRENEW DHCPREBIND Messages sent: BOOTREPLY DHCPOFFER DHCPACK Copyright © 2017, Juniper Networks, Inc.
  • Page 412 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches DHCPNAK DHCPFORCERENEW show dhcp server statistics user@host> show dhcp server statistics verbose Packets dropped: Total Messages received: BOOTREQUEST DHCPDECLINE DHCPDISCOVER DHCPINFORM DHCPRELEASE DHCPREQUEST DHCPRENEW DHCPREBIND Messages sent:...
  • Page 413: Show Dhcpv6 Relay Binding

    This option supports the use of the wildcard character (*). logical-system logical-system-name—(Optional) Perform this operation on the specified logical system. routing-instance routing-instance-name—(Optional) Perform this operation on the specified routing instance. summary—(Optional) Display a summary of DHCPv6 client information. Copyright © 2017, Juniper Networks, Inc.
  • Page 414: Table 21: Show Dhcpv6 Relay Binding Output Fields

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Required Privilege view Level Related Clearing DHCP Bindings for Subscriber Access Documentation clear dhcpv6 relay binding on page 350 List of Sample Output show dhcpv6 relay binding on page 396...
  • Page 415 Interface of the DHCPv6 server. detail Relay Address IP address of the relay. detail Client Pool Name Address pool that granted the client lease. detail Client ID Length Length of client ID. All levels Copyright © 2017, Juniper Networks, Inc.
  • Page 416 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Table 21: show dhcpv6 relay binding Output Fields (continued) Level of Field Name Field Description Output Client Id Client ID. All levels Generated Circuit ID Circuit ID generated by the DHCPv6 Interface-ID option (option...
  • Page 417 Client Id: /0x00010001/0x4bfa26af/0x00109400/0x0001 Generated Remote ID Enterprise Number: 1411 Generated Remote ID: host:ge-1/0/0:100 show dhcpv6 relay binding detail (Dual-Stack) user@host> show dhcpv6 relay binding detail Session Id: Client IPv6 Prefix: 2001:db8:ffff:0:4::/64 Client IPv6 Address: 2001:db8:3000:8003::1/128 Copyright © 2017, Juniper Networks, Inc.
  • Page 418 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Client DUID: LL0x1-00:00:64:01:01:02 State: BOUND(DHCPV6_RELAY_STATE_BOUND) Lease Expires: 2016-10-17 07:39:25 PDT Lease Expires in: 3450 seconds Lease Start: 2016-10-17 06:39:25 PDT Last Packet Received: 2016-10-17 06:39:25 PDT Incoming Client Interface: ae0.3221225472...
  • Page 419 Generated Remote ID: ge-9/0/9:111 show dhcpv6 relay binding (Interfaces VLAN) user@host> show dhcpv6 relay binding ge-1/0/0:100-200 Prefix Session Id Expires State Interface Client DUID 2001:DB8::/32 87583 BOUND ge-1/0/0.1073741827 LL_TIME0x1-0x4d5d009f-00:10:94:00:00:01 2001:DB8:19::/32 87583 BOUND ge-1/0/0.1073741827 LL_TIME0x1-0x4d5d009f-00:10:94:00:00:01 Copyright © 2017, Juniper Networks, Inc.
  • Page 420 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches show dhcpv6 relay binding (Interfaces Wildcard) user@host> show dhcpv6 relay binding demux0 Prefix Session Id Expires State Interface Client DUID 2001:DB8::/32 79681 BOUND demux0.1073741824 LL_TIME0x1-0x4d5d009f-00:10:94:00:00:01 2001:DB8:19::/32 79681 BOUND demux0.1073741825...
  • Page 421: Show Dhcpv6 Server Binding

    Display information about active client bindings for DHCPv6 clients on the specified logical system. routing-instance routing-instance-name—(Optional) Display information about active client bindings for DHCPv6 clients on the specified routing instance. Required Privilege view Level Copyright © 2017, Juniper Networks, Inc.
  • Page 422: Table 22: Show Dhcpv6 Server Binding Output Fields

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Related Clearing DHCP Bindings for Subscriber Access Documentation clear dhcpv6 server binding on page 353 List of Sample Output show dhcpv6 server binding on page 404 show dhcpv6 server binding detail on page 404...
  • Page 423 S-VLAN ID of the client’s incoming interface. Client Interface detail Svlan Id VLAN ID of the client’s incoming interface. Client Interface Vlan detail DHCPv6 server profile name. Dual Stack Group detail DHCPv6 Peer IP address. Dual Stack Peer detail Address Copyright © 2017, Juniper Networks, Inc.
  • Page 424 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Sample Output show dhcpv6 server binding user@host> show dhcpv6 server binding Prefix Session Id Expires State Interface Client DUID 2001:db8:1111:2222::/64 6 86321 BOUND ge-1/0/0.0 LL_TIME0x1-0x2e159c0-00:10:94:00:00:01 2001:db8:1111:2222::/64 7...
  • Page 425 (Interfaces Wildcard) user@host> show dhcpv6 server binding demux0 Prefix Session Id Expires State Interface Client DUID 2001:db8::/32 79681 BOUND demux0.1073741824 LL_TIME0x1-0x4d5d009f-00:10:94:00:00:01 2001:db8:19::/32 79681 BOUND demux0.1073741825 LL_TIME0x1-0x4d5d009f-00:10:94:00:00:01 2001:db8:C9::/32 79681 BOUND demux0.1073741826 LL_TIME0x1-0x4d5d009f-00:10:94:00:00:01 Copyright © 2017, Juniper Networks, Inc.
  • Page 426 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches show dhcpv6 server binding (Interfaces Wildcard) user@host> show dhcpv6 server binding ge-1/3/* Prefix Session Id Expires State Interface Client DUID 2001:db8::/32 79681 BOUND ge-1/3/0.110 LL_TIME0x1-0x4d5d009f-00:10:94:00:00:01 2001:db8:19::/32 79681 BOUND ge-1/3/0.110...
  • Page 427: Show Dhcpv6 Relay Statistics

    410 Output Fields Table 23 on page 408 lists the output fields for the show dhcpv6 relay statistics command. Output fields are listed in the approximate order in which they appear. Copyright © 2017, Juniper Networks, Inc.
  • Page 428: Table 23: Show Dhcpv6 Relay Statistics Output Fields

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Table 23: show dhcpv6 relay statistics Output Fields Field Name Field Description Number of packets discarded by the extended DHCPv6 relay agent application due to errors. Only...
  • Page 429 DHCPv6 Packets dropped: Total Lease Time Violation Messages received: DHCPV6_DECLINE DHCPV6_SOLICIT DHCPV6_INFORMATION_REQUEST DHCPV6_RELEASE DHCPV6_REQUEST DHCPV6_CONFIRM DHCPV6_RENEW DHCPV6_REBIND DHCPV6_RELAY_REPL DHCPV6_LEASEQUERY_REPLY DHCPV6_LEASEQUERY_DATA DHCPV6_LEASEQUERY_DONE Messages sent: DHCPV6_ADVERTISE DHCPV6_REPLY DHCPV6_RECONFIGURE DHCPV6_RELAY_FORW DHCPV6_LEASEQUERY Packets forwarded: Total FWD REQUEST Copyright © 2017, Juniper Networks, Inc.
  • Page 430 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches FWD REPLY External Server Response: State Responding show dhcpv6 relay statistics bulk-leasequery-connections user@host> show dhcp relay statistics bulk-leasequery-connections Total Requested Servers: Total Attempted Servers: Total Connected: Total Terminated by Server: 0...
  • Page 431: Show Dhcpv6 Server Statistics

    413 Output Fields Table 24 on page 412 lists the output fields for the command. show dhcpv6 server statistics Output fields are listed in the approximate order in which they appear. Copyright © 2017, Juniper Networks, Inc.
  • Page 432: Table 24: Show Dhcpv6 Server Statistics Output Fields

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Table 24: show dhcpv6 server statistics Output Fields Field Name Field Description Number of packets discarded by the extended DHCPv6 local server because of errors. Only nonzero Packets dropped statistics appear in the Packets dropped output.
  • Page 433 DHCPV6_REPLY DHCPV6_RECONFIGURE DHCPV6_LEASEQUERY_REPLY DHCPV6_LEASEQUERY_DATA DHCPV6_LEASEQUERY_DONE show dhcpv6 server statistics bulk-leasequery-connections user@host> show dhcpv6 server statistics bulk-leasequery-connections Total Accepted Connections: Total Not-Accepted Connections: Connections Closed due to Errors: Connections Closed due to max-empty-replies: In-flight Connections: Copyright © 2017, Juniper Networks, Inc.
  • Page 434: Table 25: Show Route Extensive Output Fields

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches show route extensive List of Syntax Syntax on page 414 Syntax (EX Series Switches) on page 414 Syntax show route extensive <destination-prefix> <logical-system (all | logical-system-name)> Syntax (EX Series show route extensive <destination-prefix>...
  • Page 435 -101. Preference2 LocalPref Preference2 If the value for Route 2 is 155, the value is -156. Route 2 is preferred because it LocalPref Preference2 has a higher value and a lower value. LocalPref Preference2 Copyright © 2017, Juniper Networks, Inc.
  • Page 436 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Table 25: show route extensive Output Fields (continued) Field Name Field Description (IS-IS only). In IS-IS, a single autonomous system (AS) can be divided into smaller groups called Level areas.
  • Page 437 Session ID alternate (LFA). Weight for the backup path. If the weight of an indirect next hop is larger than zero, the weight value Weight is shown. For sample output, see show route table Copyright © 2017, Juniper Networks, Inc.
  • Page 438 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Table 25: show route extensive Output Fields (continued) Field Name Field Description If the route is inactive, the reason for its current state is indicated. Typical reasons include: Inactive reason —Currently active route was selected over this route.
  • Page 439 Juniper Networks customer support only. AS path through which the route was learned. The letters at the end of the AS path indicate the path AS path origin, providing an indication of the state of the route at the point at which the AS path originated: —IGP.
  • Page 440 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Table 25: show route extensive Output Fields (continued) Field Name Field Description Indicates the status of a BGP route: route status —The specified BGP route is imported by the default BGP policy.
  • Page 441 Next hop: via so-0/3/0.0, selected State: <Active Int> Local AS: 64496 Age: 1:32:40 Task: IF Announcement bits (1): 3-Resolve tree 2 AS path: I OSPF Preference: 10 Next-hop reference count: 1 Next hop: via so-0/3/0.0, selected Copyright © 2017, Juniper Networks, Inc.
  • Page 442 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches State: <Int> Inactive reason: Route Preference Local AS: 64496 Age: 1:32:40 Metric: 1 Area: 0.0.0.0 Task: OSPF AS path: I 203.0.113.103/32 (1 entry, 1 announced) *Local Preference: 0...
  • Page 443 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden) (1 entry, 1 announced) TSI: KRT in-kernel 0 /36 -> {} *MPLS Preference: 0 Next hop type: Receive Next-hop reference count: 6 State: <Active Int> Local AS: 64496 Age: 1:34:08 Metric: 1 Copyright © 2017, Juniper Networks, Inc.
  • Page 444 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Task: MPLS Announcement bits (1): 0-KRT AS path: I mpls.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden) 299840 (1 entry, 1 announced) TSI: KRT in-kernel 299840 /52 -> {indirect(1048575)}...
  • Page 445 Announcement bits (1): 0-KRT AS path: I ff02::d/128 (1 entry, 1 announced) TSI: KRT in-kernel ff02::d/128 -> {} *PIM Preference: 0 Next-hop reference count: 18 State: <Active NoReadvrt Int> Local AS: 64496 Age: 1:34:08 Copyright © 2017, Juniper Networks, Inc.
  • Page 446 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Task: PIM Recv6 Announcement bits (1): 0-KRT AS path: I ff02::16/128 (1 entry, 1 announced) TSI: KRT in-kernel ff02::16/128 -> {} *MLD Preference: 0 Next-hop reference count: 18 State: <Active NoReadvrt Int>...
  • Page 447 Label operation: Push 300112 Label TTL action: prop-ttl State: <Active Ext> Local AS: 64509 Peer AS: 65539 Age: 1w0d 23:06:56 AIGP: 25 Task: BGP_65539.203.0.113.9+56732 Announcement bits (1): 0-KRT AS path: 65539 64508 I Accepted Copyright © 2017, Juniper Networks, Inc.
  • Page 448 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Route Label: 300112 Localpref: 100 Router ID: 213.0.113.99 show route extensive (Access Route) user@host> show route 203.0.113.102 extensive inet.0: 39256 destinations, 39258 routes (39255 active, 0 holddown, 1 hidden) 203.0.113.102/32 (1 entry, 1 announced)
  • Page 449 Label TTL action: prop-ttl Session Id: 0x202 State: Active Int Local AS: 64500 Age: 5:31 Metric: 2 Task: RSVP Announcement bits (1): 0-KRT AS path: I OSPF Preference: 10 Next hop type: Router, Next hop index: 615 Copyright © 2017, Juniper Networks, Inc.
  • Page 450 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Address: 0xb9d78c4 Next-hop reference count: 7 Next hop: 203.0.113.112 via ge-2/1/8.0, selected Session Id: 0x201 State: Int Inactive reason: Route Preference Local AS: 64500 Age: 5:35 Metric: 3 Area: 0.0.0.0...
  • Page 451 Primary Upstream : 198.51.100.3:0--198.51.100.2:0 RPF Nexthops ge-1/2/15.0, 1.2.94.1, Label: 301568, weight: 0x1 ge-1/2/14.0, 1.2.3.1, Label: 301568, weight: 0x1 Backup Upstream : 198.51.100.3:0--198.51.100.6:0 RPF Nexthops : ge-1/2/20.0, 198.51.100.96, Label: 301584, weight: 0xfffe ge-1/2/19.0, 198.51.100.36, Label: 301584, weight: 0xfffe Copyright © 2017, Juniper Networks, Inc.
  • Page 452: Show Route Protocol

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches show route protocol List of Syntax Syntax on page 432 Syntax (EX Series Switches) on page 432 Syntax show route protocol protocol <brief | detail | extensive | terse>...
  • Page 453 437 show route protocol frr on page 438 show route protocol l2circuit detail on page 438 show route protocol l2vpn extensive on page 439 show route protocol ldp on page 440 Copyright © 2017, Juniper Networks, Inc.
  • Page 454 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches show route protocol ldp extensive on page 440 show route protocol ospf (Layer 3 VPN) on page 441 show route protocol ospf detail on page 442 show route protocol rip on page 442...
  • Page 455 Localpref: 100 Router ID: 207.17.136.192 show route protocol bgp detail (Labeled Unicast) user@host> show route protocol bgp 1.1.1.8/32 detail inet.0: 45 destinations, 46 routes (45 active, 0 holddown, 0 hidden) 1.1.1.8/32 (2 entries, 2 announced) Copyright © 2017, Juniper Networks, Inc.
  • Page 456 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches State: *BGP Preference: 1/-101 Next hop type: Indirect, Next hop index: 0 Address: 0xc007f30 Next-hop reference count: 2 Source: 1.1.1.1 Next hop type: Router, Next hop index: 614 Next hop: 20.1.1.2 via ge-0/0/1.0, selected...
  • Page 457 *[Direct/0] 25w4d 04:13:21 > via lo0.0 inet6.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 2001:db8::10:255:165:1/128 *[Direct/0] 25w4d 04:13:21 > via lo0.0 fe80::2a0:a5ff:fe12:ad7/128 Copyright © 2017, Juniper Networks, Inc.
  • Page 458 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches *[Direct/0] 25w4d 04:13:21 > via lo0.0 show route protocol frr user@host> show route protocol frr inet.0: 43 destinations, 43 routes (42 active, 0 holddown, 1 hidden) inet.3: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden) cust1.inet.0: 1033 destinations, 2043 routes (1033 active, 0 holddown, 0 hidden)
  • Page 459 Next hop: via so-0/0/1.0, selected Label operation: Push 800000 Offset: -4 Protocol next hop: 10.255.14.220 Push 800000 Offset: -4 Indirect next hop: 85142a0 288 State: <Active Int> Local AS: Age: 7:48 Task: Common L2 VC Copyright © 2017, Juniper Networks, Inc.
  • Page 460 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Announcement bits (2): 0-KRT 1-Common L2 VC AS path: I Communities: target:69:1 Layer2-info: encaps:PPP, control flags:2, mtu: 0 show route protocol ldp user@host> show route protocol ldp inet.0: 12 destinations, 13 routes (12 active, 0 holddown, 0 hidden)
  • Page 461 *[OSPF/10] 00:05:18, metric 4 > via t3-3/2/0.0 10.39.1.8/30 [OSPF/10] 00:05:18, metric 2 > via t3-3/2/0.0 10.255.14.171/32 *[OSPF/10] 00:05:18, metric 4 > via t3-3/2/0.0 10.255.14.179/32 *[OSPF/10] 00:05:18, metric 2 > via t3-3/2/0.0 172.16.233.5/32 *[OSPF/10] 20:25:55, metric 1 Copyright © 2017, Juniper Networks, Inc.
  • Page 462 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches VPN-AB.inet.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 10.39.1.16/30 [OSPF/10] 00:05:43, metric 1 >...
  • Page 463 *Static Preference: 5 Next hop type: Router, Next hop index: 324 Address: 0x9274010 Next-hop reference count: 27 Next hop: 192.168.187.126 via fxp0.0, selected Session Id: 0x0 State: <Active NoReadvrt Int Ext> Age: 7w3d 21:24:25 Copyright © 2017, Juniper Networks, Inc.
  • Page 464 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Validation State: unverified Task: RT Announcement bits (1): 0-KRT AS path: I Copyright © 2017, Juniper Networks, Inc.
  • Page 465: Table 26: Show System Services Dhcp Binding Output Fields

    IP addresses or a static binding to one or more specific IP addresses. Time the lease expires or for leases that do not expire. All levels Lease Expires at never Copyright © 2017, Juniper Networks, Inc.
  • Page 466 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Table 26: show system services dhcp binding Output Fields (continued) Field Name Field Description Level of Output option only) Time the client obtained the lease from the DHCP server.
  • Page 467 Chapter 14: Operational Commands (DHCP and DHCP Relay) State active DHCP options: Name: name-server, Value: { 6.6.6.6, 6.6.6.7 } Name: domain-name, Value: mydomain.tld Code: 19, Type: flag, Value: off Code: 40, Type: string, Value: domain.tld Code: 32, Type: ip-address, Value: 3.3.3.33 Copyright © 2017, Juniper Networks, Inc.
  • Page 468: Table 27: Show System Services Dhcp Conflict Output Fields

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches show system services dhcp conflict Syntax show system services dhcp conflict Release Information Command introduced before Junos OS Release 7.4. Command introduced in Junos OS Release 9.0 for EX Series switches.
  • Page 469: Table 28: Show System Services Dhcp Global Output Fields

    Maximum time a client can retain an IP address lease on the server. Maximum lease time User-defined options created for the DHCP server. If no options DHCP options have been defined, this field is blank. Copyright © 2017, Juniper Networks, Inc.
  • Page 470 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Sample Output show system services dhcp global user@host> show system services dhcp global Global settings: BOOTP lease length infinite DHCP lease times: Default lease time 1 hour...
  • Page 471: Table 29: Show System Services Dhcp Pool Output Fields

    Number of IP addresses in the pool that are assigned to DHCP clients and the Addresses assigned detail total number of IP addresses in the pool. Number of assigned IP addresses in the pool that are active. Active detail Copyright © 2017, Juniper Networks, Inc.
  • Page 472 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Table 29: show system services dhcp pool Output Fields (continued) Field Name Field Description Level of Output Number of assigned IP addresses in the pool that are excluded.
  • Page 473 Chapter 14: Operational Commands (DHCP and DHCP Relay) Code: 40, Type: string, Value: domain.tld Code: 32, Type: ip-address, Value: 192.0.2.1 Copyright © 2017, Juniper Networks, Inc.
  • Page 474: Table 30: Show System Services Dhcp Statistics Output Fields

    DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches show system services dhcp statistics Syntax show system services dhcp statistics Release Information Command introduced before Junos OS Release 7.4. Command introduced in Junos OS Release 9.0 for EX Series switches.
  • Page 475 No available addresses No interface match No routing instance match No valid local address Packet too short Read error Send error Messages received: BOOTREQUEST DHCPDECLINE DHCPDISCOVER DHCPINFORM DHCPRELEASE DHCPREQUEST Messages sent: BOOTREPLY DHCPACK DHCPOFFER DHCPNAK Copyright © 2017, Juniper Networks, Inc.
  • Page 476 DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches Copyright © 2017, Juniper Networks, Inc.

This manual is also suitable for:

Ex4300Ex2300

Table of Contents