About Gandlaf

1 Ağustos 2014 Cuma

Voice Vlan ( Three Methods of Configuring Voice VLANs )

Three Methods of Configuring Voice VLANs | Complete Lab Included


There are three methods to configure Voice VLANs:
1) Separate the Data VLAN for the PC and the Voice VLAN for the IP phone
2) Use a single VLAN for Data and Voice.
3) Use a single VLAN for Data and Voice but add the 902.1p CoS tag
Voice-VLANs
Network Diagram: Configuring Voice VLANs
OPTION 1
Separate the Data VLAN for the PC and the Voice VLAN for the IP Phone. The internal IP Phone switch will tag VoIP traffic with the respective VLAN number and apply a CoS value of 5. The data frames are set untagged and received by the upstream switch on the configured access VLAN. The connection between the IP Phone and the upstream switch is an 802.1q trunk with the native VLAN equal to the Data VLAN.
SW1:
interface FastEthernet0/2
switchport access vlan 10
switchport voice vlan 800
spanning-tree portfast
Switch: show run int f0/2
OPTION 2
Use a single VLAN for Data and Voice. The IP Phone’s internal switch does not tag the frames and acts as a simple bridge. The connection between the IP Phone and the upstream switch is an access port.
SW1:
interface FastEthernet0/4
switchport trunk encapsulation dot1q
switchport trunk native vlan 10
switchport trunk allowed vlan 10,800
switchport mode trunk
switchport voice vlan 800
spanning-tree portfast trunk
spanning-tree bpdufilter enable
Switch: show run int f0/4
OPTION 3
Use a single VLAN for Data and Voice, but to add an 802.1p CoS tag. Data frames received from the PCon the phone, along with VolP frames sent from the phone get a special 802.1q header that carries a VLAN ID equal to zero and has the CoS field set to 5 for VoIP and the value instructed from the switch for data frames. The Catalyst switch acccepts the frames with VLAN zero as if they are in the access VLAN, but also honors the CoS bits to calculate the switch’s internal QoS tag.
SW1:
interface FastEthernet0/6
switchport access vlan 10
switchport voice vlan dot1p
spanning-tree portfast
Switch: show run int f0/6
Tip: As soon as the switchport Voice VLAN command is applied to the port, the spanning-tree portfast feature is automatically enabled.
Our unique lab format (Qmap) gives you access to step-by-step guide for configuringVoice VLANs and show-commands which highlight the impact of the configuration. You will need NetBrain Qmap Reader to view these details with an in-depth topology diagram.

Hiç yorum yok:

Yorum Gönder