use-vlan-id
Syntax
use-vlan-id;
For Platforms with Enhanced Layer 2 Software (ELS)
[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
[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.
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:
(fe | ge)-fpc/pic/port.subunit:svlan_id-vlan_id
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.
The EX Series switches that support the use-vlan-id
statement are the
EX4300, EX4600, and EX9200 switches.