Archive for December, 2011

Cisco IOS Shortcut Keys

Friday, December 30th, 2011

Ctrl + A Beginning Line
Ctrl + B Backward Character
Ctrl + C Clear line
Ctrl + D Delete Character to the Right
Ctrl + E End Line
Ctrl + F Forward Character
Ctrl + H Backspace Character to the Left
Ctrl + I Refresh Line and Goto End
Ctrl + J Return
Ctrl + K Delete everything on the Right of cursor
Ctrl + L Refresh Line
Ctrl + M Return
Ctrl + N Next Command
Ctrl + P Previous Command
Ctrl + R Refresh Line
Ctrl + T Flip Last 2 Characters
Ctrl + U Clear Line and Put in Buffer
Ctrl + V Allows A Control Character To Be Typed
Ctrl + W Delete Word Backwards and Put in Buffer
Ctrl + X Clear Line to the Left and Put in Buffer
Ctrl + Y Paste Buffer Contents

Configuring a Windows Server as NTP Source

Friday, December 30th, 2011

Open regedit and modify the following two keys. This will enable NTP as part of the Windows Time Service.


Set the ‘Announce Flags’ registry entry to 5, to indicate a reliable time source.


Changing the ‘Enabled’ flag to the value 1 enables the NTP Server.

Cisco Voice PRI 101

Thursday, December 22nd, 2011

Super basic run through of the step involved to turn up a Voice PRI on a Ciso IOS device. This assumes NI2 protocol, with provider sending clock. This was performed on a ISR 3925 with a VWIC3-4MFT.

Set Card Type:

card type t1 0 0

Set clock:

network-clock-participate wic 0
network-clock-select 1 t1 0/0/0

Set ISDN switch type:

isdn switch-type primary-ni

Setup Interface Controller:

controller t1 0/0/0
framing esf
linecode b8zs
pri-group timeslots 1-24


show isdn status

ISDN Serial0/0/0:23 interface
dsl 0, interface ISDN Switchtype = primary-ni
Layer 1 Status:
Layer 2 Status:
Layer 3 Status:
0 Active Layer 3 Call(s)
Active dsl 0 CCBs = 0
The Free Channel Mask: 0x807FFFFF
Number of L2 Discards = 0, L2 Session ID = 11

debug isdn q931

Dec 22 14:46:21.990: ISDN Se0/1/2:23 Q931: RX <- SETUP pd = 8 callref = 0x019C
Bearer Capability i = 0x8090A2
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0xA98381
Exclusive, Channel 1
Facility i = 0x9F8B0100A10F02012E06072A8648CE1500040A0100
Protocol Profile = Networking Extensions
Component = Invoke component
Invoke Id = 46
Operation = InformationFollowing (calling_name)
Name information in subsequent FACILITY message
Progress Ind i = 0×8283 – Origination address is non-ISDN
Calling Party Number i = 0×2183, ‘5557771212
Plan:ISDN, Type:National
Called Party Number i = 0xA1, ‘5558881212
Plan:ISDN, Type:National
Dec 22 14:46:21.990: ISDN Se0/1/2:23 Q931: Received SETUP callref = 0x819C callID = 0×0033 switch = primary-ni interface = User
Dec 22 14:46:21.994: ISDN Se0/1/2:23 Q931: TX -> CALL_PROC pd = 8 callref = 0x819C
Channel ID i = 0xA98381
Exclusive, Channel 1
Dec 22 14:46:21.994: ISDN Se0/1/2:23 Q931: TX -> DISCONNECT pd = 8 callref = 0x819C
Cause i = 0×8081 – Unallocated/unassigned number
Dec 22 14:46:21.998: ISDN Se0/1/2:23 Q931: RX <- FACILITY pd = 8 callref = 0x019C

As you can see from the debug, “Multiple Frame Established” indicated layer 2 is up. The q931 debug will show us the setup messages in layer3. This is good to verify ani and dnis that the provider is sending. This call ultimately failed because this is only a partial config that was used to test a couple new pri’s and there was no dial-peer assigned to the called number. Ideallly I could have pointed this to CUCM or temporarily turned up CCME to validate in and out.

I may address this in a future post. That is all for now…

Enabling Trim For Non-Apple SSD’s in OSX Lion

Thursday, December 22nd, 2011

Great article on getting trim to work in Lion. Just added a new SSD to my MBP wanted to take advantage of trim support on the drive.


Changing T1 Channel Selection Order to Ascending

Tuesday, December 20th, 2011

This allows you to change the channel selection order to ascending. I found this necessary when doing a point to point T1 with an Intertel. Initially I had presumed that you could add the voice-port to a trunk group. This is not the case with T1′s and you have to use the cas-custom command.

controller T1 0/0/1
clock source internal
cablelength short 110
ds0-group 0 timeslots 1-24 type e&m-wink-start
cas-custom 0
trunk-group itel timeslots 1-24

trunk group itel
hunt-scheme sequential both up

dial-peer voice 100 pots
trunkgroup itel
destination-pattern ^11…$