RE: disable "more" in output

From: Brian Dennis (bdennis@internetworkexpert.com)
Date: Tue Mar 22 2005 - 18:52:57 GMT-3


How about if you couldn't use the "line length" configuration command
but you must ensure that upon reboot the console will still have a
terminal length of 0.

Also as a side note, the terminal width and length are a negotiated
parameter within a telnet session. Below is the output of the "debug
telnet" command when I'm resizing my SecureCRT window.

IE-AS#deb telnet
Incoming Telnet debugging is on
IE-AS#term mon
IE-AS#
*Mar 5 04:32:56.459: Telnet39: recv SB NAWS 80 24
*Mar 5 04:32:56.727: Telnet39: recv SB NAWS 80 24
*Mar 5 04:32:59.175: TCP26: Unexpected telnet EOL sequence 0D 1A
*Mar 5 04:33:00.395: Telnet39: recv SB NAWS 132 71

FYI... NAWS stands for "Negotiate About Window Size"

Read all about it in RFC 1073 (Telnet Window Size Option)
http://www.internetworkexpert.com/rfc/rfc1073.txt

Brian Dennis, CCIE #2210 (R&S/ISP-Dial/Security)

bdennis@internetworkexpert.com
Internetwork Expert, Inc.
http://www.InternetworkExpert.com
Toll Free: 877-224-8987
Direct: 775-745-6404 (Outside the US and Canada)

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Sean C
Sent: Tuesday, March 22, 2005 1:12 PM
To: ccie2be; Chuck.South@assurant.com
Cc: 'Cisco certification'; 'Hoonpongsimanont, Chalermchai'; 'khalid
mehmood'
Subject: Re: disable "more" in output

Also, would be wise to use the line length command as the 'term len 0'
isn't
save and wouldn't be used upon the router being rebooted:

R1#ter len 0
R1#wr me
Building configuration...
R1#relo
Proceed with reload? [confirm]y
System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1)
Copyright (c) 1999 by cisco Systems, Inc.
TAC:Home:SW:IOS:Specials for info
C2600 platform with 32768 Kbytes of main memory

program load complete, entry point: 0x80008000, size: 0x5b8108
Self decompressing the image :
########################################################################
########################################################################
########################################################################
########################################################################
########################################################################
########################################################################
########################################################################
########################################################################
########################################################################
##########################
[OK]

  Press RETURN to get started!

R1#sh ver
Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-IOS56I-M), Version 12.0(3)T3, RELEASE
SOFTWARE (fc1)
Copyright (c) 1986-1999 by cisco Systems, Inc.
Compiled Thu 15-Apr-99 16:04 by kpma
Image text-base: 0x80008088, data-base: 0x80AE5330

ROM: System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1)

R1 uptime is 0 minutes
System restarted by reload
System image file is "flash:c2600-ios56i-mz.120-3.T3"

cisco 2621 (MPC860) processor (revision 0x101) with 28672K/4096K bytes
of
memory.
Processor board ID JAB033507GD (3387986871)
M860 processor: part number 0, mask 49
Bridging software.
X.25 software, Version 3.0.0.
2 FastEthernet/IEEE 802.3 interface(s)
2 Serial network interface(s)
32K bytes of non-volatile configuration memory.
8192K bytes of processor board System flash (Read/Write)
--More--

R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#line con 0
R1(config-line)#len
R1(config-line)#length 0
R1(config-line)#end
R1#sh ver
Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-IOS56I-M), Version 12.0(3)T3, RELEASE
SOFTWARE (fc1)
Copyright (c) 1986-1999 by cisco Systems, Inc.
Compiled Thu 15-Apr-99 16:04 by kpma
Image text-base: 0x80008088, data-base: 0x80AE5330

ROM: System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1)

R1 uptime is 3 minutes
System restarted by reload
System image file is "flash:c2600-ios56i-mz.120-3.T3"

cisco 2621 (MPC860) processor (revision 0x101) with 28672K/4096K bytes
of
memory.
Processor board ID JAB033507GD (3387986871)
M860 processor: part number 0, mask 49
Bridging software.
X.25 software, Version 3.0.0.
2 FastEthernet/IEEE 802.3 interface(s)
2 Serial network interface(s)
32K bytes of non-volatile configuration memory.
8192K bytes of processor board System flash (Read/Write)

Configuration register is 0x2102

R1#
00:03:05: %SYS-5-CONFIG_I: Configured from console by console
R1#wr me
Building configuration...
R1#relo
Proceed with reload? [confirm]y

Press RETURN to get started!

