CLI: VLANs

You can use the vlan vlan-id command to create a VLAN interface. VLAN interfaces are typically used in a trunk Topology to associate a VLAN ID to the interface that is used to manage the appliance.

Configuring VLANs

vlan vlan-id <id> interface <inf>
vlan object <name> {id|priority}

To associate a VLAN ID with an interface:

vlan vlan-id <id> interface <inf>

To create a VLAN object, which can be used in the Optimizer:

vlan object <name> {id|priority}

no vlan <name>

  • id <low (0-4094)> <high (0-4094)> - Set the ID range. To match a single ID use the same number for low and high.
  • priority <low (0-7)> <high (0-7)> - Set the priority range. To match a single priority, specify the same number for both low and high.

EXAMPLE

Create a VLAN Object that defines all tagged VLANs with a VLAN ID between 2 and 7 (inclusive).

vlan object VLAN1 id 2 7

EXAMPLE

Create a VLAN Object that defines all tagged VLANs with a VLAN priority of 2.

vlan object VLAN2 priority 2 2

Viewing VLANs

To show VLAN objects:

show vlan object <vlan>

EXAMPLE

Show VLAN object info

show vlan object VLAN1

Output:

Object: VLAN1
ID, Lower limit: 2
ID, Higher limit: 7
Priority, Lower Limit: 0
Priority, Higher Limit: 7
Type: 802.1Q