Command Line (CLI) Reference > CLI Commands > VLANs

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>

E X A M P L E

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

vlan object VLAN1 id 2 7

E X A M P L E

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>

E X A M P L E

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