00:00:15: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1,
changed
state to up
00:00:16: %SYS-5-CONFIG_I: Configured from memory by console
00:00:16: %SYS-5-RESTART: System restarted --
Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-IOS56I-M), Version 12.0(3)T3, RELEASE
SOFTWARE (fc1)
Copyright (c) 1986-1999 by cisco Systems, Inc.
Compiled Thu 15-Apr-99 16:04 by kpma
00:00:17: %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to
administratively down

R1#sh ver
Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-IOS56I-M), Version 12.0(3)T3, RELEASE
SOFTWARE (fc1)
Copyright (c) 1986-1999 by cisco Systems, Inc.
Compiled Thu 15-Apr-99 16:04 by kpma
Image text-base: 0x80008088, data-base: 0x80AE5330

ROM: System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1)

R1 uptime is 2 minutes
System restarted by reload
System image file is "flash:c2600-ios56i-mz.120-3.T3"

cisco 2621 (MPC860) processor (revision 0x101) with 28672K/4096K bytes
of
memory.
Processor board ID JAB033507GD (3387986871)
M860 processor: part number 0, mask 49
Bridging software.
X.25 software, Version 3.0.0.
2 FastEthernet/IEEE 802.3 interface(s)
2 Serial network interface(s)
32K bytes of non-volatile configuration memory.
8192K bytes of processor board System flash (Read/Write)

Configuration register is 0x2102

----- Original Message -----
From: "ccie2be" <ccie2be@nyc.rr.com>
To: <Chuck.South@assurant.com>
Cc: "'Cisco certification'" <ccielab@groupstudy.com>;
"'Hoonpongsimanont,
Chalermchai'" <chalermchai.hoonpongsimanont@atosorigin.com>; "'khalid
mehmood'" <kmehmood@shaw.ca>
Sent: Tuesday, March 22, 2005 8:49 AM
Subject: RE: disable "more" in output

