Administrator Guide

Layer 2 Switching Commands 850
3
Configure port 10 to be in access mode. The data VLAN ID is 1 and uses
untagged packets.
console(config)#interface gi1/0/10
console(config-if-Gi1/0/10)#switchport mode access
4
Enable port-based 802.1X authentication on the port for the data traffic.
console(config-if-Gi1/0/10)#dot1x port-control auto
5
Enable the voice VLAN feature on the interface. Voice packets are tagged
using VLAN 25.
console(config-if-Gi1/0/10)#switchport voice vlan 25
6
Allow access to the voice VLAN regardless of the 802.1X port
authentication state.
console(config-if-Gi1/0/10)#switchport voice vlan override-
authentication
console(config-if-Gi1/0/10)#show voice vlan interface gi1/0/10
Interface...................................... Gi1/0/10
Voice VLAN Interface Mode...................... Enabled
Voice VLAN ID.................................. 25
Voice VLAN COS Override........................ False
Voice VLAN DSCP Value.......................... 46
Voice VLAN Port Status......................... Disabled
Voice VLAN Authentication...................... Disabled
switchport voice vlan priority
This command is to either trust or not trust (untrust) the data traffic arriving
on the voice VLAN port.
Syntax
switchport voice vlan priority {trust | untrust}
trust
Trust the IEEE 802.1p user priority contained in packets arriving
on the voice VLAN port.