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 (circuit-id | remote-id)], [edit logical-systems logical-system-name ... forwarding-options dhcp-relay dhcpv6 (relay-agent-interface-id | relay-agent-remote-id)], [edit logical-systems logical-system-name ... forwarding-options dhcp-relay ... relay-option-82 (circuit-id | remote-id)], [edit routing-instances routing-instance-name forwarding-options dhcp-relay dhcpv6 (relay-agent-interface-id | relay-agent-remote-id)], [edit routing-instances routing-instance-name forwarding-options dhcp-relay ... relay-option-82 (circuit-id | remote-id)], [edit vlans vlan-name forwarding-options dhcp-security dhcpv6-options option-18], [edit vlans vlan-name forwarding-options dhcp-security dhcpv6-options option-37]
Description
Include both the integrated routing and bridging
(IRB) interface name and Layer 2 interface name in the circuit-id
or remote-id
value in the DHCP option 82 information.
VLAN tags are global.
For leasequery and bulk leasequery operations that involve integrated routing and bridging (IRB) interfaces, you must configure DHCP relay agent to include the layer 2 interface name along with IRB name in the circuit ID of option 82. DHCP relay agent uses the layer 2 interface name when using leasequery or bulk leasequery to restore the lease database.
When you configure the include-irb-and-l2
statement
without including the no-vlan-interface
statement, the
format is as follows:
Bridge domain:
(fe | ge)-fpc/pic/port.subunit:bridge-domain-name+irb.subunit
VLAN:
(fe | ge)-fpc/pic/port.subunit:vlan-name+irb.subunit
For remote systems, the subunit is required and is used to differentiate an interface.
When you configure both the include-irb-and-l2
statement
and the use-vlan-id
statement, the format is as follows:
(fe | ge)-fpc/pic/port.subunit:svlan-id-vlan-id+irb.subunit
The svlan-id-vlan-id represents the VLANs associated with the bridge domain.
When you configure both the include-irb-and-l2
and no-vlan-interface-name
statements, the format is as follows:
(fe | ge)-fpc/pic/port.subunit+irb.subunit
When you configure both the include-irb-and-l2
and use-interface-description
statements, the format displays the
description for the Layer 2 interface:
l2_descr:vlan-name+irb.subunit
If you configure both the include-irb-and-l2
and use-interface-description
statements, and no description for
the Layer 2 interface is found, the format displays the Layer 2 logical
interface name:
(fe | ge)-fpc/pic/port.subunit:vlan-name+irb.subunit
When you configure the include-irb-and-l2
statement
with both the no-vlan-interface-name
and use-interface-description
statements, the format displays as follows:
l2_descr+irb.subunit
If you configure the include-irb-and-l2
statement
with both the no-vlan-interface-name
and use-interface-description
statements, and no description is found for the Layer 2 interface,
the format displays as follows:
(fe | ge)-fpc/pic/port.subunit+irb.subunit
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 14.1.
The EX Series switches that support the include-irb-and-l2
statement are the EX4300, EX4600, and EX9200 switches.