> My mistake.
>
> I left the session by doing a cntl shift 6 instead of exit.
>
> Thanks, I see the difference now.
>
> Tim
>
> -----Original Message-----
> From: Chuck.South@assurant.com [mailto:Chuck.South@assurant.com]
> Sent: Tuesday, March 22, 2005 8:42 AM
> To: ccie2be
> Cc: 'Cisco certification'; 'Hoonpongsimanont, Chalermchai'; 'khalid
> mehmood'
> Subject: RE: disable "more" in output
>
>
> Tim,
> I tried this on a 2621;
>
> R6#sh ver
> Cisco Internetwork Operating System Software
> IOS (tm) C2600 Software (C2600-JS-M), Version 12.2(15)T13, RELEASE
> SOFTWARE (fc2)
> Technical Support: http://www.cisco.com/techsupport
> Copyright (c) 1986-2004 by cisco Systems, Inc.
> Compiled Wed 16-Jun-04 01:38 by hqluong
> Image text-base: 0x80008098, data-base: 0x81D1AC24
>
> ROM: System Bootstrap, Version 12.2(8r) [cmong 8r], RELEASE SOFTWARE
(fc1)
> ROM: C2600 Software (C2600-JS-M), Version 12.2(15)T13, RELEASE
SOFTWARE
> (fc2)
>
> R6 uptime is 1 week, 1 day, 23 hours, 7 minutes
> System returned to ROM by power-on
> System image file is "flash:c2600-js-mz.122-15.T13.bin"
>
> cisco 2621XM (MPC860P) processor (revision 0x300) with 93184K/5120K
bytes
> of memory.
> Processor board ID JAE0821HRR6 (1199197829)
> M860 processor: part number 5, mask 2
> Bridging software.
> X.25 software, Version 3.0.0.
> SuperLAT software (copyright 1990 by Meridian Technology Corp).
> TN3270 Emulation software.
> --More--
>
> R6#term length 0
> R6#sh ver
> Cisco Internetwork Operating System Software
> IOS (tm) C2600 Software (C2600-JS-M), Version 12.2(15)T13, RELEASE
> SOFTWARE (fc2)
> Technical Support: http://www.cisco.com/techsupport
> Copyright (c) 1986-2004 by cisco Systems, Inc.
> Compiled Wed 16-Jun-04 01:38 by hqluong
> Image text-base: 0x80008098, data-base: 0x81D1AC24
>
> ROM: System Bootstrap, Version 12.2(8r) [cmong 8r], RELEASE SOFTWARE
(fc1)
> ROM: C2600 Software (C2600-JS-M), Version 12.2(15)T13, RELEASE
SOFTWARE
> (fc2)
>
> R6 uptime is 1 week, 1 day, 23 hours, 7 minutes
> System returned to ROM by power-on
> System image file is "flash:c2600-js-mz.122-15.T13.bin"
>
> cisco 2621XM (MPC860P) processor (revision 0x300) with 93184K/5120K
bytes
> of memory.
> Processor board ID JAE0821HRR6 (1199197829)
> M860 processor: part number 5, mask 2
> Bridging software.
> X.25 software, Version 3.0.0.
> SuperLAT software (copyright 1990 by Meridian Technology Corp).
> TN3270 Emulation software.
> 2 FastEthernet/IEEE 802.3 interface(s)
> 1 Serial network interface(s)
> 2 Serial(sync/async) network interface(s)
> 32K bytes of non-volatile configuration memory.
> 32768K bytes of processor board System flash (Read/Write)
>
> Configuration register is 0x2102
>
> R6#exit
>
>
> R6 con0 is now available
>
> Press RETURN to get started.
>
>
> R6#sh ver
> Cisco Internetwork Operating System Software
> IOS (tm) C2600 Software (C2600-JS-M), Version 12.2(15)T13, RELEASE
> SOFTWARE (fc2)
> Technical Support: http://www.cisco.com/techsupport
> Copyright (c) 1986-2004 by cisco Systems, Inc.
> Compiled Wed 16-Jun-04 01:38 by hqluong
> Image text-base: 0x80008098, data-base: 0x81D1AC24
>
> ROM: System Bootstrap, Version 12.2(8r) [cmong 8r], RELEASE SOFTWARE
(fc1)
> ROM: C2600 Software (C2600-JS-M), Version 12.2(15)T13, RELEASE
SOFTWARE
> (fc2)
>
> R6 uptime is 1 week, 1 day, 23 hours, 8 minutes
> System returned to ROM by power-on
> System image file is "flash:c2600-js-mz.122-15.T13.bin"
>
> cisco 2621XM (MPC860P) processor (revision 0x300) with 93184K/5120K
bytes
> of memory.
> Processor board ID JAE0821HRR6 (1199197829)
> M860 processor: part number 5, mask 2
> Bridging software.
> X.25 software, Version 3.0.0.
> SuperLAT software (copyright 1990 by Meridian Technology Corp).
> TN3270 Emulation software.
> --More--
>
> Curious to know what model you were trying this on - maybe this is IOS
> related?
>
>
>
>
>
> "ccie2be"
>
> <ccie2be@nyc.rr.c To:
> "'Hoonpongsimanont,
> Chalermchai'"
> om>
> <chalermchai.hoonpongsimanont@atosorigin.com>, "'Nazgulero'"
> <pauwen@hotmail.com>,
> Sent by: "'khalid mehmood'"
> <kmehmood@shaw.ca>, "'Cisco certification'"
> nobody@groupstudy
<ccielab@groupstudy.com>
>
> .com cc:
>
> Subject: RE: disable
"more"
> in output
>
>
> 03/22/2005 07:36
>
> AM
>
> Please respond to
>
> "ccie2be"
>
>
>
>
>
>
>
>
>
> Hey David,
>
> Thanks for pointing out that Gotcha. I would have definitely missed
that
> one
> since I've always used the term length 0 command for that.
>
> But, I did a little playing around with these commands and couldn't
get
> the
> result you said.
>
> IOW, I entered the global command, term length 0, disconnected,
> reconnected,
> and the command still worked.
>
> I was consoled into a device via a term server. Could you demonstrate

> what
> you mean?
>
> TIA, Tim
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf
Of
> Hoonpongsimanont, Chalermchai
> Sent: Tuesday, March 22, 2005 5:47 AM
> To: Nazgulero; khalid mehmood; Cisco certification
> Subject: RE: disable "more" in output
>
> Khalid,
>
> Be careful. If you were asked to do that in the real exam, you should
use
> "length" line configuration mode command. Using "term length 0" will
only
> effect current connection and will lose its spell once disconnect.
>
> Cheers,
> David
>
> -----Original Message-----
> From: Nazgulero [mailto:pauwen@hotmail.com]
> Sent: Tuesday, March 22, 2005 4:30 AM
> To: khalid mehmood; Cisco certification
> Subject: Re: disable "more" in output
>
> Hello Khalid,
>
> try:
>
> terminal length 0
>
> This will cause any output to autoscroll withoit pausing.
>
> Regards,
>
> Georg
> ----- Original Message -----
> From: "khalid mehmood" <kmehmood@shaw.ca>
> To: "Cisco certification" <ccielab@groupstudy.com>
> Sent: Sunday, March 20, 2005 8:32 PM
> Subject: disable "more" in output
>
>
>> Hi,
>>
>> Is it possible to disable 'more' in the show command outputs.
>>
>> Like if i say show ip route and if there are more than 24 lines in
the
> output
>> it should just spit it out
>>
>> KM
>>
>>



This archive was generated by hypermail 2.1.4 : Sun Apr 03 2005 - 17:56:50 GMT-3