3.5. Voice VLAN Commands

3.5.1. voice vlan

Command Purpose

Use this command to specific VLAN as VOICE VLAN.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

voice vlan VLAN_ID

no voice vlan

Parameter

Parameter Description

Parameter Value

VLAN_ID

Vlan id

2-4094

Command Mode

Global Config

Default

Voice VLAN is disable

Usage

This command is enabled VOICE VLAN.

Examples

This example shows how to enable VLAN 2 as VOICE VLAN:

Switch# configure terminal
Switch(config)# voice vlan 2

3.5.2. voice vlan security enable

Command Purpose

Use this command to enable VOICE VLAN security.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

voice vlan security enable

no voice vlan security enable

Command Mode

Global Config

Default

By default the mode is security.

Usage

If the security is enabled, all the packet that whose MAC is mismatched with OUI will be dropped in VOICE VLAN.

Examples

This example shows how to enable security:

Switch# configure terminal
Switch(config)# voice vlan security enable

Related Commands

show voice vlan state

3.5.3. voice vlan set cos to

Command Purpose

Use this command to set COS for VOICE packet.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

voice vlan set cos to COS

no voice vlan set cos

Parameter

Parameter Description

Parameter Value

COS

cos value

0-7

Command Mode

Global Config

Default

By default the phb is 5

Usage

This command is used to set COS for VOICE packet in global configuration.

Examples

This example shows how to set cos to 7:

Switch# configure terminal
Switch(config)# voice vlan set cos to 7

Related Commands

show voice vlan state

3.5.4. voice vlan mac-address

Command Purpose

Use this command to add OUI to system.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

voice vlan mac-address MAC MASK description LINE

no voice vlan mac-address MAC

Parameter

Parameter Description

Parameter Value

MAC

Source MAC address (unicast or multicast) to add to the address table

MAC Address in HHHH.HHHH.HHHH format

MASK

The MASK for the Source MAC

MAC Mask in HHHH.HHHH.HHHH format

LINE

The description for this OUI

Up to 63 characters

Command Mode

Global Config

Default

There are 5 default OUI in the system.:

0003-6b00-0000 Cisco phone

000f-e200-0000 H3C Aolynk phone

00d0-1e00-0000 Pingtel phone

00e0-7500-0000 Polycom phone

00e0-bb00-0000 3Com phone

Usage

This command is used to add OUI to system database. The packet will be considered as VOICE VLAN packet when the source MAC match the OUI.

Examples

This example shows how to add OUI to system:

Switch# configure terminal
Switch(config)# voice vlan mac-address 0034.3400.0000 FFFF.FF00.0000
description test

Related Commands

show voice vlan state

3.5.5. voice vlan enable

Command Purpose

Use this command to enable VOICE VLAN on port.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

voice vlan enable

no voice vlan enable

Command Mode

Interface Configuration

Default

VOICE VLAN is disable on port

Usage

This command is used to enable VOICE VLAN on port.

Examples

This example shows how to enable VOICE VLAN on port:

Switch# configure terminal
Switch(config)# interface eth-0-1
Switch(config-if)# voice vlan enable

Related Commands

show voice vlan state

3.5.6. show voice vlan state

Command Purpose

Use this command to show the current status of VOICEC VLAN.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

show voice vlan state

Command Mode

Privileged EXEC

Default

None

Usage

This command is used to show the current status of VOICEC VLAN.

Examples

This example shows how to show the current status of VOICEC VLAN:

Switch# show voice vlan state

Related Commands

voice vlan enable