Saturday 11 June 2016

Telepresence Having One-way audio with PSTN Call

Issue description:
TP MX800 ->SIP ->CUCM ->MGCP ->GW ->PRI.
When off-net calls from PSTN, such as cell phone, to TP’s global line number, sometimes both sides  or one side could not hear each other.
But internal callings have not issues.
This issue is happening on some of our TPs. I captured screenshots on TP when calls from on-net and off-net.

Internal call

External call



Find out that CUCM was invoking a MTP resource to fix a DTMT mismatch between MGCP and SIP legs. Took SDL traces from RTMT to analyze the issue from CUCM perspective.
MTP resource was taken from Default List since MRGL_TP did not have a MTP in the MRG’s

Solution:
Grouped MTP_3 and MTP_4 into a dedicated MRG and then assign it to the MRGL of the MX800. This will force CUCM to allocate local MTP’s into these type of call preventing MTP’s of Default List from begin inserted.

Solution to Get Digit String unable to get DTMF

Trunk >SIP > CUCM  > UCCX
Get Digit String unable to get DTMF

Solution:

SIP Trunk from CUCM to VG
   

Trunk on VG to CUCM:

dial-peer voice 10 voip
translation-profile outgoing hq-local
destination-pattern 202....$
voice-class codec 1
session protocol sipv2
session target ipv4:142.100.64.11
dtmf-relay rtp-nte

CUCM CLI output formatting to Excel

CUCM CLI contains various useful commands.

show risdb query phone

Is able to show phone registration information with an query followed a number of information:
admin:show risdb list
misc
phone
phoneextn
cmnode
cmgroup
cmgroupmember
region
regionmatrix
timezone
devicepool
cti
ctiextn
h323
gateway
mediaresource
uone
uoneextn
huntlist
ctimprovider
ctimlist
ctimline
sip
phonefailed
phonestatsupd
cmproduct
cmmodel
cefqrtrequest
cmalarm
cefalarm
genalarm

Show phone and number:
admin:show risdb query phoneextn
----------- Phone Extension Information -----------

#extensions, #registered, #unregistered, #rejected, StateId
4, 0, 0, 0, 44

ExtnTblSeq#, PhoneTblSeq#, Name, IPAddr, Extn, Multi, LineStatus
1, 1, SEP02004C4F4F50, 142.100.64.100, 2001, 1, Reg
2, 2, SEP00AAAAAAAA01, 142.100.64.111, 2002, 1, Reg
3, 2, SEP00AAAAAAAA01, 142.100.64.111, 2000, 1, Reg
4, 3, SEPBBBBBBBBBBBB, 142.100.64.111, 2014, 1, Reg
----------------
Total count 4
----------------
Save the main data portion.
formating:
Formatted

Login VoiceMail always requires to input extension number and PIN



Thus, UnityCN uses direct routing rules. Change opening greeting:
Conversation to sign-in

Ad-hoc meeting fails when missmach codecs

The issue is happening between HQ and branch office.
Branch phone is unable to call an ad-hoc meeting when codecs in between is G729 and codecs in between branches are G711

Conference Bridge is used default CUCM built-in.

This CFB is software-based which cannot be removed and only processes the meetings with same codecs. In other words, it has to allocate a hardware DSP resources when codec mismatches.

Root cause:
HQ phones and built-in CFB are in the same default device-pool , thus ad-hoc meetings are able to be setup within HQ.

However, phones in branch office are unable to setup ad-hoc meeting because the built-in CFB is in default device-pool, thus branch phones have no permissions to use.

Solution:
Create a new region, rg-codec, for example and configure codec between other regions is  g711u, and then new a device-pool, dp-codec, for example. And allocate above region to this device pool. Finally, have built-in CFB use this device-pool


Because codecs between branch phones and  cfb is g711, branch phones are able to setup ad-hoc meetings.

CUCM External Transfer/Ad-Hoc rejects

CUCM External Transfer/Ad-Hoc rejects
Scenario A  #[Prohibiting pstn-internal-xfr-pstn]
Enable Service Parameter:
When attempts to transfer to a PSTN phone:external transfer restricted
 


Scenario B #[ Prohibiting internal phone-adhoc-pstn-adhoc-pstn]
An internal phone initiates Ad-Hoc meeting with two PSTN phones, and then leaves meeting. As a result, two PSTN phones are left in the meeting.
Change it, as long as internal phone leaves, Ad-Hoc meeting terminates.

Multiple Local Route Group

Multiple Local Route Group


Translation Pattern Can New Use Originators CSS

