beautypg.com

2 switchport voice-vlan enable, 3 voice-vlan – PLANET XGS3-24040 User Manual

Page 182

background image

11-48

11.3.2 switchport voice-vlan enable

Command:

switchport voice-vlan enable

no switchport voice-vlan enable

Function:

Enable the Voice VLAN function on the port; the “no” form of this command disables Voice VLAN

function on the port.

Parameter:

None.

Command Mode:

Port Mode.

Default:

Voice VLAN is enabled by default.

Usage Guide:

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

11.3.3 voice-vlan

Command:

voice-vlan mac mask priority [name

]

no voice-vlan {mac mask |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: