Brkcoc 2008
Brkcoc 2008
• Lessons Learned
• Conclusion
Who are We?
Greg Moon Kees Gerritsen
BRKCOC-2008 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 4
SIP Technology Primer
Session Initiation Protocol
What is SIP? (SIP) is an application-layer
control (signaling) protocol
for creating, modifying, and
terminating sessions with
one or more participants.
- RFC 3261
BRKCOC-2008 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 6
What is SIP in This Context?
BRKCOC-2008 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 7
Why SIP, Why Now?
Why Should You Care?
BRKCOC-2008 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 9
Plan and Scope
Introduction: Where We Began
• WAN used for internal call routing and Tail-end Hop Off (TEHO)
• SRST used for local site recovery
• Two existing US-based SIP trunks used for outbound LD and some
WebEx traffic
BRKCOC-2008 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 11
Before
Branch
Office
Pipe PR
Data I
BRKCOC-2008 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 12
After
Branch
Office
Pipe
Data
Cisco WAN
D at
a Pi
pe
SIP Trunk Branch
Office
Provider SIP
Cloud Inbound and Outbound PSTN
BRKCOC-2008 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 13
Introduction: Defining the Scope
BRKCOC-2008 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
Selling the Business Case
Selling the Business Case: Overview and Benefits
What are the Operational Gains?
• Simplified Architecture and resiliency for inbound calls
• Centralized Administration – Reduced Ops complexity
• Adaptive Capacity – Scale bandwidth up or down in real time
BRKCOC-2008 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 16
Selling the Business Case: Caveats and Risks
BRKCOC-2008 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 17
Selling the Business Case: Dollars and Cents
BRKCOC-2008 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 18
Selling the Business Case: Things to Remember
BRKCOC-2008 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 19
Engineering and Implementing the
Solution
Engineering the Solution: US Overview
BRKCOC-2008 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 21
Engineering the Solution: Parameters
BRKCOC-2008 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 23
Engineering the Solution: Direction for Field Offices
BRKCOC-2008 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 24
Engineering the Solution: The Idea
BEFORE Outbound – (Int-)National AFTER In & Outbound – (Int-)National
Local Telco – DID Range All office – DID Ranges
IP PSTN
IP PSTN
Cisco Campus
Cisco Campus
WAN
WAN
BRKCOC-2008 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 27
CUBE: Enterprise Product Portfolio
50-150 ASR 1004/6 RP2
ASR 1002-X
50-100
ASR 1001-X
ISR 4451-X
ISR 4431
20-35 3900E Series ISR-G2
(3925E, 3945E)
CPS
2900 Series
ISR-G2 (2901, 2911, 2921, 2951)
<5
800 ISR
RTP (Audio)
[Link] [Link] [Link] [Link]
BYE BYE
200 OK
200 OK
BRKCOC-2008 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 29
CUBE: High Availability Options
• Inbox redundancy
• ASR 1006,
• Stateful failover
• Local redundancy
• Preserves signaling & media
• L2 Box-to-Box redundancy
Active
• ISR G2/4K (Stateful failover)
SIP SP
• ASR 1001-X/2-X/4/6 (Stateful failover)
• Local redundancy (Both routers must be CUBE
Virtual
IP
physically located on the same Ethernet LAN)
• Not supported across data centers CUBE
• Preserves both signaling and media Standby
BRKCOC-2008 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 30
CUBE: Call Access Control (CAC) Enhancements
CUBE provides various CAC mechanisms to safeguard your network from SIP based attacks and to enforce policies based on:
• Total calls • Maximum connections per destination
• CPU & Memory • Dial-peer or interface bandwidth
• Call spike detection
CUBE CUBE
call threshold global [total/mem/cpu] calls low xx high yy If a call spike is detected,
call treatment on reject calls
BRKCOC-2008 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 31
CUBE: Enhancements
Multiple Incoming Patterns Under Same Incoming/Outgoing Dial-peer
voice class e164-pattern-map 100
e164 4071002...
e164 4081001... Provides the ability to combine multiple
Site A (407)100-2xxx e164 4091001...
destination-patterns targeted to the
(408)100-1xxx dial-peer voice 1 voip same destination to be grouped into a
Site B
destination e164-pattern-map 100 single dial-peer
codec g711uLaw Up to 5000 entries in a text file
Site C (409)100-1xxx
session target ipv4:[Link]
(
! This is an example of the contents
)
Site A voice class e164-pattern-map 200
(919)200-2010 url flash:[Link] of E164 patterns text file
stored in flash:e164-pattern-
Site B (510)100-1010 dial-peer voice 1 voip [Link]
destination e164-pattern-map 200
codec g711ulaw 9192002010
Site C (408)100-1010
session target ipv4:[Link] 5101001010
4081001010
G711 Sites
BRKCOC-2008 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 32
CUBE: Enhancements
Destination Server Group
• Supports multiple destinations (session targets) be defined in a group and applied to a single outbound
dial-peer
• Once an outbound dial-peer is selected to route an outgoing call, multiple destinations within a server
group will be sorted in either round robin or preference [default] order
• This reduces the need to configure multiple dial-peers with the same capabilities but different
destinations. E.g. Multiple subscribers in a cluster
BRKCOC-2008 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 33
CUBE: Enhancements
OOD OPTIONS Ping Keepalive
voice class sip-options-keepalive 1 Sample Show command output
description UDP Options consolidation CUBE#sh voice class sip-options-keepalive 1
down-interval 49
Voice class sip-options-keepalive: 1 AdminStat: Up
up-interval 180
retry 7 Description: UDP Options consolidation
Single OOD Option
transport udp Ping Group applied Transport: udp Sip Profiles: 0
to multiple dial-peers Interval(seconds) Up: 180 Down: 49
dial-peer voice 1 voip with same session
Retry: 7
destination-pattern 6666 targets
session protocol sipv2
session target ipv4:[Link] Peer Tag Server Group OOD SessID OOD Stat IfIndex
voice-class sip options-keepalive profile 1 -------- ------------ ---------- -------- -------
1 4 Active 9
dial-peer voice 2 voip
destination-pattern 5555 2 4 Active 10
session protocol sipv2 OOD SessID: 4 OOD Stat: Active
session target ipv4:[Link] Target: ipv4:[Link]
voice-class sip options-keepalive profile 1
Transport: udp Sip Profiles: 0
• With OOD Options Ping Keepalive group, an options ping keepalive connection is established on per remote target base as opposed
an options ping keepalive connection established per dial-peer basis. Up to 10,000 “voice class sip-options-keepalive <tag>” can be
defined per system
• Either legacy “sip options-keepalive” or the new “sip options-keepalive profile <tag>” can be configured on a dial-peer. Dial-peers with
Destination Server Group instead of Session Target IP must use Options Keepalive Profile and not the legacy CLI.
BRKCOC-2008 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 34
CUBE: Enhancements
HA ASR Design Box-to-Box Redundancy
Single Attached Dual Attached
Active Active
GE0/0/2 GE0/0/0
SIP SP GE0/0/1 GE0/0/0
CUBE CUBE
Virtual GE0/0/2 Virtual
IP Virtual
IP IP
SIP SP
GE0/0/2
• ISR4K/ASR Uses Redundancy Group (RG) Infrastructure Protocol – ISR G2 uses HSRP
• Only active calls are checkpointed (Calls that are connected - 200OK / ACK transaction completed)
• GE0/0/0 (and GE0/0/1) are referred to as traffic (SIP/RTP) interfaces and GE0/0/2 is RG
(Redundancy Group) Control/data interface
• RG Control/Data Interface (GE0/0/2) can be a Port channel interface starting IOS-XE 16.3.1
• All signaling/media is sourced from/to the Virtual IP Address
• When configuration is applied and saved, the box must go through a reload cycle
BRKCOC-2008 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 35
Engineering the Solution: Region Overview
BRKCOC-2008 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 36
Engineering the Solution: Call flows
Inbound (call towards Cisco)
IP SIP Vendor
• Vendor SBC will use the 3 HA
Telco DC
Telco DC Telco DC
SBC nodes
• Grouping of DN ranges
Outbound
MPLS – IP SIP
• Load balance – round robin
• Traffic steering capability per
CNF – Sunnyvale
CNF CNF CNF
vendor SBC
CAL 3
Level NC Texas
Design around issue:
ITaaC
ITaaC
ITaaC
• Vendor doesn’t detect fail in
California North Carolina Texas
Cisco Network
Campus• Vendor doesn’t mark the
Cisco WAN Backbone destination down
Branch Campus DC Branch Campus DC Branch Campus DC
BRKCOC-2008 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 37
Implementation: Network Resiliency & Traffic Steering
Packet loss
Benefits
Disaster Disaster
Recovery CNF – Sunnyvale CNF
Recovery CNF
Level 3 • Network resiliency / Disaster Recovery
• Traffic steering capability
ITaaC
ITaaC
ITaaC
California North Carolina Texas GRE / BGP Overlay
BRKCOC-2008 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 38
Implementation: Failover and Redundancy
UCM - Enable Options Ping Trunk, Route List circular, enable Route on all nodes
CUBE HA – one active IP per location, HA B2B failover, Server-groups, SIP-UA tuning
BRKCOC-2008 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 39
Implementation: CUBE Security
BRKCOC-2008 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 40
Implementation: FAX Services @ Cisco
voice service voip
fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback
none
!
voice class e164-pattern-map 78
description Contains all patterns to T38 Fax Server
e164 4103094889
e164 4109538091
e164 7326353057
MFD IP Fax server CUBE IP PSTN !
voice class server-group 10
ipv4 [Link]
4103094889 (Xmedius) description Server Group for IP PSTN
hunt-scheme round-robin
Ipv4: [Link] !
voice class server-group 78
ipv4 [Link] preference 1
ipv4 [Link] preference 2
4109538091 description Preferred Server Group for T38 Fax Server
!
voice translation-profile outgoing-cld
translate called 888
[Link] Ipv4: [Link] !
7326353057 voice translation-rule 888
rule 1 /^8889\(.*\)/ /\1/
!
dial-peer voice 7381 voip
description Inbound FAX from IP PSTN to T38 Fax Server
session protocol sipv2
!
dial-peer voice 8882 voip
description Outgoing FAX calls to IP PSTN
translation-profile outgoing outgoing-cld
destination-pattern 888T
session protocol sipv2
session server-group 10
voice-class sip profiles 999
codec g711ulaw
fax rate 14400
ip qos dscp ©af32
BRKCOC-2008 2016 signaling
Cisco and/or its affiliates. All rights reserved. Cisco Public 41
Implementation: (E)911 Services
Site A Region A
IP PSTN PSAP
UCM
Region B
PSAP
Site B CER
Emergency Location Identification Number (ELIN) is the phone
number (Caller ID), which is associated with an Location in
CER. (Subnet based – SNMP sw layer)
SIP Vendor blocks 911call if
CP ANI is not known! That is presented to the PSAP so they can match the caller ID
number to the Location Information (Caller's Address) and
provide a call back number to the PSAP in case of a call
disconnect. BRKCOC-2008 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 42
Lessons Learned
Plan and Be Patient!
• Test Plans: Service Provider interop, CUBE, UCM, # ranges
• Use a phased approach to manage cost control
• Understand your contracts with local Bells
• Scaling up or down is much simpler
• Learn SIP and forget older protocols
• IT(s) fun!
BRKCOC-2008 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 44
Conclusion
Conclusion: Get Ahead of the Curve
BRKCOC-2008 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 46
References:
Cisco Cube resource: [Link]/go/cube
Complete feature Presentations, Lab Guide, Free Hands-on Lab access &
Application Notes : [Link]
BRKCOC-2008 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 47
Complete Your Online Session Evaluation
• Give us your feedback to be
entered into a Daily Survey
Drawing. A daily winner will
receive a $750 Amazon gift card.
• Complete your session surveys
through the Cisco Live mobile
app or from the Session Catalog
on [Link]/us.
BRKCOC-2008 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 48
Continue Your Education
• Demos in the Cisco campus
• Walk-in Self-Paced Labs
• Lunch & Learn
• Meet the Engineer 1:1 meetings
• Related sessions
BRKCOC-2008 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 49
Thank you