Cisco ACI ShellPromptForAudit error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

Cisco ACI ShellPromptForAudit error

L1 Bithead

Hi everyone,

We are currently configuring a new platform to onboard Cisco ACI Devices (spine, leaf and APIC devices). It should not be used a lot but sometimes we need to access them. However, each time we connect to the devcies, we need to wait for the shellpromptaudit timeout to be able to write anything and the session are not logged correctly.

PSM version 11.5

ShellPromptForAudit : ( (.*)[\x3e#]\s$

Error :

Connection Component ID: PSM-SSH

Account Address: spXXXXXX

134E The session shell prompt did not match the configuration

This session continued without a detailed audit.

 

The prompt is a classic prompt like this :

Cisco Nexus Operating System (NX-OS) Software

TAC support: http://www.cisco.com/tac

Copyright (c) 2002-2019, Cisco Systems, Inc. All rights reserved.

The copyrights to certain works contained in this software are

owned by other third parties and used and distributed under

license. Certain components of this software are licensed under

the GNU General Public License (GPL) version 2.0 or the GNU

Lesser General Public License (LGPL) Version 2.1. A copy of each

such license is available at

http://www.opensource.org/licenses/gpl-2.0.php and

http://www.opensource.org/licenses/lgpl-2.1.php

spxxxx#

spxxxx#

 

Are you aware of special character hidden in the ACI prompt or am I missing something?

 

Thanks in advance,

 

Maxime

 

 

 

1 REPLY 1

L1 Bithead

The regex mentioned in the shellpromptfor audit is not valid for the ACI Prompt.

Try changing the regex to default value (.*)[>#\\$]$

 

PSM and PSMP prompt detection does not work (force.com)

  • 601 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!