Académique Documents
Professionnel Documents
Culture Documents
Network Access
Physical
Please
Bits
Hubs, Repeaters
Physical, Data Link, Network, Transport, Session, Presentation, Application Please Do Not Throw Sausage Pizza Away All People Seem To Need Data Processing
OSI Layers:
Application Provides Services to applications E-Mail Web Browsing Word Processing
OSI Layers:
Session Establishes, Manages and Terminates Sessions between applications Dialog Control Transport Ensures Reliable Transport of Data Transmission Control Protocol (TCP) User Datagram Protocol (UDP) Reliable Transport Protocol (RTP) Port Numbers
OSI Layers:
Network Packet Formatting Logical Addressing Routing Data Link Provides reliable transport across a physical link Physical Addressing Media Access Control (MAC)
OSI Layers:
Physical Converting data to physical impulses EIA/TIA-232 V.35 RS-449 802.3 Others
Addressing:
Physical (MAC) 48 bit Hexadecimal Address burned into device memory 24 bits Organizational Unique Identifier (OUI) 24 bits Serial Number Layer 2 of the OSI Model
Addressing:
Logical (IP,IPX,AppleTalk)
IP Most common IPv4 (32 bits) IPv6 (128 bits) Dotted Decimal Format (IPv4) Classes A, B, C, Multicast, and Expirmental Class A: 0.0.0.0 through 127.255.255.255 Class B: 128.0.0.0 through 191.255.255.255 Class C: 192.0.0.0 through 223.255.255.255 Multicast: 224.0.0.0 through 239.255.255.255 Experimental: 240.0.0.0 through 255.255.255.254
Routing Protocols:
Distance-Vector Routing View from directly connected neighbors BGP EIGRP RIP Link-state Routing View of entire network IS-IS OSPF
Switch Trunking:
Switches can be interconnected via a single connection Uses either IEEE 802.1Q (Standard) or InterSwitch Link protocol (ISL) a Cisco proprietary. Native VLAN carries all management information All frames are Tagged to cross the trunk link except for the native VLAN frames. Tagging adds bits onto frame which are removed prior to exiting the switch on any line not a trunk Tagging adds delay Tagging saves physical ports VLANs are distributed to all switches via Virtual Trunking Protocol (VTP)
Creating VLANs on a Switch: Switch(config)#vlan 10 Switch(config-vlan)#name DATA Switch(config-vlan)#vlan 50 Switch(config-vlan)#name VOICE Switch(config-vlan)#exit Switch(config)#int fa0/1 Switch(config-if)#switchport trunk encap dot1q Switch(config-if)#switchport mode trunk Switch(config-if)#switchport trunk native vlan 1 Switch(config-if)#int fa0/2 Switch(config-if)#switchport mode access Switch(config-if)#switchport access vlan 10 Switch(config-if)#switchport voice vlan 50 Switch(config-if)#end Switch#
IP Phone Boot:
1. 2. 3. 4. IP Phone connects to switchport Switchport senses and supplies PoE Via CDP phone receives voice VLAN information Phone sends DHCP request on voice VLAN and receives IP address, Mask and default-Gateway 5. Once addressed the phone contacts TFTP server (Option 150) and downloads configuration files 6. Phone contacts first call processing center (CME Router) and registers. If unable to contact will contact additional centers as listed in configuration
Network Delay:
1. Propagation Delay 2. Handling Delay 3. Queuing Delay * Total acceptable delay is 150 mSec
Jitter:
Variation in delay affecting packet arrival time
Known as Quantization
Divided into sixteen (16) segments. 0 through 7 positive and 0 through 7 negative Values are not evenly spaced to allow for more accurate recreation of voice patterns
Save bandwidth.
Reduces quality of voice As low as 8Kbps
The average human can hear frequencies of 20-20,000 Hz Human speech uses frequencies from 200-9000 Hz Telephone channels typically transmit frequencies of 300-3400 Hz The Nyquist theorem is able to reproduce frequencies of 300-4000 Hz
Answer: -76
Codecs:
Codec
G.711 Internet Low Bitrate Codec (ilBC) G.729 G.726 G.729a G.728
Bandwidth Consumed
64 Kbps 15.2 Kbps 8 Kbps 32 Kbps 8 Kbps 16 Kbps
MOS
4.1 4.1 3.92 3.85 3.7 3.61
MOS (Mean Opinion Score) is determined by listeners listening to the phrase Nowadays, a chicken leg is a rare dish. and scoring the quality of the connection on a one to five scale.
Ethernet: Frame-Relay: Point-to-point Protocol (PPP): Layer 3 and 4, network and transport IP: UDP: Real-time Transport Protocol (RTP): Typically layers 3 and 4 are always 40 bytes
Bytes-per-packet = (Sample_size * Codec_bandwidth) / 8 Total_bandwidth = Packet_size * Packets_per_second Add any additional overhead: GRE/L2TP: MPLS: Ipsec: Call B: 24 bytes 4 bytes 50-57 bytes 20 mSec Sample size G.729 Codec Frame-relay network (4 byte)
Call B:
(.02 * 8Kbps) = 160bps / 8 = 20 bytes 20 + 4 (frame-relay) + 40 (layer 3 and 4) = 64 bytes 64 * (1 / .02) = 3.2K bytes per second 3.2K * 8 = 25.6Kbps
Call B: G.711
(.02 * 64Kbps) = 128Kbps / 8 = 160 bytes 160 + 4 (frame-relay) + 40 (layer 3 and 4) = 204 bytes 204 * (1 / .02) = 10.2K bytes per second 10.2K * 8 = 81.6Kbps
Payload Type
Sequence Number
Time Stamp
Speech Quality:
Packet Loss
Speech Quality:
Voice Activity Detection (VAD)
Dial Plan:
Plans for growth Cost of leased circuits or VPNs Cost of additional equipment for packet voice Number overlap (When one or more sites have the same phone numbers) Call-flows (The call patterns from each side) Busy hour (The time of day when the highest number of calls are offered on a circuit)
Call Legs:
Any voice connection too or from a voice port or connection or voice device
1: 2: 3: 4:
POTS call leg from x1101 on CME_A VoIP call leg from CME_A to ROUTER_B VoIP call leg on ROUTER_B from CME_A POTS call leg to x2510 from ROUTER_B
Router_B(config)#dial-peer voice 1000 voip Router_B(config-dial-peer)#destination-pattern 1 Router_B(config-dial-peer)#session target ipv4:10.1.1.1 Router_B(config-dial-peer)#codec g711ulaw
Matches: 5551, 5552, 5553 (Where is any three digits) Matches 1555, 4555, 5555, 6555 Matches 55512, 55912 Matches 8..1, 8..3, 8..5, 9..1, 9..3, 9..5 (Where is any two digits)
Digit Manipulation:
Call Processing:
Most specific pattern wins Once a match is found the call is processed
Router(config)#dial-peer voice 1 voip Router(config-dial-peer)#destination-pattern 555[1-3] Router(config-dial-peer)#session target ipv4:10.1.1.1 Router(config-dial-peer)#dial-peer voice 2 voip Router(config-dial-peer)#destination-pattern 5551 Router(config-dial-peer)#session target ipv4:10.1.1.2 Router(config-dial-peer)#dial-peer voice 3 voip Router(config-dial-peer)#destination-pattern 5551 Router(config-dial-peer)#session target ipv4:10.1.1.3
If a user dials 5551234 dial-peer 3 will be used because it is a more specific match. Router will drop the last three digits and only route the 5551 (Useful for emergency calls)
Dial Peer 0:
Default Dial Peer Uses any voice codec (Not hard coded) No DTMF relay: DTMF relay sends dial tones outside of the audio stream IP Precedence 0: Strips all QoS markings. Calls will now be sent as if they were normal data Voice Activity Detection (VAD) enabled: Allows bandwidth savings by not transmitting dead time No Resource Reservation Protocol (RSVP) support: The router will not reserve end-to-end bandwidth Fax-rate voice: The router will limit fax bandwidth to that of the VoIP codec. Can devastate fax calls No application support: calls cannot be referred to outside applications No Direct Inward Dial (DID) support: Cannot use the DID feature to forward calls to an internal device from an PSTN source
Digit Manipulation:
prefix digits: Allows for digits to be added to be specified forward-digits number: Allows for the number of digits that will be forwarded [no] digit-strip: Enables (default) or disables digit stripping num-exp: Transforms any number dialed that matches pattern. Example: num-exp 4 5 Call 4321 converted to 5321 Example: num-exp 0 5000 Call 0 converted to 5000 voice translation profile: Allows a translation profile of up to 15 rules to be transform the number
POTS Failover:
If the VoIP network fails, the phone system should automatically switch to the POTS system
Connects any dialed 0, to the receptionist within the company at extension 5000
Translation Profile: Define the rules that dictate how the router will transform
the number Associate the rules to a profile Associate the profile to a dial peer
Router(config)#voice translation-rule 1 Router(config-translation-rule)#rule 1 /6/ /5/ Router(config-translation-rule)#voice translation-profile CHANGE_DID Router(config-translation-profile)#translate called 1 Router(config-translation-profile)#dial-peer voice 100 pots Router(config-dial-peer)#translation-profile incoming CHANGE_DID
Translation Profile:
Translation Order:
Applied 1st
num-exp
Automatic digit strip (POTS dial peers) Voice translation profiles
Applied 2nd
Applied 3rd
Applied 4th
Prefix digits
Applied 5th
forward-digits