Top Banner
© 2014 Cisco Systems, Inc. All rights reserved. Cisco Networking Academy Packet Tracer 6 Building a VoIP Network (Part 3) Eric Kwok CCIE #43698 (R&S) Technical Manager, APAC Region
16

© 2014 Cisco Systems, Inc. All rights reserved. Cisco Networking Academy Packet Tracer 6 Building a VoIP Network (Part 3) Eric Kwok CCIE #43698 (R&S) Technical.

Dec 18, 2015

Download

Documents

Suzan Morris
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: © 2014 Cisco Systems, Inc. All rights reserved. Cisco Networking Academy Packet Tracer 6 Building a VoIP Network (Part 3) Eric Kwok CCIE #43698 (R&S) Technical.

© 2014 Cisco Systems, Inc. All rights reserved.Cisco Networking Academy

Packet Tracer 6Building a VoIP Network (Part 3)

Eric KwokCCIE #43698 (R&S)

Technical Manager, APAC Region

Page 2: © 2014 Cisco Systems, Inc. All rights reserved. Cisco Networking Academy Packet Tracer 6 Building a VoIP Network (Part 3) Eric Kwok CCIE #43698 (R&S) Technical.

© 2014 Cisco Systems, Inc. All rights reserved.Cisco Networking Academy

Session 3• Why do we need Voice VLAN?

• Access port or trunk port?

• Tagged or not tagged?

Page 3: © 2014 Cisco Systems, Inc. All rights reserved. Cisco Networking Academy Packet Tracer 6 Building a VoIP Network (Part 3) Eric Kwok CCIE #43698 (R&S) Technical.

© 2014 Cisco Systems, Inc. All rights reserved.Cisco Networking Academy

Why?• Performance (Broadcast domain)

• Manageability (apply policy, QoS, logical group, addressing)

• Independent of Physical Topology (connect phone to any vlan access port)

• Security (boundary between data and voice packet)

Access vlan 10Voice vlan 20

Access vlan 20(voice)

Access vlan 10(data)

Page 4: © 2014 Cisco Systems, Inc. All rights reserved. Cisco Networking Academy Packet Tracer 6 Building a VoIP Network (Part 3) Eric Kwok CCIE #43698 (R&S) Technical.

© 2014 Cisco Systems, Inc. All rights reserved.Cisco Networking Academy

Phone boot up

CDPNative VLAN 10Voice VLAN 20

PoE Power

Page 5: © 2014 Cisco Systems, Inc. All rights reserved. Cisco Networking Academy Packet Tracer 6 Building a VoIP Network (Part 3) Eric Kwok CCIE #43698 (R&S) Technical.

© 2014 Cisco Systems, Inc. All rights reserved.Cisco Networking Academy

Voice VLAN• SW(config-if)# switchport mod access• SW(config-if)# switchport access vlan 10• SW(config-if)# switchport voice vlan 20

Data vlan 10Voice vlan 20

Fa0/1SWPC

Special 802.1Q trunk through CDP

V20 DD

PCP (Priority or CoS)

Page 6: © 2014 Cisco Systems, Inc. All rights reserved. Cisco Networking Academy Packet Tracer 6 Building a VoIP Network (Part 3) Eric Kwok CCIE #43698 (R&S) Technical.

© 2014 Cisco Systems, Inc. All rights reserved.Cisco Networking Academy

SW#sh int switchport

Name: Fa0/1Switchport: EnabledAdministrative Mode: static accessOperational Mode: static accessAdministrative Trunking Encapsulation: dot1qOperational Trunking Encapsulation: nativeNegotiation of Trunking: OffAccess Mode VLAN: 10 (data)Trunking Native Mode VLAN: 1 (default)Voice VLAN: 20Administrative private-vlan host-association: noneAdministrative private-vlan mapping: noneAdministrative private-vlan trunk native VLAN: noneAdministrative private-vlan trunk encapsulation: dot1qAdministrative private-vlan trunk normal VLANs: noneAdministrative private-vlan trunk private VLANs: noneOperational private-vlan: noneTrunking VLANs Enabled: AllPruning VLANs Enabled: 2-1001Capture Mode DisabledCapture VLANs Allowed: ALLProtected: falseUnknown unicast blocked: disabledUnknown multicast blocked: disabledAppliance trust: none

SW#sh int switchport

Name: Fa0/6Switchport: EnabledAdministrative Mode: dynamic autoOperational Mode: downAdministrative Trunking Encapsulation: dot1qOperational Trunking Encapsulation: nativeNegotiation of Trunking: OnAccess Mode VLAN: 1 (default)Trunking Native Mode VLAN: 1 (default)Voice VLAN: noneAdministrative private-vlan host-association: noneAdministrative private-vlan mapping: noneAdministrative private-vlan trunk native VLAN: noneAdministrative private-vlan trunk encapsulation: dot1qAdministrative private-vlan trunk normal VLANs: noneAdministrative private-vlan trunk private VLANs: noneOperational private-vlan: noneTrunking VLANs Enabled: AllPruning VLANs Enabled: 2-1001Capture Mode DisabledCapture VLANs Allowed: ALLProtected: falseUnknown unicast blocked: disabledUnknown multicast blocked: disabled

