Содержание

Примеры конфигураций различных моделей коммутаторов для подключения IP-телефонов

WS-C6506-E

switchport
 switchport trunk encapsulation dot1q
 switchport trunk native vlan 3
 switchport trunk allowed vlan 3,2601
 switchport mode trunk
 switchport nonegotiate
 switchport voice vlan 2601
 load-interval 30
 wrr-queue queue-limit 65 15 15 
 wrr-queue random-detect min-threshold 1 70 100 100 100 100 100 100 100 
 wrr-queue random-detect min-threshold 2 70 100 100 100 100 100 100 100 
 wrr-queue random-detect min-threshold 3 40 40 50 50 60 60 70 70 
 wrr-queue random-detect max-threshold 1 100 100 100 100 100 100 100 100 
 wrr-queue random-detect max-threshold 2 100 100 100 100 100 100 100 100 
 wrr-queue random-detect max-threshold 3 70 70 80 80 90 90 100 100 
 wrr-queue cos-map 2 1 1 2 
 wrr-queue cos-map 3 5 3 4 
 wrr-queue cos-map 3 7 6 7 
 no cdp enable
 lldp enable
 spanning-tree portfast edge trunk

SNR-S2940-8G-v2

lldp enable
Interface Ethernet1/7
 description Yealink T31 (305)
 lldp transmit med tlv capability
 lldp transmit med tlv networkPolicy
 network policy voice tag tagged vid 2601
 spanning-tree portfast
 switchport mode trunk
 switchport trunk allowed vlan 3;2601
 switchport trunk native vlan 3

HPE V1910-48G

undo voice vlan security enable
voice vlan track lldp
lldp enable

interface GigabitEthernet1/0/1
 description Yealink-T31(1-306-01)
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan 25 2601
 port trunk pvid vlan 25
 undo voice vlan mode auto
 voice vlan 2601 enable
 stp edged-port enable