10-03-2011 07:00 AM - edited 03-07-2019 02:34 AM
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#
10-03-2011 07:30 AM
i think that instruction is wrong as
Switchport Voice Vlan is setting the voice port vlan to use not the encapsulation
10-03-2011 09:10 AM
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.
Why is the command not visible in the running config?
Thanks!
10-03-2011 10:51 PM
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
10-04-2011 02:12 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide