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

vlan tag

eng_adel273
Level 1
Level 1

Switch#show interfaces f0/1 capabilities

 

I have the command switchport voice vlan 200 , it doesn't work

 

If I change the IP-telephony manual , from option -  lay 2 qos - 802.1q/vlan tag to 200 , it works properly

 

why .

 

FastEthernet0/1
  Model:                 WS-C2960-24TC-L
  Type:                  10/100BaseTX
  Speed:                 10,100,auto
  Duplex:                half,full,auto
  Trunk encap. type:     802.1Q
  Trunk mode:            on,off,desirable,nonegotiate
  Channel:               yes

 

4 Replies 4

Hello,

 

which IOS version are you running ? Post the full configuration of the switch, you might be missing something...

cisco WS-C2960-24TC-L (PowerPC405) processor (revision J0) with 61440K/4088K byt                                                                                        es of memory.
Processor board ID FOC1334V6M8
Last reset from power-on
1 Virtual Ethernet interface
24 FastEthernet interfaces
2 Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.

64K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address       : 00:27:0C:38:62:00
Motherboard assembly number     : 73-11437-06
Power supply part number        : 341-0097-02
Motherboard serial number       : FOC13344M8D
Power supply serial number      : DCA13278GHL
Model revision number           : J0
Motherboard revision number     : A0
Model number                    : WS-C2960-24TC-L
System serial number            : FOC1334V6M8
Top Assembly Part Number        : 800-29826-03
Top Assembly Revision Number    : C0
Version ID                      : V06
CLEI Code Number                : COMFT00BRA
Hardware Board Revision Number  : 0x01


Switch Ports Model              SW Version            SW Image
------ ----- -----              ----------            ----------
*    1 26    WS-C2960-24TC-L    12.2(44)SE6           C2960-LANBASEK9-M

 

 

==========================================================

Switch#
Switch#show run
Switch#show running-config
Building configuration...

Current configuration : 3321 bytes
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Switch
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
system mtu routing 1500
ip subnet-zero
!
!
!
crypto pki trustpoint TP-self-signed-205021696
 enrollment selfsigned
 subject-name cn=IOS-Self-Signed-Certificate-205021696
 revocation-check none
 rsakeypair TP-self-signed-205021696
!
!
crypto pki certificate chain TP-self-signed-205021696
 certificate self-signed 01
  3082023D 308201A6 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
  30312E30 2C060355 04031325 494F532D 53656C66 2D536967 6E65642D 43657274
  69666963 6174652D 32303530 32313639 36301E17 0D393330 33303130 30303034
  395A170D 32303031 30313030 30303030 5A303031 2E302C06 03550403 1325494F
  532D5365 6C662D53 69676E65 642D4365 72746966 69636174 652D3230 35303231
  36393630 819F300D 06092A86 4886F70D 01010105 0003818D 00308189 02818100
  B9514CF8 1B0C144C 13C16D22 35E2426F A46BE284 B9C6EBC7 B1CAC54E 5137D89B
  3D7CB907 ECDC44E3 4EB1CB3E 9203B3D0 E68E6EB2 B75A7F8C 5154BFBF 8F1E16C0
  08635CA3 106F24BF C749F82C 2C2A409C BF814395 E27E3189 C4B2BE66 18D16482
  A51A3CB2 8F868BDA D1C6B62D 61963F03 1262896E 580FB295 DB89A55F ECBEF121
  02030100 01A36730 65300F06 03551D13 0101FF04 05300301 01FF3012 0603551D
  11040B30 09820753 77697463 682E301F 0603551D 23041830 16801422 0697ACE1
  769157E3 F160A15E C5326D50 EE83FA30 1D060355 1D0E0416 04142206 97ACE176
  9157E3F1 60A15EC5 326D50EE 83FA300D 06092A86 4886F70D 01010405 00038181
  002E5597 74A1CFA3 6B20CB22 D58359A2 961372E5 0C3B774A 4E4CFB64 B0E762FD
  FBD28B41 285AEBD1 40CD148E 71D16429 A728BBA7 C3A1F292 5F6ED0B8 386359FE
  96F07C57 2E3B9545 10EEA839 5F7D4221 2221C7F1 27337492 3985C1A3 886799B7
  C79C0453 F3709E4B 93AC3CCF EF3F98F4 F9B06A30 7C907009 642D9672 60A481B3 44
  quit
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
interface FastEthernet0/1
 switchport trunk allowed vlan 200-210
 switchport mode trunk
!
interface FastEthernet0/2
 switchport trunk allowed vlan 200-210
 switchport mode trunk
!
interface FastEthernet0/3
 switchport access vlan 201
 switchport mode access
 switchport voice vlan 200
 spanning-tree portfast
!
interface FastEthernet0/4
 switchport access vlan 202
 switchport mode access
 switchport voice vlan 200
 spanning-tree portfast
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet0/1
 switchport trunk allowed vlan 201-210
 switchport mode trunk
!
interface GigabitEthernet0/2
!
interface Vlan1
 no ip address
 no ip route-cache
 shutdown
!
ip http server
ip http secure-server
!
control-plane
!
!
line con 0
line vty 0 4
 login
line vty 5 15
 login
!
end

Switch#

Hello,

 

since this is an older version and switch, I am not sure if all the commands below are available, but your port should look like this (enable mls qos globally first):

 

mls qos

 

interface FastEthernet0/3
mls qos trust cos
switchport access vlan 201
switchport mode access
switchport priority extend trust
priority-queue out
switchport voice vlan dot1p
switchport voice vlan 200
spanning-tree portfast
spanning-tree bpduguard enable

your configuration has been applied successfully.

 

The Ip-telephony take ip from data vlan not voice 200

Note : the 2960 connected through hp procurve through trunk ( F0/1 , f0/2 )