| Step 1 |
configure terminal
Example:
switch# configure terminal
switch(config)#
|
Enters global configuration mode.
|
| Step 2 |
line console
Example:
switch# line console
switch(config-console)#
|
Enters console configuration mode.
|
| Step 3 |
databits
bits
Example:
switch(config-console)# databits 7
|
Configures the number of data bits per byte. The range is from 5 to 8. The default is 8.
|
| Step 4 |
exec-timeout
minutes
Example:
switch(config-console)# exec-timeout 30
|
Configures the timeout for an inactive session. The range is from 0 to 525600 minutes (8760 hours). A value of 0 minutes disables the session timeout. The default is 30 minutes.
|
| Step 5 |
parity {even | none | odd}
Example:
switch(config-console)# parity even
|
Configures the parity. The default is none.
|
| Step 6 |
speed {300 | 1200 | 2400 | 4800 | 9600 | 38400 | 57600 | 115200}
Example:
switch(config-console)# speed 115200
|
Configures the transmit and receive speed. The default is 115200.
|
| Step 7 |
stopbits {1 | 2}
Example:
switch(config-console)# stopbits 2
|
Configures the stop bits. The default is 1.
|
| Step 8 |
exit
Example:
switch(config-console)# exit
switch(config)#
|
Exits console configuration mode.
|
| Step 9 |
show line console
Example:
switch(config)# show line console
| (Optional)
Displays the console settings.
|
| Step 10 |
copy running-config startup-config
Example:
switch(config)# copy running-config startup-config
| (Optional)
Copies the running configuration to the startup configuration.
|