3 voice-vlan – PLANET WGSW-50040 User Manual

Page 144

Advertising
background image

When voice equipment is added to the Voice VLAN, the Voice VLAN is enabled globally by default.

This command disables Voice VLAN on specified port to meet specified application of the user.

Example:

Disable the Voice VLAN function on port3.

Switch#config

Switch(config)#interface ethernet 1/3

Switch(Config-If-Ethernet1/3)#no switchport voice-vlan enable

7.3.3 voice-vlan

Command:

voice-vlan mac <mac-address> mask <mac-mask> priority <priority-id> [name

<voice-name>]

no voice-vlan {mac <mac-address> mask <mac-mask>|name <voice-name> |all}

Function:

Specify certain voice equipment to join in Voice VLAN; the "no" form of this command will let the

equipment leave the Voice VLAN.

Parameter:

Mac-address is the voice equipment MAC address, shown in ”xx-xx-xx-xx-xx-xx” format; mac-mask

is the last eight digit of the mask code of the MAC address, the valid values are: 0xff, 0xfe, 0xfc, 0xf8,

0xf0, 0xe0, 0xc0,0x80, 0x0; priority-id is the priority of the voice traffic, the valid range is 0–7; the

voice-name is the name of the voice equipment, which is to facilitate the equipment management;

all indicates all the MAC addresses of the voice equipments.

Command Mode:

Global Mode.

Default:

This command will add a specified voice equipment into the Voice VLAN, if a non VLAN labeled

data packet from the specified voice equipment enters through the switch port, then no matter

through which port the packet enters, it will belongs to Voice VLAN. The command will not interfere

with the packets of VLAN labels.

Example:

Add the 256 sets of voice equipments of the R&D department with MAC address ranging from

00-30-4f-11-22-00 to 00-30-4f-11-22-ff to the Voice VLAN.

Switch#config

Switch(config)#voice-vlan vlan 100

Switch(config)#voice-vlan mac 00-30-4f-11-22-00 mask 0 priority 5 name test

Advertising