A quick and easy CUCM diagnostic test run via CLI.
utils diagnose test
Technical notes that I believe it worth taking, usually taken during me working on issues and projects.
Wednesday, 10 April 2019
Wednesday, 13 March 2019
Cisco VM ESXi wont boot (After restart)
Well, another day another bug!
Cisco bug CSCvh55176 for the official page.
I setup Unity connection fresh install on BE6K with ESXi 6.5. VM booted and worked properly, but after restart the VM didn't boot again and had only a black screen with a cursor, no messages, nothing..
A colleague run into this bug before me so I was provided with the resolution below:
You will need to:
- boot VM with recovery ISO
- Once the options appear, press ALT+F2. This will take you to bash prompt.
- chroot /mnt/part1
- /usr/bin/vmware-config-tools.pl -d
- You may ignore the errors at the end
- Exit and disconnect the ISO and make sure you will change the boot order again in BIOS
After above other VMs should be boot as well.
Cisco bug CSCvh55176 for the official page.
I setup Unity connection fresh install on BE6K with ESXi 6.5. VM booted and worked properly, but after restart the VM didn't boot again and had only a black screen with a cursor, no messages, nothing..
A colleague run into this bug before me so I was provided with the resolution below:
You will need to:
- boot VM with recovery ISO
- Once the options appear, press ALT+F2. This will take you to bash prompt.
- chroot /mnt/part1
- /usr/bin/vmware-config-tools.pl -d
- You may ignore the errors at the end
- Exit and disconnect the ISO and make sure you will change the boot order again in BIOS
After above other VMs should be boot as well.
Friday, 4 January 2019
Unable to update phone setting after CUCM 12
When you try to edit a phone after you upgrade to CUCM 12 you get an error of
"Update failed. SSH Password is not valid. SSH Password is an encrypted value containing up to 288 hexadecimal characters (0-9 and A-F)"
You have to run the following command on CLI in irder to clear any password set
run sql update device set sshpassword = '' where name = "SEP1234AAAABBBB"
"Update failed. SSH Password is not valid. SSH Password is an encrypted value containing up to 288 hexadecimal characters (0-9 and A-F)"
You have to run the following command on CLI in irder to clear any password set
run sql update device set sshpassword = '' where name = "SEP1234AAAABBBB"
Tuesday, 13 November 2018
Cisco FMC FTD user to IP mapping troubleshooting
To check whether user to IP mapping works correctly, SSH to FMC and FTD and run the following commands in order to check if the entries are there
expert
user_map_query.pl -i 10.10.10.10 (to check for IP to user mapping)
user_map_query.pl -u bob (to check user to IP mapping)
If results display "For policy = 1" then this is set to propagate to FTD
Another approach
expert
u2dump /var/sf/user_enforcement/user_ip_map.* > /var/tmp/user-ip-map.dump
vi /var/tmp/user-ip-map.dump
Credit for some of the above goes to dependencyhell.net blog.
expert
user_map_query.pl -i 10.10.10.10 (to check for IP to user mapping)
user_map_query.pl -u bob (to check user to IP mapping)
If results display "For policy = 1" then this is set to propagate to FTD
Another approach
expert
u2dump /var/sf/user_enforcement/user_ip_map.* > /var/tmp/user-ip-map.dump
vi /var/tmp/user-ip-map.dump
Credit for some of the above goes to dependencyhell.net blog.
Monday, 12 November 2018
Anyconnect DNS issues on VPN
If you 're facing troubles with clients connecting to VPN and can't resolve DNS please check the following
https://bst.cloudapps.cisco.com/bugsearch/bug/CSCuz27826/?rfs=qvred
In short
Anyconnect creates a static route on the client for the DHCP server. if your DHCP server also servers as DNS etc. this breaks the DNS resolution for your client.
Apply the following as workaround
group-policy DfltGrpPolicy attributes
webvpn
anyconnect-custom-attr no-dhcp-server-route
anyconnect-custom-data no-dhcp-server-route no-dhcp-server-route true
group-policy <XXX> attributes
anyconnect-custom no-dhcp-server-route value no-dhcp-server-route
https://bst.cloudapps.cisco.com/bugsearch/bug/CSCuz27826/?rfs=qvred
In short
Anyconnect creates a static route on the client for the DHCP server. if your DHCP server also servers as DNS etc. this breaks the DNS resolution for your client.
Apply the following as workaround
group-policy DfltGrpPolicy attributes
webvpn
anyconnect-custom-attr no-dhcp-server-route
anyconnect-custom-data no-dhcp-server-route no-dhcp-server-route true
group-policy <XXX> attributes
anyconnect-custom no-dhcp-server-route value no-dhcp-server-route
Friday, 2 November 2018
Google NTP service
Google's started a public network time protocol (NTP) servers.
You'll find the servers at time.google.com – 216.239.35.0
More info here: https://developers.google.com/time/
You'll find the servers at time.google.com – 216.239.35.0
More info here: https://developers.google.com/time/
Cisco ISE check Profiler Feed logs and Updates
Hi all,
In order to check your profiler logs and check the upgrade progress use the following command in CLI
sh logging application profiler.log tail
In order to check your profiler logs and check the upgrade progress use the following command in CLI
sh logging application profiler.log tail
Subscribe to:
Posts (Atom)