cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1662
Views
0
Helpful
2
Replies

Strange script

a.giorgi
Level 1
Level 1

Hi there:

I have a N7K that has a strange behaviour for me

When I connect to console after the welcome message a command is executed

In my case is 'terminal color':

User Access Verification

N7K1 login: admin

Password:

Cisco Nexus Operating System (NX-OS) Software

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

Copyright (c) 2002-2012, 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

`terminal color`

N7K1#

I can't see this command in the running config

The question is where is this command?

I search for a default script and I found there are a script language called Phyton that allows you to write fancy scripts

But I don't thing this is tha case because the bootflash:scripts folder is empty

Any clues?

Thank you in advance

Al

1 Accepted Solution

Accepted Solutions

Steve Fuller
Level 9
Level 9

Hi Al,

Take a look in the bootflash and check whether you've a file called .rc.cli. This file is added when you run the terminal color persist command and is then executed each time logs in to the switch.

If the file exists, remove it and the terminal color command should no longer be run when user logs in.

Regards

View solution in original post

2 Replies 2

Steve Fuller
Level 9
Level 9

Hi Al,

Take a look in the bootflash and check whether you've a file called .rc.cli. This file is added when you run the terminal color persist command and is then executed each time logs in to the switch.

If the file exists, remove it and the terminal color command should no longer be run when user logs in.

Regards

a.giorgi
Level 1
Level 1

Thank you Steve!

Best regards

Al

Review Cisco Networking for a $25 gift card