AnyConnect: Stop Prompting for Certificates

KB ID 0001505

Problem

If you secure your AnyConnect with certificates, you may see something like this;

When you simply want it to connect without prompting.

Solution

This tripped me up last week, luckily I’d seen it before, and knew how to fix it. You need to edit the profile for your AnyConnect so that, you ‘UNTICKDisable Automatic Certificate Selection. I know that sounds like the opposite of what you want to do, but hey!

Related Articles, References, Credits, or External Links

NA

PowerShell: Prompt Has Changed To Two Greater Than Signs

KB ID 0001380

Problem

What does this mean? Well it means you’ve either got something wrong, or missed something out, and PowerShell is not sat waiting for more input. Which is fine but in most cases you simply need to fix your syntax and sort again so how do you ‘escape’ back to the normal PowerShell prompt?

Solution

As you can see, (below) typing quit or exist does not help.

You need to press CTRL+C.

Related Articles, References, Credits, or External Links

NA

Cisco Firewalls ‘My Prompt has changed / Disappeared’

KB ID 0000226

Problem

Whilst messing around with my home firewall, I noticed that it no longer displayed the hostname on the command prompt,I checked Telnet and SSH, the results were the same.

Solution

Option 1 from Command Line

I’d managed to change the default setting for “prompt”

1. Log into the Firewall > go to “enable” mode then “Configure Terminal” mode.

[box]prompt ?[/box]

2. To change it back to the default, which is (hostname context) issue the following command.

[box]prompt hostname context[/box]

Note: You would only see the context if you were in multiple mode! You can also add the following,

hostname – the firewalls name. domain – The firewall configured domain name. priority – Only when deployed in fail over mode. (pri – primary and sec – secondary). state – Only when deployed in fail over mode. (act – active, stby – standby, actNoFailover – fail over not enabled and unit is active, and stbyNoFailover – fail over not enabled and unit is in standby).

Option 2 from ASDM

1. Open the ASDM and Navigate to Configuration > Device Management > Management Access > CLI Prompt > Add and Delete as applicable. (Screen shot shows the default).

Click for larger image.

2. When done, click File > Save running configuration to flash.

Related Articles, References, Credits, or External Links

NA