
MNL-0641-01 Rev A3
ECO-4823
Effective: 04 Oct 16
Page 97 of 107
Example: Changing Terminal Parameters
This example shows how to change some values for the current session and for all future console
sessions.
! First inspect current settings for this session:
SWI2210-XXXX# show terminal
Line is con 0.
* You are at this line now.
Alive from Console.
Default privileged level is 2.
Command line editing is enabled
Display EXEC banner is enabled.
Display Day banner is enabled.
Terminal width is 80.
length is 24.
history size is 32.
exec-timeout is 10 min 0 second.
Current session privilege is 15.
Elapsed time is 0 day 0 hour 15 min 42 sec.
Idle time is 0 day 0 hour 0 min 0 sec.
! Then set terminal length to zero to disable pagination, and exec-timeout to
! zero to disable automatic logout:
SWI2210-XXXX# terminal length 0
SWI2210-XXXX# terminal exec-timeout 0
SWI2210-XXXX# show terminal
Line is con 0.
.
.
Terminal width is 80.
length is 0.
history size is 32.
exec-timeout is 0 min 0 second.
! Then we do the same, but for all future console sessions. Note how the commands
! have no ‘terminal’ prefix ('length' vs. ‘terminal length’):
SWI2210-XXXX# configure terminal
SWI2210-XXXX(config)# line console 0
SWI2210-XXXX(config-line)# exec-timeout 0
SWI2210-XXXX(config-line)# length 0
SWI2210-XXXX(config-line)# end
! Finally save the configuration to startup-config to make it persistent:
SWI2210-XXXX# copy running-config startup-config
Building configuration...
% Saving 1287 bytes to flash:startup-config
SWI2210-XXXX#
Содержание Parvus SWI-22-10-01
Страница 8: ...Parvus SWI 22 10 Curtiss Wright Page 8 of 107 MNL 0641 01 Rev A3 ECO 4823 Effective 04 Oct 16 ...
Страница 25: ...MNL 0641 01 Rev A3 ECO 4823 Effective 04 Oct 16 Page 25 of 107 7 end 8 copy running config startup config ...
Страница 107: ...MNL 0641 01 Rev A3 ECO 4823 Effective 04 Oct 16 Page 107 of 107 ...