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 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 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 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 .
® 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.
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.
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...
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.
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/...
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.
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.
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.
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 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.
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 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.
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...
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.
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.
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.
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...
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.
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 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.
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...
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).
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.
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.
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.
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.
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]...
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 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 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:...
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.
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 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 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 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.
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 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.
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 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.
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...
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.
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...
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...
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]...
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...
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.
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...
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 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.
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...
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.
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.
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.
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”...
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.
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.
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;...
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.
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 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 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 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 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...
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],...
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],...
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 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.
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 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 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.
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...
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...
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 ...],...
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...
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.
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.
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.
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.
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],...
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...
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...
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 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.
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.
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.
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.
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.
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.
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 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 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.
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...
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...
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>;...
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 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 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...
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 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>...
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...
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 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 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...
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.
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.
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.
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.
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.
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 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 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...
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 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 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>...
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 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 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 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>...
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...
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 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:...
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 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 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...
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 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 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...
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 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...
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.
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 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 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 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...
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 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 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 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.
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 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 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.
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.
Need help?
Do you have a question about the EX3400 and is the answer not in the manual?
Questions and answers