Switchport voice vlan – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 457
VLAN Commands
Software Reference for x310 Series Switches
C613-50046-01 REV A
AlliedWare Plus
TM
Operating System - Version 5.4.4C
17.29
switchport voice vlan
Use this command to configure the Voice VLAN tagging advertised when the transmission
of LLDP-MED Network Policy TLVs for voice endpoint devices is enabled. When LLDP-MED
capable IP phones receive this network policy information, they transmit voice data with
the specified tagging. This command also sets the ports to be spanning tree edge ports,
that is, it enables spanning tree portfast on the ports.
Use the no variant of this command to remove LLDP-MED network policy configuration
for voice devices connected to these ports. This does not change the spanning tree edge
port status.
Syntax
switchport voice vlan [<vid>|dot1p|dynamic|untagged]
no switchport voice vlan
Default
By default, no Voice VLAN is configured, and therefore no network policy is advertised for
voice devices.
Mode
Interface Configuration
Usage
LLDP-MED advertisements including Network Policy TLVs are transmitted via a port if:
■
LLDP is enabled (
lldp run command on page 71.16
■
Voice VLAN is configured for the port using this command (
)
■
The port is configured to transmit LLDP advertisements—enabled by default
(
lldp transmit receive command on page 71.20
■
The port is configured to transmit Network Policy TLVs—enabled by default
(
lldp med-tlv-select command on page 71.9
)
■
There is an LLDP-MED device connected to the port.
To set the priority value to be advertised for tagged frames, use the
priority command on page 17.31
.
If the Voice VLAN details are to be assigned by RADIUS, then the RADIUS server must be
configured to send the attribute “Egress-VLANID (56)” or “Egress-VLAN-Name (58)” in the
RADIUS Accept message when authenticating a phone attached to this port.
To set these attributes on the local RADIUS server, use the
or the
egress-vlan-name command on page 51.19
.
For more information about configuring authentication for Voice VLAN,
.
Parameter Description
<vid>
VLAN identifier, in the range 1 to 4094.
dot1p
The IP phone should send User Priority tagged packets, that is, packets in
which the tag contains a User Priority value, and a VID of 0. (The User
Priority tag is also known as the 802.1p priority tag, or the Class of Service
(CoS) tag.)
dynamic
The VLAN ID with which the IP phone should send tagged packets will be
assigned by RADIUS authentication.
untagged
The IP phone should send untagged packets.