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

inner-vlan-id (Dynamic VLANs)

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
inner-vlan-id number;

Hierarchy Level

content_copy zoom_out_map
[edit dynamic-profiles profile-name interfaces interface-name unit logical-unit-number input-vlan-map],
[edit dynamic-profiles profile-name interfaces interface-name unit logical-unit-number output-vlan-map]

Description

For dynamic VLAN interfaces, specify the VLAN ID to rewrite for the inner tag of the final packet.

You cannot include the inner-vlan-id statement with the swap statement, swap-push statement, push-push statement, or push-swap statement and the inner-vlan-id statement at the [edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number output-vlan-map] hierarchy level. If you include any of those statements in the output VLAN map, the VLAN ID in the outgoing frame is rewritten to the inner-vlan-id statement you include at the [edit interfaces interface-name unit logical-unit-number] hierarchy level.

Options

number—VLAN ID number. When used for input VLAN maps, you can specify the $junos-inner-vlan-map-id predefined variable to dynamically obtain the VLAN identifier.

  • Range: 0 through 4094

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 10.4.

footer-navigation