CUBE :-
*) Need to take capture from both internal and external interface of the CUBE, to understand the packets/Audio coming in and going out of the CUBE router in both directions.
*) Also enable below debugs in router to track the call.
Debugs/Packet capture in the router:-
- Commands to enable ip traffic packet capture:-
conf t
ip traffic-export profile sniffer1 mode capture
bidirectional
ip traffic-export profile sniffer2 mode capture
bidirectional
interface gig x/x/x /// External interface
ip traffic-export apply sniffer1
interface gig x/y/z /// Internal interface
ip traffic-export apply sniffer2
end
- To START/STOP/COPY capture in the router.
traffic-export interface gig x/x/x stop
traffic-export interface gig x/x/x clear
*) Enable below debugs
debug voip ccapi inout
debug ccsip messa
debug ccsip media
debug ccsip error
debug ccsip event
debug voip rtp session name
*) Procedure to collect capture/debug:-
traffic-export interface gig x/x/x stop
traffic-export interface gig x/x/x clear
traffic-export interface gig x/y/z stop
traffic-export interface gig x/y/z clear
clear log
<confirm>
traffic-export interface gig x/x/x start
traffic-export interface gig x/y/z start
*) Do the test calls, once the test call is done, do the below.
traffic-export interface gig x/x/x stop
traffic-export interface gig x/y/z stop
un all
term len 0
sh log
sh run
sh vers//
traffic-export interface gig x/x/x copy flash:gigxxx.pcap
traffic-export interface gig x/y/z copy flash:gigxyz.pcap
To copy the file over SSH you can use
Pscp.exe -pw C1sco123 admin@10.X.X.X:flash:pcap "c:\Temp"
Or
Copy Flash:filename.pcap scp://172.X.X.X/
traffic-export interface gig 0/1 stop
traffic-export interface gig 0/1 clear
traffic-export interface gig 0/0.342 stop
traffic-export interface gig 0/0.342 clear
traffic-export interface gig 0/1 start
traffic-export interface gig 0/0.342 start
traffic-export interface gig 0/0.342 copy flash:gig0.342dialtone.pcap
traffic-export interface gig 0/1 copy flash:gig1dialtone.pcap
traffic-export interface gig 0/1 stop
traffic-export interface gig 0/0.342 stop
Monday, 3 February 2020
Tuesday, 24 December 2019
Cisco ASA debug
Some usefull debug commands for ASA:
packet-tracer input Internet tcp X.X.X.X http X.X.X.X 6 http
packet-tracer input Internet icmp X.X.X.X 8 0 X.X.X.X detailed
To do a capture:
access-list capin permit ip host 10.10.10.x host 10.10.20.x
access-list capin permit ip host 10.10.20.x host 10.10.10.x
capture in access-list capin interface inside
then initiate the traffic from client to server, and use "show capture capin" to see if you can see the traffic in both directions.
Check IP Route:
show route
show asp table routing
packet-tracer input Internet tcp X.X.X.X http X.X.X.X 6 http
packet-tracer input Internet icmp X.X.X.X 8 0 X.X.X.X detailed
To do a capture:
access-list capin permit ip host 10.10.10.x host 10.10.20.x
access-list capin permit ip host 10.10.20.x host 10.10.10.x
capture in access-list capin interface inside
then initiate the traffic from client to server, and use "show capture capin" to see if you can see the traffic in both directions.
Check IP Route:
show route
show asp table routing
Cisco IP phone remote login to extension mobility via web url
- You created new user device profile
- You know the MAC address of the phone the user will be login on
- How can you log them in without the end user input
Easy just browse to the url below and replace the MAC and the username with the appropriate user ID that has been assigned the UDP.
http://CUCM IP/emapp/EMAppServlet?device=SEPXXXXXXXX&&userid=username&seq=12345
Hope this helps
Wednesday, 29 August 2018
Tuesday, 28 August 2018
How to use BAT to add user devidce profile (UDP) on CUMC v11.5
- Download bat_xxxxxx.xlt from CUCM
- Select the User Device Profiles tab
- Click on Create File Format and confirm that you wish to overwrite the existing CSV format after selecting the required fields for UDP profile - this will re-create the file with all selected fields see the fields I have used.
- Next populate the form and click on export to BAT Format - this will generate the file we need to import the UDP profiles, it will look something like that:
DEVICE PROFILE NAME,DESCRIPTION,PHONE BUTTON TEMPLATE,SOFTKEY TEMPLATE,PRIVACY,SINGLE BUTTON BARGE,ALWAYS USE PRIME LINE,ALWAYS USE PRIME LINE FOR VOICE MESSAGE,DND OPTION,MLPP INDICATION,MLPP PREEMPTION
UDP_Test_User_1,UDP_Test_User_1,Standard 7911,Standard Comp 7911 User,Default,Off,Default,Default,Use Common Phone Profile Setting,Default,Default
UDP_Test_User_1,UDP_Test_User_1,Standard 7911,Standard Comp 7911 User,Default,Off,Default,Default,Use Common Phone Profile Setting,Default,Default
- Now upload the file to CUCM>Bulk Admin>Upload files as Insert UDP - Specific Details
- Next Select Bulk Admin>User Device Profiles> Insert UDP, select Insert Specific details and select the file that you just uploaded and use the appropriate template for your phone. My template looks as below. Once you run this job you should have a list of users dev profiles as in the file.
Wednesday, 24 January 2018
How to remove ospf route from HP switch
HP 2950's
Let's say you enter a wrong ip route on a switch and you want to remove it.
Of course first thing you would try will be the no ip route command and job done,but what if it doesn't work. Well it took me a while to click that it doesn't because I'm trying to do it on the wrong switch.
Let's say you enter a wrong ip route on a switch and you want to remove it.
Of course first thing you would try will be the no ip route command and job done,but what if it doesn't work. Well it took me a while to click that it doesn't because I'm trying to do it on the wrong switch.
Destination Gateway VLAN Type Sub-Type Metric Dist
XXX.27.0.161/32 XXX.28.248.38 100 ospf External2 10 110
The sub-type of the route is showing as External2 so based on that work out from which switch is the route coming from.
#show ip ospf external-link-state
This command will give you the router id IP
#show ip ospf link-state router-id ip addr
This will show you all the associated networks with that particular router-id
You can then login to all the switches on the list and check which one has the static route you trying to remove . Once you got the route just use the standard command
#no ip route ..... and the rest
Now it works
Now it works
Subscribe to:
Posts (Atom)