Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

use-vlan-id

Syntax

For Platforms with Enhanced Layer 2 Software (ELS)

For MX Series Platforms

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:

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.