cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
10785
Views
0
Helpful
6
Replies

Using minicom to configure Cisco 2960's VLAN - Problem: switch command prompt doesn't appear

msrabie
Level 1
Level 1

Hello Everybody,

Given:

- Switch: Cisco 2960

- OS: Centos 7

- Serial port configuration: minicom

- Used Configuration:  

     9600 8N2 ,Hardware Control Flow: No,  Software Control Flow: No

- Status: Online

Target:

- Configure a VLAN for the switch.

Problem:

After saving the default configuration using minicom, then running minicom, the switch command doesn't appear!

I would appreciate any help.

Regards

Mahmoud

6 Replies 6

Philip D'Ath
VIP Alumni
VIP Alumni

It should be:

9600 8N1

What do you mean the "switch" command?

Hi Philip

Thanks for your response.

What do you mean the "switch" command?

I meant the command prompt of the switch to be able to interact with it by commands.

It should be:

9600 8N1

In the guide, the stop bits = 2.

Reference

http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960/hardware/installation/guide/2960_hg/hgcliset.html

Regards

Mahmoud

It is wrong.  Use 8N1.

Are you sure you have specified the correct serial port on the machine?

Philip,

Thanks again.

Are you sure you have specified the correct serial port on the machine?

Here are the steps that I did:

1) Get the tty name

[root@lab36inst instructor]# dmesg | grep tty
[    0.000000] console [tty0] enabled
[    0.574378] 00:07: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A

2) Save the default configuration of Serial Port Setup with minicom

[root@lab36inst instructor]# minicom -s

    -----------------------------------------------------------------------
    | A -    Serial Device              : /dev/ttyS0                            
    |                                                                                     
    | C -   Callin Program            :                                           
    | D -  Callout Program           :                                          
    | E -    Bps/Par/Bits               : 9600 8N1                   
    | F - Hardware Flow Control : Yes                              
    | G - Software Flow Control  : No                                
    |                                                                                     
    |    Change which setting?                                          
    +----------------------------------------------------------------------


           
3) Run minicom. It stuck at the following output without entering to the Switch# prompt as I expect. Moreover, always the status is Offline.

Regards

Mahmoud

What kind of serial port is this?  Built in, USB, etc?  I presume you are plugged into the actual console port on the switch - or are you using the newer USB interface?

Try these device names as well.  You need to find a port that is actually online.

/dev/ttyusb0
/dev/ttyusb1
/dev/ttyACM1

I am plugging the console cable directly from the switch to the PC serial port. So, the port is the serial port.

Review Cisco Networking for a $25 gift card