Friday, September 23, 2011
Cisco - CUE - Show Voicemail Email Notification Settings for a User from CLI
show voicemail notification owner email
Thursday, June 30, 2011
Tuesday, June 21, 2011
Cisco Config Archive and Replace
Sweet.
http://www.fryguy.net/2011/06/06/cisco-archive-and-configure/
http://www.cisco.com/en/US/docs/ios/12_3t/12_3t7/feature/guide/gtrollbk.html#wp1066709
http://www.fryguy.net/2011/06/06/cisco-archive-and-configure/
http://www.cisco.com/en/US/docs/ios/12_3t/12_3t7/feature/guide/gtrollbk.html#wp1066709
Tuesday, May 31, 2011
MWI Manual Disable
For those times when MWI is stuck on:
Find the MWI off DN.
ephone-dn 599
number A801.... no-reg primary
mwi off
Build a new DN which has CFA set to the complete dialstring (fill in the .... with the extension you want to turn MWI off on). The below example will shut off MWI for extension 5040.
ephone-dn 559
call-forward all A8015040
number 5990 no-reg primary
Call the number associated with the ephone-dn.
Find the MWI off DN.
ephone-dn 599
number A801.... no-reg primary
mwi off
Build a new DN which has CFA set to the complete dialstring (fill in the .... with the extension you want to turn MWI off on). The below example will shut off MWI for extension 5040.
ephone-dn 559
call-forward all A8015040
number 5990 no-reg primary
Call the number associated with the ephone-dn.
Tuesday, February 15, 2011
Cisco Router VPN Details
show crypto isakmp peers - Show ISAKMP peer structures (IPs and etc connected over the VPN)
show crypto isakmp sa - Show ISAKMP Security Associations (IPs and etc connected over the VPN)
show crypto session summary - Show VPN groups and their members (users and groups connected over the VPN)
who - Shows users currently logged into the router
Friday, February 11, 2011
SIP Carrier Debugs
SIP: Attribute mid, level 1 instance 1 not found.
2524735: Feb 11 17:54:53.522 MST: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 200 OK
Via: SIP/2.0/UDP >:5060;branch=z9hG4bK2D041732
Record-Route:
From: "Bob Jones";tag=BAAA8198-462
To:;tag=_1255064163-933720387
Call-ID: 876EDB09-357911E0-970ADCDF-F107A873@ >
CSeq: 101 INVITE
Contact: sip:+18004444444@67.231.0.94:5070
Accept: application/sdp, application/isup, application/dtmf, application/dtmf-relay, multipart/mixed
Allow: INVITE,ACK,CANCEL,BYE,REGISTER,REFER,INFO,SUBSCRIBE,NOTIFY,PRACK,UPDATE,OPTIONS,MESSAGE,PUBLISH
Content-Disposition: session; handling=required
Content-Type: application/sdp
Content-Length: 276
v=0
o=pvp 305419896 305419896 IN IP4 67.231.0.125
s=-
! MEDIA GATEWAY - this is the carrier your SIP provider is having route your call. The IPs may change even if it's the same carrier but an IP whois lookup will show you which carrier your call is routing through.
c=IN IP4 67.231.0.125
t=0 0
m=audio 24396 RTP/AVP 0 18 101
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=maxptime:40
a=sendrecv
2524735: Feb 11 17:54:53.522 MST: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 200 OK
Via: SIP/2.0/UDP
Record-Route:
From: "Bob Jones"
To:
Call-ID: 876EDB09-357911E0-970ADCDF-F107A873@
CSeq: 101 INVITE
Contact: sip:+18004444444@67.231.0.94:5070
Accept: application/sdp, application/isup, application/dtmf, application/dtmf-relay, multipart/mixed
Allow: INVITE,ACK,CANCEL,BYE,REGISTER,REFER,INFO,SUBSCRIBE,NOTIFY,PRACK,UPDATE,OPTIONS,MESSAGE,PUBLISH
Content-Disposition: session; handling=required
Content-Type: application/sdp
Content-Length: 276
v=0
o=pvp 305419896 305419896 IN IP4 67.231.0.125
s=-
! MEDIA GATEWAY - this is the carrier your SIP provider is having route your call. The IPs may change even if it's the same carrier but an IP whois lookup will show you which carrier your call is routing through.
c=IN IP4 67.231.0.125
t=0 0
m=audio 24396 RTP/AVP 0 18 101
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=maxptime:40
a=sendrecv
Thursday, February 3, 2011
Cisco Command Tricks - Monitoring Performance
Show the list of tasks running sorted by CPU usage and excluding any that are using 0%
sh proc cpu sorted | ex 0.00Show spanning tree changes
show spanning-tree detail | inc ieee|occur|from|is execShow interface counter errors
sh interface counters errors
sh int | i line|errorShow interface queue statuses and drops
sh int | in Input|line
Friday, January 14, 2011
Excel Tricks
Reformatting Phone Numbers
To remove the dashes from phone numbers (e.g. change 206-456-789 to 206456789):
To remove the dashes from phone numbers (e.g. change 206-456-789 to 206456789):
=SUBSTITUTE(A1,"-","")
To remove dashes and add digits to the beginning of phone numbers (e.g. change 206-456-789 to 1206456789): NOTE: This should be pretty useful in other situations too and should handle small additions better than creating a new cell/column with what you need to add and then Concatenating everything together.
=1&SUBSTITUTE(A1,"-","")Reference
Thursday, December 16, 2010
Cisco Routers - Use Local Timezone for Log Timestamps
Router log timestamp entries are different from the system clock when the NTP is configured
Core Issue
If a router is configured to get the time from a Network Time Protocol (NTP) server, the times in the router's log entries may be different from the time on the system clock if the [localtime] option is not in the service timestamps log command. In the example below, the router gets its time from an NTP server and theservice timestamps log datetime command is issued. The show clockcommand displays a time of 14:12:26, yet when a configuration change is made immediately after the show clock command, the log message shows a time of 21:12:28, as shown in this example:
clock timezone PST -8
clock summer-time PDT recurring
service timestamps debug datetime
service timestamps log datetime
logging buffered 16000 debugging
ntp clock-period 17179272
ntp server 161.181.92.152
router#show clock
14:12:26.312 PDT Thu Apr 27 2000
router#config t
Enter configuration commands, one per line. End with CNTL/Z.
router(config)#exit
router#
Apr 27 21:12:28: %SYS-5-CONFIG_I: Configured from console by vty0
Resolution
Add the [localtime] option to the service timestamps log command. For example, if the current configuration is service timestamps log datetime, issue this global configuration command:
router(config)#service timestamps log datetime localtime
router(config)#^Z (ctrl z to exit)
router#write mem
The times should now be synchronized between the system clock and the log message timestamps.
Thursday, October 28, 2010
Cisco - ISDN Plan Map
Apparently Cisco CME creates its own ISDN call plan rule set automagically. With some vendors, when you send across a number which begins with 011 and plan type international their switches freak out. You can override this treatment by applying an ISDN MAP to the serial interface of the PRI.
interface Serial0/2/0:23
isdn map address 011.* plan isdn type unknown
Reference:
http://www.cisco.com/en/US/docs/ios/dial/command/reference/dia_i2.html
interface Serial0/2/0:23
isdn map address 011.* plan isdn type unknown
Reference:
http://www.cisco.com/en/US/docs/ios/dial/command/reference/dia_i2.html
isdn map
To override the default ISDN type and plan generated by the router with custom values, use the isdn map command in interface configuration mode. To revert to the default ISDN type and plan, use the no form of this command.
isdn map address {{address | reg-exp} plan plan type type | transparent}
no isdn map address {{address | reg-exp} plan plan type type | transparent}
Syntax Description
Command Default
The default is the ISDN type and plan generated by the router.
Command Modes
Interface configuration
Command History
Usage Guidelines
The default ISDN type and plan can be overridden with custom values on a per-number basis or for numbers that match regular expression patterns.
If you use the isdn map command to configure custom values for the ISDN type and plan, these values take priority over any other ISDN type and plan values. The order of precedence for ISDN type and plan values is as follows, beginning with the highest precedence:
•
Type and plan values configured with the isdn map command.

