Professional Documents
Culture Documents
CCNA VoIP Chapter 6 640-461
CCNA VoIP Chapter 6 640-461
• Configure FXS:
Signaling
Caller ID information
Call progress tone
Analog Voice Port Configuration:
• Configure FXO:
Dial-type
Ring number (rings before answering)
Digital Voice Port Configuration:
Router(config)#controller t1 1/0
Router(config-controller)#framing esf
Router(config-controller)#clock source line
NOTE: Better to use line clocking provided from PSTN or provider
Router(config-controller)#ds0-group 1 timeslots 1-24 type fxo-loop-start
Digital Voice Port Configuration:
Call Leg 1: The incoming POTS call leg from x1101 on CME_A
Call Leg 2: The outgoing VoIP call leg from CME_A to ROUTER_B
Call Leg 3: The incoming VoIP call leg on ROUTER_B from CME_A
Call Leg 4: The outgoing POTS call leg to x2510 from ROUTER_B
Configuring POTS Dial Peers for FXS Ports:
• If the configured codec does not match the opposite end then the call
will fail. The default codec is G.729
• Example:
555[1-3]… Matches: 5551…, 5552…, 5553… (Where … is
any three digits)
5+23 Matches 5523, 55523, 55523
[14-6]555 Matches 1555, 4555, 5555, 6555
55[59]12 Matches 55512, 55912
[^1-7]..[135] Matches 8..1, 8..3, 8..5, 9..1, 9..3, 9..5
(Where is any two digits)
Digit Manipulation:
Digit Manipulation Problem:
Digit Manipulation Problem Answer:
North American Dial Plan:
Router(config)#voice-port 2/0/0
Router(config-voiceport)#connection plar 1500
Router(config-voiceport)#voice-port 2/0/1
Router(config-voiceport)#connection plar 1500
Call Processing:
1.(No Match) 2510 The dialed number does not match an incoming
called-number dial peer
2.(No Match) x1101 Caller ID information (ANI) does not match the
answer-address dial peer configuration on CME_A
3.(No Match) x1101 Caller ID information (ANI) does not match the
destination-pattern dial peer configuration on CME_A
4.(Match) x1101 comes in FXS port 1/0/0 which matches an incoming POTS
dial peer on CME_A by using the port dial peer configuration command
Call Leg 3:
1.(No Match) 2510 The dialed number does not match an incoming
called-number dial peer on ROUTER_B
2.(No Match) x1101 Caller ID information (ANI) does not match the
answer-address dial peer configuration on ROUTER_B
3.(Match) x1101 Caller ID information (ANI) does match the destination-
pattern dial peer configuration command for the VoIP dial peer 1101 on
ROUTER_B
Call Leg 4:
1.(No Match) 2510 The called number does not match an incoming
called number
2.(No Match) x1101 Caller ID information (ANI) does not match the
answer-address dial peer configuration on ROUTER_B
3.(No Match) x1101 Caller ID information (ANI) does not match the
destination-pattern dial peer configuration
4.(No Match) x1101 did not come into a POTS interface (FXS, FXO, E&M,
Voice BRI/T1/E1 digital interface that could be matched using the port
command. It came via VoIP
5.(Match) Because ROUTER_B could not find a match it will use dial peer 0
Dial Peer 0:
Router(config)#voice-port 1/0/1
Router(config-voiceport)#connection plar 0
Router(config-voiceport)#exit
Router(config)#num-exp 0 5000
• 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
• Format: rule 1 /match/ /set/
Router(config)#voice translation-rule 1
Router(config-translation-rule)#rule 1 /6/ /5/
• 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
• Rules:
• Lack of bandwidth
• Delay
Fixed delay
Variable delay
Jitter (delay variations)
• Packet loss
• Queuing Algorithms
Weighted Fair Queuing (WQF); Balance bandwidth among
all.
Class-Based Weighted Fair Queuing (CBWFQ): Sets
classes and assigns bandwidth
Low Latency Queuing (LLQ): Adds priority to CBWFQ
Cisco AutoQoS:
Voice_Switch(config)#interface fa0/3
Voice_Switch(config-if)#description Cisco Phone
Voice_Switch(config-if)#auto qos voip cisco-phone
Voice_Switch(config-if)#interface fa0/1
Voice_Switch(config-if)#description Switch Router Uplink
Voice_Switch(config-if)#auto qos voip trust
Router(config)#interface fa0/0
Router(config-if)#auto qos voip trust
Cisco AutoQoS Configuration: