Before you enable voice VLAN, we recommend that you enable quality of service (QoS) on the interface by
entering the
trust device cisco-phone
interface configuration command. If you use the auto QoS feature,
these settings are automatically configured.
When you enter a VLAN ID, the IP phone forwards voice traffic in IEEE 802.1Q frames, tagged with the
specified VLAN ID. The device puts IEEE 802.1Q voice traffic in the voice VLAN.
When you select
dot1p
,
none
, or
untagged
, the device puts the indicated voice traffic in the access VLAN.
In all configurations, the voice traffic carries a Layer 2 IP precedence value. The default is 5 for voice traffic.
When you enable port security on an interface that is also configured with a voice VLAN, set the maximum
allowed secure addresses on the port to 2. When the port is connected to a Cisco IP phone, the IP phone
requires one MAC address. The Cisco IP phone address is learned on the voice VLAN, but not on the access
VLAN. If you connect a single PC to the Cisco IP phone, no additional MAC addresses are required. If you
connect more than one PC to the Cisco IP phone, you must configure enough secure addresses to allow one
for each PC and one for the Cisco IP phone.
If any type of port security is enabled on the access VLAN, dynamic port security is automatically enabled
on the voice VLAN.
You cannot configure static secure MAC addresses in the voice VLAN.
A voice-VLAN port cannot be a private-VLAN port.
The Port Fast feature is automatically enabled when voice VLAN is configured. When you disable voice
VLAN, the Port Fast feature is not automatically disabled.
Examples
This example show how to first populate the VLAN database by associating a VLAN ID with a VLAN name,
and then configure the VLAN (using the name) on an interface, in the access mode: You can also verify your
configuration by entering the
show interfaces interface-id switchport
in privileged EXEC command and
examining information in the Voice VLAN: row.
Part 1 - Making the entry in the VLAN database:
Device#
configure terminal
Device(config)#
vlan 55
Device(config-vlan)#
name test
Device(config-vlan)#
end
Device#
Part 2 - Checking the VLAN database:
Device#
show vlan id 55
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
55 test active
VLAN Type
SAID
MTU
Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ------ ---- -----
------ -------- --- -------- ------ ------
55
enet
100055 1500 -
-
-
-
-
0
0
Remote SPAN VLAN
----------------
Disabled
Primary Secondary Type Ports
------- --------- ----------------- ------------------------------------------
Part 3- Assigning VLAN to the interface by using the name of the VLAN:
Device#
configure terminal
Device(config)#
interface gigabitethernet3/1/1
Device(config-if)#
switchport mode access
Device(config-if)#
switchport voice vlan name test
Device(config-if)#
end
Device#
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 3650 Switches)
366
switchport voice vlan
Содержание Catalyst 3650 Series
Страница 2: ... 2017 Cisco Systems Inc All rights reserved ...
Страница 37: ...P A R T I Campus Fabric Campus Fabric page 13 ...
Страница 38: ......
Страница 51: ...P A R T II Interface and Hardware Components Interface and Hardware Commands page 27 ...
Страница 52: ......
Страница 164: ...Command Reference Cisco IOS XE Everest 16 5 1a Catalyst 3650 Switches 138 voice vlan network policy configuration ...
Страница 165: ...P A R T III IP IP page 141 ...
Страница 166: ......
Страница 197: ...Command Reference Cisco IOS XE Everest 16 5 1a Catalyst 3650 Switches 171 ip address pool DHCP ...
Страница 235: ...P A R T IV IP Multicast Routing IP Multicast Routing page 211 ...
Страница 236: ......
Страница 302: ...Command Reference Cisco IOS XE Everest 16 5 1a Catalyst 3650 Switches 276 show platform ip multicast ...
Страница 303: ...P A R T V IPv6 IPv6 page 279 ...
Страница 304: ......
Страница 305: ...IPv6 ipv6 flow monitor page 280 Command Reference Cisco IOS XE Everest 16 5 1a Catalyst 3650 Switches 279 ...
Страница 307: ...P A R T VI Layer 2 3 Layer 2 3 page 283 ...
Страница 308: ......
Страница 399: ...P A R T VII Multiprotocol Label Switching MPLS MPLS page 375 Multicast VPN page 385 ...
Страница 400: ......
Страница 428: ...Command Reference Cisco IOS XE Everest 16 5 1a Catalyst 3650 Switches 402 show ip pim mdt send ...
Страница 429: ...P A R T VIII Network Management Flexible NetFlow page 405 Network Management page 479 ...
Страница 430: ......
Страница 595: ...P A R T IX Programmability Programmability page 571 ...
Страница 596: ......
Страница 624: ...Command Reference Cisco IOS XE Everest 16 5 1a Catalyst 3650 Switches 598 ping6 ...
Страница 625: ...P A R T X QoS Auto QoS page 601 QoS page 641 ...
Страница 626: ......
Страница 666: ...Command Reference Cisco IOS XE Everest 16 5 1a Catalyst 3650 Switches 640 show auto qos ...
Страница 706: ...Command Reference Cisco IOS XE Everest 16 5 1a Catalyst 3650 Switches 680 trust device ...
Страница 707: ...P A R T XI Routing Bidirectional Forwarding Detection page 683 ...
Страница 708: ......
Страница 725: ...P A R T XII Security Security page 701 ...
Страница 726: ......
Страница 828: ...Fail 0 Command Reference Cisco IOS XE Everest 16 5 1a Catalyst 3650 Switches 802 show aaa local ...
Страница 875: ...P A R T XIII Stack Manager and High Availability Stack Manager and High Availability page 851 ...
Страница 876: ......
Страница 911: ...P A R T XIV System Management Autonomic Networking page 887 System Management page 903 Tracing page 983 ...
Страница 912: ......
Страница 1026: ...Command Reference Cisco IOS XE Everest 16 5 1a Catalyst 3650 Switches 1000 request platform software trace filter binary ...
Страница 1027: ...P A R T XV VLAN VLAN page 1003 ...
Страница 1028: ......
Страница 1100: ...Command Reference Cisco IOS XE Everest 16 5 1a Catalyst 3650 Switches 1074 vtp primary ...
Страница 1102: ...Command Reference Cisco IOS XE Everest 16 5 1a Catalyst 3650 Switches 1076 Notices ...
Страница 1108: ...Command Reference Cisco IOS XE Everest 16 5 1a Catalyst 3650 Switches IN 6 Index ...