•
Type and plan values from voice translation rules specified with the rule (voice translation-rule) command.

•
Values received in the H.225 SETUP messages.

•
Values received from the ISDN originating gateway in raw messages.

Configuring the isdn map command with the transparent keyword results in raw messages received from the ISDN originating gateway receiving priority over H.225 SETUP messages. When the isdn map command is configured with thetransparent keyword, the order of precedence for ISDN type and plan values is as follows:
•
Type and plan values configured with the isdn map command.

•
Type and plan values from voice translation rules specified with the rule (voice translation-rule) command.

•
Values received from the ISDN originating gateway in raw messages.

•
Values received in the H.225 SETUP messages.

Examples
The following example overrides any plan and type used for any ISDN calls with a called or calling number that exactly matches 123:
interface serial1:23
isdn map address 123 plan isdn type unknown
The following example overrides any plan and type used for ISDN calls with a called or calling number that begins with the numerals 12:
interface serial1:23
isdn map address 12.* plan data type subscriber
The following example matches any number that ends with the number 7:
interface serial1:23
isdn map address .*7 plan data type subscriber
The following example reverses the precedence of ISDN type and plan values received from the ISDN originating gateway and from the H.225 SETUP message:
interface serial1:23
isdn map address transparent
Related Commands
Wednesday, October 27, 2010
Cisco CME GUI Access
Post 8.0.2 you can no longer access the CME GUI through the CUE GUI. The workaround is to access this directly by going to:
http:///telephony_service.html
http://www.ciscosystems.com/en/US/docs/voice_ip_comm/unity_exp/rel8_0/rel_notes/rel_notes.html#wp339722
http://
References:
http://uc500.com/en/cue-802-not-able-acces-cmehttp://www.ciscosystems.com/en/US/docs/voice_ip_comm/unity_exp/rel8_0/rel_notes/rel_notes.html#wp339722
Tuesday, October 19, 2010
Tuesday, October 12, 2010
Cisco NTP Setup
NTP Setup Misc Notes
NTP Server to Use: time-a.nist.gov - 129.6.15.28
Other NTP Servers
http://www.cisco.com/en/US/docs/ios/12_1/configfun/configuration/guide/fcd303.html#wp1001151
http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a00807ca437.shtml#configs
NTP Server to Use: time-a.nist.gov - 129.6.15.28
Other NTP Servers
http://www.cisco.com/en/US/docs/ios/12_1/configfun/configuration/guide/fcd303.html#wp1001151
http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a00807ca437.shtml#configs
Thursday, August 12, 2010
Cisco IOS Shortcuts - Moving Around
Moving the Cursor on the Command Line
Table 2 shows the key combinations or sequences you can use to move the cursor on the command line to make corrections or changes. Ctrl indicates the Control key, which must be pressed simultaneously with its associated letter key. Esc indicates the Escape key, which must be pressed first, followed by its associated letter key. Keys are not case sensitive. Many letters used for CLI navigation and editing were chosen to provide an easy way of remembering their functions. In Table 2characters are bolded in the "Function Summary" column to indicate the relation between the letter used and the function.
Subscribe to:
Posts (Atom)