在S2300上(shàng)配置了(le)Voice Vl★ ✘an後,連接到(dào)S2300的(de)IP話(huà)↔↑₹≤機(jī)并沒有(yǒu)獲取到(dàoσ✘£)該Voice Vlan的(de)ID,而是(shì)★βσ"被分(fēn)配到(dào)了(le)其他(tā)普通(tōng)Vlan上(π→$∞shàng)。IP話(huà)機(jī)的(de)型号是( ↓$shì)Grandstream GXP1405。
相(xiàng)關的(de)配置信息如(rú)下(xià),其中I₹∑φP話(huà)機(jī)連接到(dào)Ethernet0/0/12
interface Ethernet0/0/ π•♣12
description testt voip σεPhone
voice-vlan 6 enable
voice-vlan mode manual
port hybrid pvid vlan 4
port hybrid tagged vlan 6
port hybrid untagged vlan 4
undo negotiation auto
speed 100
即使更換成如(rú)下(xià)配置,IP話(hu à)機(jī)也(yě)沒有(yǒu)獲取到(dΩ↕ào)voice Vlan的(de)ID。
interface Ethernet0/0/♥σ12
description testt voip♥π¶ Phoone
voice-vlan 6 enable
voice-vlan mode manual
voice-vlan legacy enabl↔→♣e
port link-type trunk
port trunk pvid vlan 4
port trunk allow-pass vla₩•n 6
原因1:查詢時(shí)時(shí)間(jiān)參數(shù)設↑$置不(bù)正确
原因2:設備未正确關聯到(dào)采集器♠φ(qì),采集方式未配置
這(zhè)種型号的(de)IP話(hu∏∏×à)機(jī)發出的(de)數(shù)據包是(€>✘shì)不(bù)帶TAG的(de),采用(yòng)MAC ¥∏-VLAN的(de)方式:
vlan 6
mac-vlan mac-addre↑₽∞ss xxx-xxx-xxx //the mac-address oπ≥f IP話(huà)機(jī)
interface Ethernet0/0/12
port hybrid untagged vlan 4 6&nb₽φsp; //add 6 to untag vlan
mac-vlan enable
如(rú)此修改後,連接S2300交換機(jī)的(de)δβ∏IP話(huà)機(jī)能(néng)獲取到 ≥♣(dào)了(le)vlan6對(duì)應的±♣↕(de)接口的(de)IP地(dì)址,并能(néng)正常呼叫,同α 時(shí)PC也(yě)能(néng)獲取到(dà÷Ωλo)了(le)vlan4對(duì)應的(de)接口的(de)IP地(dì)♦₽★≠址。
無