cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1466
Views
0
Helpful
4
Replies

2960 switchport voice vlan dot1p

dhalevi
Level 1
Level 1

hi,

I am configuring a port on a 2960 to use dot1p.  I am using the command "switchport voice vlan dot1p".  The switch seems to tak this command, but it doesn't show up in the running config.  How can I confirm that dot1p is enabled?

thanks!

Switch(config)#

Switch(config)#int fa0/3

Switch(config-if)#mls qos trust cos

Switch(config-if)#switchpor voice vlan dot1p

Switch(config-if)#end

Switch#

Switch#

*Mar  6 01:58:59.724: %SYS-5-CONFIG_I: Configured from console by console

Switch#

Switch#show run int fa0/3

Building configuration...

Current configuration : 76 bytes

!

interface FastEthernet0/3

mls qos trust cos

spanning-tree portfast

end

Switch#

Switch#show interface fa0/3 switchport

Name: Fa0/3

Switchport: Enabled

Administrative Mode: dynamic auto

Operational Mode: static access

Administrative Trunking Encapsulation: dot1q

Operational Trunking Encapsulation: native

Negotiation of Trunking: On

Access Mode VLAN: 1 (default)

Trunking Native Mode VLAN: 1 (default)

Administrative Native VLAN tagging: enabled

Voice VLAN: none

Administrative private-vlan host-association: none

Administrative private-vlan mapping: none

Administrative private-vlan trunk native VLAN: none

Administrative private-vlan trunk Native VLAN tagging: enabled

Administrative private-vlan trunk encapsulation: dot1q

Administrative private-vlan trunk normal VLANs: none

Administrative private-vlan trunk associations: none

Administrative private-vlan trunk mappings: none

Operational private-vlan: none

Trunking VLANs Enabled: ALL

Pruning VLANs Enabled: 2-1001

Capture Mode Disabled

Capture VLANs Allowed: ALL

Protected: false

Unknown unicast blocked: disabled

Unknown multicast blocked: disabled

Appliance trust: none

Switch#

Switch#

4 Replies 4

wilrow113
Level 1
Level 1

i think that instruction is wrong as

Switchport Voice Vlan      is setting the voice port vlan to use not the encapsulation

dhalevi
Level 1
Level 1

hi,

Here is the description of this command,

dot1p

—Configure the phone to use IEEE 802.1p priority tagging for voice traffic and to use the default native VLAN (VLAN 0) to carry all traffic. By default, the Cisco IP Phone forwards the voice traffic with an IEEE 802.1p priority of 5.

http://www.cisco.com/en/US/docs/switches/lan/catalyst2975/software/release/12.2_52_se/configuration/guide/swvoip.html

Why is the command not visible in the running config?

Thanks!

Peter Paluch
Cisco Employee
Cisco Employee

Hello,

This is interesting. What IOS version are you running? In addition, can you please configure the port as static access using the switchport mode access command?

Best regards,

Peter

hi,

C2960 Software (C2960-LANBASE-M), Version 12.2(53)SE1

i set the interface back to default then reconfigured,

Switch(config)#default interface fa0/9

Interface FastEthernet0/9 set to default configuration

Switch(config)#do sho run int fa0/9

Building configuration...

Current configuration : 33 bytes

!

interface FastEthernet0/9

end

Switch(config)#int fa0/9

Switch(config-if)#switchport mode access

Switch(config-if)#mls qos tru

Switch(config-if)#mls qos trust cos

Switch(config-if)#switchport voice vlan dot1p

Switch(config-if)#end

*Mar  6 21:18:02.330: %SYS-5-CONFIG_I: Configured from console by conso

Switch#

Switch#show run int fa0/9

Building configuration...

Current configuration : 76 bytes

!

interface FastEthernet0/9

switchport mode access

mls qos trust cos

end

Review Cisco Networking for a $25 gift card