Pstn trunk / GW (CSS)202-2001→ (PT) translation pattern (CSS) -> (PT)2001
In the past version, we use the above to truncate the number to 4, via two CSSs and PT(if phone has one). Or truncating on trunk

The following is a new feature that uses one CSS with two PTs directly to Trunk/GW.

PT-Translation-pattern :  Translation-Pattern
PT-HQ    : Phone


















Translation pattern without CSS:

Call goes to 2022001
With this features, called numbers from PSTN does not have to be truncated on Trunk/GW, and simplifies CSS.

CUCM Self-Provisioning Feature


Universal Line Template Configuration








Universal Line Template Configuration
Feature Group Template Configuration
CTI Route Point Configuration

CTI Route Point Configuration
Application User Configuration
Self-Provisioning
LDAP Directory


Phone auto register


Registered -> dial 4357 ->2004 -> phone reset


Thursday 2 June 2016

Implement FC port channel, ISL, and trunking

You have been asked to help resolve a non-optimal Fibre Channel port channel between DC2-MDS-1 and DC2-N5K-2. The desired result is that port channel ID 22 is up at 8Gb/s between the two device and VSAN 1 and 200 are able to traverse through port-channel.


DC2-N5K-2(config)# vsan database

DC2-N5K-2(config-vsan-db)# vsan 200 name VSAN200

DC2-N5K-2(config-vsan-db)# exit

DC2-N5K-2(config)# int san-port-channel 22


DC2-N5K-2(config-if)# channel mode active DC2-N5K-2(config-if)# switchport mode e
DC2-N5K-2(config-if)# switchport trunk mode on DC2-N5K-2(config-if)#switchport speed auto DC2-N5K-2(config-if)# sw trunk allowed vsan 1
DC2-N5K-2(config-if)# sw trunk allowed vsan add 200 DC2-N5K-2(config-if)# no shutdown
DC2-N5K-2(config-if)# int fc1/31-32

DC2-N5K-2(config-if)# channel-group 22 force fc1/31 fc1/32 added to port-channel 22 and disabled
please do the same operation on the switch at the other end of the port-channel, then do "no shutdown" at both ends to bring it up
DC2-N5K-2(config-if)# no shutdown


DC2-MDS-1(config)# vsan database

DC2-MDS-1(config-vsan-db)# vsan 200 name VSAN200

DC2-MDS-1(config-vsan-db)#

DC2-MDS-1(config-vsan-db)# int port-channel 22 DC2-MDS-1(config-if)# channel mode active DC2-MDS-1(config-if)# switchport mode e
DC2-MDS-1(config-if)#switchport speed auto DC2-MDS-1(config-if)# sw trunk allowed vsan 1
DC2-MDS-1(config-if)# sw trunk allowed vsan add 200

DC2-MDS-1(config-if)# sw trunk mode on


DC2-MDS-1(config-if)# no shutdown DC2-MDS-1(config-if)#
DC2-MDS-1(config-if)# int fc1/15-16

DC2-MDS-1(config-if)# channel-group 22 force fc1/15 fc1/16 added to port-channel 22 and disabled
please do the same operation on the switch at the other end of the port-channel,






    1. - Implement Fibre Channel NPV and NPIV features



Configure the two Fibre Channel links between DC2-N5K-1 and DC2-MDS-1 to be two parallel non-trunking. NPV-NPIV links for VSAN 100. The customer demands that servers in VSAN 100 that these links distributed equally at all times, even in the event that one of the links goes down and comes back up

DC2-N5K-1(config)# vsan database

DC2-N5K-1(config-vsan-db)# vsan 100 name VSAN100

DC2-N5K-1(config-vsan-db)# exit DC2-N5K-1(config)# int fc1/31-32 DC2-N5K-1(config-if)# sw mode nP
DC2-N5K-1(config-if)# sw trunk mode off DC2-N5K-1(config-if)# no shutdown DC2-N5K-1(config-if)# exit
DC2-N5K-1(config)# npv auto-load-balance disruptive

Enabling this feature may flap the server interfaces whenever load is not in a balanced state. This process may result in traffic disruption. Do you want to proceed? (y/n): y DC2-N5K-1(config)#
DC2-N5K-1(config)# vsan database

DC2-N5K-1(config-vsan-db)# vsan 100 interface fc1/31 DC2-N5K-1(config-vsan-db)# vsan 100 interface fc1/32





    1. Implement FCoE NPV features



Switch name
ID
Port
DC2-N7K-2
2
E3/9-16
Create a logical device within DC2-N7K-2 that capable in FCoE functionality, use the following parameters





Initialize this logical device with the following parameters:

Mgmt IP:

10.1.1.27
Mgmt Gateway:

