Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Strange script

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

Everyone's tags (4)
1 ACCEPTED SOLUTION

Accepted Solutions

Strange script

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

2 REPLIES

Strange script

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

New Member

Strange script

Thank you Steve!

Best regards

Al

864
Views
0
Helpful
2
Replies