Related Documentation
- ACX, MX, PTX Series
- dhcp-relay
- MX, PTX Series
- Extended DHCP Relay Agent Overview
- Grouping Interfaces with Common DHCP Configurations
- MX Series
- Using External AAA Authentication Services with DHCP
interface (DHCP Relay Agent)
Syntax
Hierarchy Level
Release Information
Statement introduced in Junos OS Release 8.3.
Options upto and exclude introduced in Junos OS Release 9.1.
Support at the [edit ... dhcpv6] hierarchy levels introduced in Junos OS Release 11.4.
Statement introduced in Junos OS Release 12.1 for EX Series switches.
Description
Specify one or more interfaces, or a range of interfaces, that are within a specified group on which the DHCP or DHCPv6 relay agent is enabled. You can repeat the interface interface-name statement to specify multiple interfaces within a group, but you cannot specify the same interface in more than one group. Also, you cannot use an interface that is being used by the DHCP local server. Use the statement at the [edit ... dhcpv6] hierarchy levels to configure DHCPv6 support.
EX Series switches do not support DHCPv6.
![]() | Note: DHCP values are supported in Integrated Routing and Bridging (IRB) configurations. When you configure an IRB interface in a network that is using DHCP, the DHCP information (for example, authentication, address assignment, and so on) is propagated in the associated bridge domain. This enables the DHCP server to configure client IP addresses residing within the bridge domain. IRB currently only supports static DHCP configurations. For additional information about how to configure IRB, see the JUNOS® MX Series 3D Universal Edge Routers Solutions, Release 13.1. |
Options
exclude—Exclude an interface or a range of interfaces from the group. This option and the overrides option are mutually exclusive.
interface-name—Name of the interface. You can repeat this option multiple times.
overrides—Override the specified default configuration settings for the interface. The overrides statement is described separately.
upto-interface-name—Upper end of the range of interfaces; the lower end of the range is the interface-name entry. The interface device name of the upto-interface-name must be the same as the device name of the interface-name.
The remaining statements are explained separately.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Related Documentation
- ACX, MX, PTX Series
- dhcp-relay
- MX, PTX Series
- Extended DHCP Relay Agent Overview
- Grouping Interfaces with Common DHCP Configurations
- MX Series
- Using External AAA Authentication Services with DHCP
Published: 2013-07-05
Related Documentation
- ACX, MX, PTX Series
- dhcp-relay
- MX, PTX Series
- Extended DHCP Relay Agent Overview
- Grouping Interfaces with Common DHCP Configurations
- MX Series
- Using External AAA Authentication Services with DHCP