/
set protocols dot1x interface dynamic-vlan-enable

set protocols dot1x interface dynamic-vlan-enable


The set protocols dot1x interface dynamic-vlan-enable command is used to enable or disable the dynamic VLAN function.

NOTE:

This command is supported from PICOS 2.11.16.

Command Syntax

set protocols dot1x interface <interface-name> dynamic-vlan-enable <true | false>

Parameter

Parameter

Description

interface <interface-name>

Specifies the physical interface name. The value is a string.

dynamic-vlan-enable <true | false>

Enables or disables the dynamic VLAN function. The value could be true or false.

  •   true: enables the dynamic VLAN function.
  •   false: disables the dynamic VLAN function.

By default, the dynamic VLAN function is disabled.

Usage Guidelines

To support dynamic VLAN, the authentication server needs to support the following three fields:

  •   Tunnel Type: The protocol type used by the tunnel. The value of the tunnel type is 13 which indicates the VLAN protocol.
  •   Tunnel Medium Type: Medium type used when creating the tunnel. The value is fixed as 802.
  •   Tunnel Private Group ID: Set this to VLAN ID. The dynamic VLAN is delivered through this attribute.

NOTE:

  •   The link type of the dynamic VLAN port should be trunk port.
  •   The VLAN that is configured as the dynamic VLAN should already be created on the switch.


Example

  •   Enable the dynamic VLAN function on interface ge-1/1/1.
admin@Xorplus# set protocols do1x interface ge-1/1/1 dynamic-vlan-enable true
admin@Xorplus# commit


Copyright © 2025 Pica8 Inc. All Rights Reserved.