Switch CLI Reference Guide

Voice VLAN Commands

voice vlan state
Command Objective

This command Enables / Disables voice vlan in the Switch.

Syntax

voice vlan state [{oui-enabled | disabled | auto}]

Parameter Description
  • oui-enable - Enable voice vlan with OUI.

  • disabled - Disable voice vlan.

  • auto - Enable voice vlan with LLDP-MED.

ModeGlobal Configuration Mode
voice vlan id
Command Objective

This command specifies the voice VLAN.

Syntax

voice vlan id <integer(2-4094)>

Parameter Description
  • <integer(2-4094)> - VLAN ID.

ModeGlobal Configuration Mode
voice vlan aging-time
Command Objective

This command specifies the voice VLAN aging timeout interval in minutes.

Syntax

voice vlan aging-time <integer(30-65535)>

Parameter Description
  • <integer(30-65535)> - Timeout in minutes.

ModeGlobal Configuration Mode
voice vlan cos
Command Objective

This command specifies the OUI Voice VLAN Class of Service (CoS).

Syntax

voice vlan cos <integer(0-7)> [remark]

Parameter Description
  • <integer(0-7)> - cos.

  • [remark] - Specifies that the L2 user priority is remarked with the CoS value.

ModeGlobal Configuration Mode
voice vlan vpt
Command Objective

This command specifies the LLDP-MED vlan priority tag.

Syntax

voice vlan vpt <integer(0-7)>

Parameter Description
  • <integer(0-7)> - vpt.

ModeGlobal Configuration Mode
voice vlan dscp
Command Objective

This command specifies the LLDP-MED dscp.

Syntax

voice vlan dscp <integer(0-63)>

Parameter Description
  • <integer(0-63)> - dscp.

ModeGlobal Configuration Mode
voice vlan oui-table
Command Objective

This command specifies the voice vlan OUI table.

Syntax

voice vlan oui-table {add <ucast_mac> [<string(32)>] | remove <ucast_mac>}

Parameter Description
  • add <ucast_mac> - Add voice device mac address prefix to OUI table.

  • [<string(32)>] - Voice device prefix description.

  • Remove <ucast_mac> - Remove voice device mac address prefix from OUI table.

ModeGlobal Configuration Mode
voice vlan enable
Command Objective

This command specifies the OUI voice vlan enable/disable on interfaces.

Syntax

voice vlan enable

no voice vlan enable

ModeInterface Configuration Mode
voice vlan cos mode
Command Objective

This command specifies the OUI voice vlan cos mode on interfaces.

Syntax

voice vlan cos mode {src | all }

Parameter Description
  • src - QoS attributes are applied to packets with OUIs in the source MAC address.

  • all - QoS attributes are applied to packets that are classified to the Voice VLAN.

ModeInterface Configuration Mode
show voice vlan
Command Objective

Show voice vlan state.

Syntax

show voice vlan [oui-table]

Parameter Description
  • [oui-table] - Specifies OUI table.

ModePrivileged EXEC Mode

Was This Article Helpful?

Help us to improve our support portal

Techdocs Article Helpful form

Techdocs Article NOT Helpful form

  • Still can't find what you're looking for? Try our knowledge base or ask our community for more help.