allowed-vlans (meshpoint-config)

Defines VLANs allowed on the mesh network. A VLAN must be added to the allowed VLANs list for data to be allowed across the mesh network. Use this command to add and remove VLANs from the list of allowed VLANS.

Supported on the following devices:

Syntax

allowed-vlans [<VLAN-ID>|add <VLAN-ID>|remove <VLAN-ID>]

Parameters

allowed-vlans [<VLAN-ID>|add <VLAN-ID>|remove <VLAN-ID>]

allowed-vlans

Defines VLANs allowed access on the mesh network

<VLAN-ID>

Specifies the VLAN ID or the range of IDs to be managed.

A single VLAN or multiple VLANs can be added to the list of allowed VLANs. When adding multiple VLANs, specify the range (for example, 10-20, 25, 30-35). Use this command to create a VLAN list on a new meshpoint.

add <VLAN-ID>

Adds a single VLAN or a range of VLANs to the list of allowed VLANs. To specify a range of VLANs, specify the first and last VLAN ID in the range separated by a hyphen (for example, 1-10).

  • <VLAN-ID> – Specify the VLAN ID or the range of IDs to add.

remove <VLAN-ID>

Removes a single VLAN or a range of VLANs from the list of allowed VLANs.
  • <VLAN-ID> – Specify the VLAN ID or the range of IDs to remove.

Examples

nx9500-6C8809(config-meshpoint-test)#allowed-vlans 1
nx9500-6C8809(config-meshpoint-test)#allowed-vlans add 10-23
nx9500-6C8809(config-meshpoint-test)#allowed-vlans remove 17
nx9500-6C8809(config-meshpoint-test)#show context
meshpoint test
 meshid test
 beacon-format mesh-point
 control-vlan 1
 allowed-vlans 1,10-16,18-23
 security-mode none
 no root
nx9500-6C8809(config-meshpoint-test)#

Related Commands

no (meshpoint-config)

Clears the list of VLANs allowed access to the mesh network