Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

use-vlan-id

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
use-vlan-id;

For Platforms with Enhanced Layer 2 Software (ELS)

content_copy zoom_out_map
[edit forwarding-options helpers bootp dhcp-option82-circuit-id]
[edit forwarding-options helpers bootp interface  interface-name dhcp-option82-circuit-id]

For MX Series Platforms

content_copy zoom_out_map
[edit bridge-domains bridge-domain-name forwarding-options dhcp-security option-82 circuit-id]

Description

Use the VLAN ID rather than the VLAN name (the default) in the circuit ID or remote ID value in the DHCP option 82 information.

Note:

The use-vlan-id statement is mutually exclusive with the use-interface-description and no-vlan-interface-name statements.

The use-vlan-id statement only applies to interfaces in a bridge domain. The format of the Agent Circuit ID or Agent Remote ID information for Fast Ethernet or Gigabit Ethernet interfaces is as follows:

content_copy zoom_out_map
(fe | ge)-fpc/pic/port.subunit:svlan_id-vlan_id
Note:

The subunit is required and used to differentiate the interface for remote systems, and svlan_id-vlan_id represents the VLANs associated with the bridge domain.

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 9.3.

Hierarchy level [edit vlans vlan-name forwarding-options dhcp-security] introduced in Junos OS Release 13.2X50-D10. (See Using the Enhanced Layer 2 Software CLI for information about ELS.)

Hierarchy level [edit bridge-domains bridge-domain-name forwarding-options dhcp-security] introduced in Junos OS Release 14.1 for the MX Series.

Note:

The EX Series switches that support the use-vlan-id statement are the EX4300, EX4600, and EX9200 switches.

footer-navigation