Friday, February 3, 2012

OSX 10.7.3 - Finder and other apps keep crashing after update

After updating to 10.7.3 through the Software Updater, the Finder and other apps keep crashing and the keyboard is not responsive after the Finder is forced close.  Problem solved after download the 10.7.3 Update Client Combo, install and reboot it.  It is quite stable for 30 minutes already, hopefully it will not crash after I publish this post.  :(

Download the client combo here:
http://support.apple.com/kb/DL1484


Wednesday, February 1, 2012

Provisioning Cisco Cius - which MAC address to use?

Cisco Cius uses two addresses: Ethernet MAC and Wireless LAN MAC. When adding Cisco Cius to the Cisco Unified Communications Manager, it must be provisioned using the Ethernet MAC address.

http://www.cisco.com/en/US/docs/voice_ip_comm/ccmcd/admin/9_2_2/english/CIUS_BK_C6A798E7_00_cisco-cius-administration-guide_chapter_01.html#CIUS_TK_C274B913_00

CUE - Configure Caller ID information for incoming voice mail messages

CUE supports caller ID information for incoming voice-mail messages from external caller that is not listed in the CUE subscriber directory.  Default it is disabled and the system will play "Unknown Caller" in the message envelop. Once you enable it, it will play the caller's number in the message envelop.  This is the command on how to enable this feature on CUE

CUE# config t
CUE(config)# voicemail callerid

An iPhone app for CME Config Generation:
http://itunes.apple.com/us/app/cme-config-generator/id453025819?ls=1&mt=8

Create Meetme conference on Cisco CME

Create a meetme conference on CME is quite similar to ad-hoc conference in terms of configuration, here is an example how to create a Meetme conference on CME:

1. Create DSP Farm Porfile
sccp local GigabitEthernet0/0
sccp ccm 1.1.1.1 identifier 1 priority 1 version 7.0
sccp
!
sccp ccm group 1
associate ccm 1 priority 1
associate profile 1 register CFB
!
dspfarm profile 1 conference
codec g711ulaw
codec g711alaw
codec g729ar8
codec g729abr8
codec g729r8
codec g729br8
maximum sessions 2
associate application SCCP

2. Config telephony service to use hardware conference and associate it with the DSP Farm
telephony-service
sdspfarm units 1
sdspfarm tag 1 CFB
no privacy
conference hardware
no auto-reg-ephone
max-ephones 20
max-dn 20
ip source-address 1.1.1.1 port 2000
cnf-file location flash:
max-conferences 8 gain -6
transfer-system full-consult

3. Create ephone template that has the meetme softkey in seized state
ephone-template  1
softkeys seized  Redial Endcall Cfwdall Pickup Gpickup Callback Meetme

4. Create meetme conference ephone-dn
ephone-dn  10  octo-line
number 1234 no-reg primary
conference meetme
no huntstop

An iPhone app for CME Config Generation:
http://itunes.apple.com/us/app/cme-config-generator/id453025819?ls=1&mt=8

Sample Frame Relay Switch Configuration for CCIE Voice Lab

In my CCIE voice lab, I am using a 2821 router with multiple VWIC-2MFT-G703 equipped in the PSTN router as the frame relay switch.  The other 2821 routers are also equip with VWIC-1MFT-G703 for data connection.  The advantage of this approach is you don't need to pay for the serial cable cost, it can be done using normal Cat5 cable, with the correct G.703 cross over cable pin out.  The crossover cable is 1-4, 2-5 inverse.  This is my cable pin out:

1. Orange-white - - - Blue
2. Orange - - - Blue-white
3. Green-white - - - Green-white
4. Blue - - - Orange-white
5. Blue- white - - - Orange
6. Green - - - Green
7. Brown-white - - - Brown-white
8. Brown - - - Brown

To create serial interface, channel-group command will be used under controller.  For each DS0 timeslot, the default bandwidth is 56Kbps for T1 card and 64Kbps for E1 card.

controller E1 0/0/0
 channel-group 1 timeslots 1-3

In the above configuration, a 192Kbps connection is created for the interface serial 0/0/0:1

Then the next step is to configure the interfaces that are created for frame relay switching, here is the sample configuration:

interface Serial0/0/0:1
description -- Data connection to HQ --
 no ip address
 encapsulation frame-relay
 frame-relay lmi-type ansi
 frame-relay intf-type dce
 frame-relay route 201 interface Serial0/0/1:1 101
 frame-relay route 202 interface Serial0/1/0:1 102
!
interface Serial0/0/1:1
 description -- Data connection to SB --
 no ip address
 encapsulation frame-relay
 no frame-relay inverse-arp
 frame-relay lmi-type ansi
 frame-relay intf-type dce
 frame-relay route 101 interface Serial0/0/0:1 201
!
interface Serial0/1/0:1
 description -- Data connection to SC --
 no ip address
 encapsulation frame-relay
 no frame-relay inverse-arp
 frame-relay lmi-type ansi
 frame-relay intf-type dce
 frame-relay route 102 interface Serial0/0/0:1 202

After it is created, and configuration on the frame relay routers are configured, in the "show frame-relay pvc" you should see "switched" PVC is in active state.  This is an example for interface s0/0/0:1.

PVC Statistics for interface Serial0/0/0:1 (Frame Relay DCE)

              Active     Inactive      Deleted       Static
  Local          0            0            0            0
  Switched       2            0            0            0
  Unused         0            0            0            0















Sunday, January 29, 2012

FRF.12 Link Fragmentation and Interleaving calculation

Assuming we want to configure FRF.12 with interleaving and fragmentation delay of 10ms on a 768Kbps link:

Delay = Frame size (bits) / Link Bandwidth (bps)
0.01s = Frame size (bits) / 768,000 bps
Frame size = 7680 bits = 960 bytes

This is the configuration example extracted from the AutoQoS applied on the frame relay sub-interface

map-class frame-relay AutoQoS-FR-Se0/0/0:1-202
  frame-relay cir 768000
  frame-relay bc 7680
  frame-relay be 0
  frame-relay mincir 768000
  frame-relay fragment 960
  service-policy output AutoQoS-Policy-Trust

SRR queue - sharing and shaping on 3750

On 3750, both ingress and egress queue are serviced by SRR queue.  Here are a summary on SRR queue sharing and shaping:

1. You can configure sharing or shaping for egress queue, however for ingress you can only configure sharing.

2. In shaped mode, the egress queues are guaranteed a percentage of the bandwidth, and they are rate-limited to that amount. Shaped traffic does not use more than the allocated bandwidth even if the link is idle.

3. With shaping, the inverse absolute value of each weight is used to compute the bandwidth available for the queues.

Example: "srr-queue bandwidth shape 4 0 0 0", which means 1/4 of the interface bandwidth is assigned to queue 1.  If the link is a FE interface, around 25Mbps is allocated.  Even if the link is idle, queue 1 can't use more than 25Mbps bandwidth in this case.

4. In shared mode, the queues share the bandwidth among them according to the configured weights. The bandwidth is guaranteed at this level but not limited to it. For example, if a queue is empty and no longer requires a share of the link, the remaining queues can expand into the unused bandwidth and share it among them.

5. With sharing, the ratio of the weights controls the frequency of dequeuing.

Example: "srr-queue bandwidth share 30 40 25 5", the sum is 30 + 40 + 25 + 5 = 100 (better to reference to 100 for ease of calculation). The relative rate are 30/100, 40/100, 25/100 and 5/100

6. Shaping and sharing is configured per interface. Each interface can be uniquely configured.

7. You can mix shared and shaped on the same interface.

Example:
interface GigabitEthernet 1/0/1
srr-queue bandwidth share 1 30 40 30
srr-queue bandwidth shape 5 0 0 0

The interface bandwidth is 1000Mbps, queue 1 will get 1/5 = 200 Mbps. Queue 2, 3 and 4 will share the remaining 800Mbps.

Queue 2 = 800Mbps x 30% = 240Mbps
Queue 3 = 800Mbps x 40% = 320Mbps
Queue 4 = 800Mbps x 30% = 240Mbps

8. When you type "priority-queue out", you will turn queue 1 into PQ, it will ignore shared and shaped weight in the calculation. It means the PQ has 100% bandwidth when it needs, therefore other shaped queue may starve.

Saturday, January 28, 2012

Changing Background Image for CME IP phones

To change the background image of IP phone for CME is quite similar to UCM, I am using a 7965 as an example to illustrate how to get it done.

7965 resolution
Actual Background Image - 320x212
Image Thumbnail - 80x53

Create 2 images based on above resolution.

1. Create directory on CME router
mkdir Desktops
cd Desktops
mkdir 320x212x16
cd 320x212x16

2. Compose a List.xml file, here the example:
Then copy the List.xml, voice-large.png and voice-small.png to flash:Desktops/320x212x16/

3. allow tftp-server file access on CME
tftp-server flash:Desktops/320x212x16/List.xml
tftp-server flash:Desktops/320x212x16/voice-large.png
tftp-server flash:Desktops/320x212x16/voice-small.png

Check out the phone User Preference > Background image, and you will see the thumbnail image.  Choose it and you can change to the new background image!

For UCM, you can use the JQ Phone iPhone app to use the iPhone image to IP phone background!  Check it out here:

Factory Reset Cisco Unity Express

One of the thing that you did most in lab practice is reset the scene.  This is the way how we reset the CUE module to factory default.

Saturday, January 14, 2012

Downgrade to IE 6

I have an application that can only run on IE 6, and I have downgraded my machines with IE 7 and IE 8 back to IE 6.  Here is how I did it on my old XP boxes:

1. Run %windir%\ie7\spuninst\spuninst.exe
2. Reboot your machine
3. Then launch your IE 6 with the command iexplore.exe

Good luck!