10.1.1.254
Telnet:

Enabled
Password:

cisco






DC2-N7K-1(config)# install feature-set fcoe DC2-N7K-1(config)# license fcoe module 3 DC2-N7K-1(config)# system qos
DC2-N7K-1(config-sys-qos)# service-policy type network-qos default-nq-7e-policy DC2-N7K-1(config)#no vdc DC2-N7K-2
DC2-N7K-1(config)# vdc DC2-N7K-2 type storage id 2 DC2-N7K-1(config-vdc)# limit-resource module-type f1 DC2-N7K-1(config-vdc)# allocate interface e3/9-16
DC2-N7K-1(config-vdc)# allocate fcoe-vlan-range 100,200 DC2-N7K-1(config-vdc)#exit
DC2-N7K-1(config)# port-channel load-balance src-dst ip-l4port module 3




DC2-N7K-1# switchto vdc Dc2-n7K-2

---- System Admin Account Setup ----

Do you want to enforce secure password standard (yes/no) [y]: n Enter the password for "admin":
Confirm the password for "admin":



---- Basic System Configuration Dialog VDC: 2 ----



DC2-N7K-2# conf t

DC2-N7K-2(config)# feature telnet DC2-N7K-2(config)# int mgmt 0
DC2-N7K-2(config-if)# ip address 10.1.1.27/24 DC2-N7K-2(config-if)# no shutdown
DC2-N7K-2(config-if)# exit

DC2-N7K-2(config)# ip route 0.0.0.0 0.0.0.0 10.1.1.254

DC2-N7K-2(config)# end DC2-N7K-2# switchback
============================================================

DC2-N5K-1(config)# vlan 100

DC2-N5K-1(config-vlan)# fcoe vsan 100 DC2-N5K-1(config-vlan)# int e1/13-14
DC2-N5K-1(config-if-range)# channel-group 11 mode active DC2-N5K-1(config-if-range)# no shutdown
DC2-N5K-1(config-if-range)# int port-channel 11 DC2-N5K-1(config-if)# switchport
DC2-N5K-1(config-if)# sw mode trunk

DC2-N5K-1(config-if)# sw trunk allowed vlan 100

DC2-N5K-1(config-if)# spanning-tree port type edge trunk


DC2-N5K-1(config-if)# no shutdown DC2-N5K-1(config-if)# exit
DC2-N5K-1(config)# int vfc 11

DC2-N5K-1(config-if)# bind interface port-channel 11 DC2-N5K-1(config-if)# sw mode nP
DC2-N5K-1(config-if)# sw trunk allowed vsan 100 DC2-N5K-1(config-if)# no shutdown
DC2-N5K-1(config-if)# exit

DC2-N5K-1(config)# port-channel load-balance ethernet source-dest-port



DC2-N7K-2(config)# feature-set fcoe DC2-N7K-2(config)# feature telnet DC2-N7K-2(config)# feature lldp DC2-N7K-2(config)# feature npiv
DC2-N7K-2(config)# feature fport-channel-trunk DC2-N7K-2(config)# feature lacp


DC2-N7K-2(config)# vsan database

DC2-N7K-2(config-vsan-db)# vsan 100 name VSAN100

DC2-N7K-2(config-vsan-db)# vsan 200 name VSAN200

DC2-N7K-2(config-vsan-db)# vlan 100 DC2-N7K-2(config-vlan)# fcoe vsan 100 DC2-N7K-2(config-vlan)# vlan 200
DC2-N7K-2(config-vlan)# fcoe vsan 200 DC2-N7K-2(config-vlan)#
DC2-N7K-2(config-vlan)# int e3/13-14

DC2-N7K-2(config-if-range)# channel-group 11 mode active DC2-N7K-2(config-if-range)# no shutdown
DC2-N7K-2(config-if-range)# int port-channel 11


DC2-N7K-2(config-if)# sw

DC2-N7K-2(config-if)# switchport DC2-N7K-2(config-if)# sw mode trunk
DC2-N7K-2(config-if)# sw trunk allowed vlan 100 DC2-N7K-2(config-if)# no shutdown
DC2-N7K-2(config-if)# int vfc-port-channel 11

DC2-N7K-2(config-if)# bind interface port-channel 11 DC2-N7K-2(config-if)# sw mode f
DC2-N7K-2(config-if)# sw trunk mode on

DC2-N7K-2(config-if)# sw trunk allowed vsan 100

Warning: This command will remove all VSANs currently being trunked and trunk only the specified VSANs.
Do you want to continue? (y/n) [n] y DC2-N7K-2(config-if)# no shutdown DC2-N7K-2(config-if)#