Page 7: © 2014 Cisco Systems, Inc. All rights reserved. Cisco Networking Academy Packet Tracer 6 Building a VoIP Network (Part 3) Eric Kwok CCIE #43698 (R&S) Technical.

© 2014 Cisco Systems, Inc. All rights reserved.Cisco Networking Academy

CoS• Ethernet Frame to include QoS

• No field to specific the priority of the frame

• 802.1p task group to work on the traffic classes

• Used in 802.1Q tag (3 bits PCP)

Page 8: © 2014 Cisco Systems, Inc. All rights reserved. Cisco Networking Academy Packet Tracer 6 Building a VoIP Network (Part 3) Eric Kwok CCIE #43698 (R&S) Technical.

© 2014 Cisco Systems, Inc. All rights reserved.Cisco Networking Academy

CoS in Voice Frame

TPCI PCP DEICFI VLAN ID

S.MAC D.MAC Type/Length Payload FCS

S.MAC D.MAC 802.1Q Tag Payload FCSType/

Length

Priority0-7

VLAN0-4095

0x8100

Page 9: © 2014 Cisco Systems, Inc. All rights reserved. Cisco Networking Academy Packet Tracer 6 Building a VoIP Network (Part 3) Eric Kwok CCIE #43698 (R&S) Technical.

© 2014 Cisco Systems, Inc. All rights reserved.Cisco Networking Academy

Lab Setup

SPAN Port

PoE Ports

Cisco 891W 4 Ports PoE

Packet capture

Page 10: © 2014 Cisco Systems, Inc. All rights reserved. Cisco Networking Academy Packet Tracer 6 Building a VoIP Network (Part 3) Eric Kwok CCIE #43698 (R&S) Technical.

© 2014 Cisco Systems, Inc. All rights reserved.Cisco Networking Academy

Phone CDP

Phone sending out CDP

Cisco 7970

Request 10.25W PoE powerMax Power Consumption

Packet capture

Page 11: © 2014 Cisco Systems, Inc. All rights reserved. Cisco Networking Academy Packet Tracer 6 Building a VoIP Network (Part 3) Eric Kwok CCIE #43698 (R&S) Technical.

© 2014 Cisco Systems, Inc. All rights reserved.Cisco Networking Academy

Router (integrated Switch) CDP

Cisco 891 RouterCDP from Router

Native VLAN for Data (untagged)

Voice VLAN (tagged)

Available PoE Power

Page 12: © 2014 Cisco Systems, Inc. All rights reserved. Cisco Networking Academy Packet Tracer 6 Building a VoIP Network (Part 3) Eric Kwok CCIE #43698 (R&S) Technical.

© 2014 Cisco Systems, Inc. All rights reserved.Cisco Networking Academy

Voice VLAN 20

Page 13: © 2014 Cisco Systems, Inc. All rights reserved. Cisco Networking Academy Packet Tracer 6 Building a VoIP Network (Part 3) Eric Kwok CCIE #43698 (R&S) Technical.

© 2014 Cisco Systems, Inc. All rights reserved.Cisco Networking Academy

Priority in VLAN Tag (Voice and Data Frame)

Voice Frame VLAN 20• RTP , Pri 5• SKINNY, Pri 0, 3

7961 Data Frame untaggedNative VLAN

Packet capture

Page 14: © 2014 Cisco Systems, Inc. All rights reserved. Cisco Networking Academy Packet Tracer 6 Building a VoIP Network (Part 3) Eric Kwok CCIE #43698 (R&S) Technical.

© 2014 Cisco Systems, Inc. All rights reserved.Cisco Networking Academy

Data Frame VLAN 10, Pri 0

7970 Data Frame taggedVLAN 10, Pri 0

7961 Data Frame untaggedNative VLAN

Page 15: © 2014 Cisco Systems, Inc. All rights reserved. Cisco Networking Academy Packet Tracer 6 Building a VoIP Network (Part 3) Eric Kwok CCIE #43698 (R&S) Technical.

© 2014 Cisco Systems, Inc. All rights reserved.Cisco Networking Academy

Let‘s go to Packet Tracer

V20 DD V20 D10

V20

D

Special 802.1Q trunk through CDP

PCP (Priority or CoS)

Page 16: © 2014 Cisco Systems, Inc. All rights reserved. Cisco Networking Academy Packet Tracer 6 Building a VoIP Network (Part 3) Eric Kwok CCIE #43698 (R&S) Technical.

© 2014 Cisco Systems, Inc. All rights reserved.Cisco Networking Academy

Session 3 Summary• Why do we need Voice VLAN?

• Both data vlan and voice vlan in single port

• Security (diff vlan, policy) and performance (broadcast domain)

• Access port or trunk port?• Special trunk or access port which can handle 802.1Q tag

• Tagged or not tagged?• Voice is tagged with CoS set

• Data could be tagged or not tagged depends on the phone model

• Notes:• Port security, max 2 addresses