CUBE High Availability (HA) Using HSRP Configuration with port-channel twist

Starting with Cisco Gen2 router platforms, CUBE can provide the HSRP (Hot Standby Routing Protocol). That is you need two CUBE routers to confgure this setup. HSRP basically works on Active and Standby mode between two routers by monitoring both the inside and outside interfaces, if Active side goes down, then the Standby device becomes active and takes over the responsibilities of the Active router.

In CUBE HSRP Active/Standby pair scenario, the two CUBE routers keep exchange communications over the same virtual IP address. This setup will support media preservation over an HSRP switchover of SIP to SIP calls, but not the call signaling. Call signaling preservation is supported from IOS 15.2.3T.

Requirements:
1. Two identical ISR G2 routers with the correct IOS and license
*Cisco 2951 (x 2), IOS = c2951-universalk9-mz.SPA.154-3.M1, license =SL-29-UC-K9
2. Identiacal CUBE configuration
3. SIP-to-SIP call flows
Configuration:
1. Enable CUBE and CUBE Redundancy

Enable CUBE on CUBE01 and CUBE02:
voice service voip
mode border-element
allow-connections sip to sip

Enable CUBE redundancy and call checkpointing on both CUBES
voice service voip
redundancy
2. Enable HSRP

Enable router redundancy schemes on both routers, where:
scheme – redundancy state tracking scheme
standby – enable standby (HSRP) state tracking scheme
SB – the HSRP standby group name

redundancy inter-device
scheme standby SB

3. Configure HSRP Communication Transport

Configure the HSRP Inter-Device Communication Transport as follows:

Active Configuration:
ipc zone default <<< For Inter-Device Communication Protocol (IPC)
association 1 <<< Associates between two devices
no shutdown <<< Enables associations
protocol sctp <<< Stream Control Transmission Protocol (SCTP) for communication language
local-port 5000 <<< Defines the local SCTP port number
local-ip 10.10.24.14 <<< Defines the local router’s IP address
remote-port 5000 <<< Defines the remote SCTP port number
remote-ip 10.10.24.13 <<< Defines the remote router’s IP address

Standby Configuration:
ipc zone default
association 1
no shutdown
protocol sctp
local-port 5000
local-ip 10.10.24.13
remote-port 5000
remote-ip 10.10.24.14

4. Configure HSRP on the Interfaces

Configure the HSRP Inter-Device Communication Transport as follows:

Active Configuration

interface Port-channel1
description CUBE01 interface
ip address 10.10.10.11 255.255.255.0
standby delay minimum 30 reload 60 <<< Avoids race condition to establish contact between Active and Standby
standby version 2
standby 0 ip 10.10.10.1
standby 0 priority 50
standby 0 preempt
standby 0 name SB

interface GigabitEthernet0/0
no ip address
duplex full
speed 1000
channel-group 1

interface GigabitEthernet0/1
no ip address
duplex full
speed 1000
channel-group 1
Standby Configuration:

interface Port-channel1
description CUBE02 interface
ip address 10.10.10.12 255.255.255.0
standby delay minimum 30 reload 60
standby version 2
standby 0 ip 10.10.10.1
standby 0 priority 50
standby 0 preempt
standby 0 name SB

interface GigabitEthernet0/0
no ip address
duplex full
speed 1000
channel-group 1

interface GigabitEthernet0/1
no ip address
duplex full
speed 1000
channel-group 1
5. Configure the HSRP Timers

CUBE01(config-if)#standby 0 timers 2 msec 40 <<< configures failover and hold timers

CUBE02(config-if)#standby 0 timers 2 msec 40
6. Configure the Media Inactivity Timer

Enables the Active/Standby router pair to monitor and disconnect calls if no Real-Time Protocol (RTP) packets are received within a configurable time period. Default value is 28 seconds.

ip rtcp report interval 3000
gateway
media-inactivity-criteria all
timer receive-rtp 86400
timer receive-rtcp 5
7. Configure SIP Binding to HSRP Address

voice service voip
mode border-element license capacity 125
allow-connections sip to sip
redundancy
sip
bind control source-interface Port-channel1
bind media source-interface Port-channel1
asserted-id pai
asymmetric payload full
midcall-signaling passthru
privacy-policy passthru
sip-profiles 100
8. Reload the Routers

Active Router
CUBE01#show redundancy inter-device
Redundancy inter-device state: RF_INTERDEV_STATE_ACT
Scheme: Standby
Groupname: b2bha Group State: Active
Peer present: RF_INTERDEV_PEER_COMM
Security: Not configured

Standby Router
CUBE02#show redundancy inter-device
Redundancy inter-device state: RF_INTERDEV_STATE_STDBY
Scheme: Standby
Groupname: b2bha Group State: Standby
Peer present: RF_INTERDEV_PEER_COMM
Security: Not configured
9. Point Attached Softswitches to the CUBE HSRP Virtual Address
On CUCM, this is configured on the SIP Trunk configuration under Device > Trunk.

SIP Trunk

 

**********************************************
Useful commands for verification and troubleshooting:
show redundancy inter-device
show redundancy states
show standby brief
show standby
show voice high-availability summary
show voice high-availability summary | include media
show voip rtp connection
show sip-ua status
show sip-ua statistics
debug standby

show process cpu history
show process cpu sorted

***********************************************

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s