Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

include-irb-and-l2

Syntax

Hierarchy Level

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:

  • VLAN:

Note:

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:

Note:

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:

When you configure both the include-irb-and-l2 and use-interface-description statements, the format displays the description for the Layer 2 interface:

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:

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:

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:

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.

Note:

The EX Series switches that support the include-irb-and-l2 statement are the EX4300, EX4600, and EX9200 switches.