-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcisco-config-output-without-breaks.html
76 lines (65 loc) · 3.09 KB
/
cisco-config-output-without-breaks.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>Cisco config output without breaks - kb.haeringer.org</title>
<link href="http://fonts.googleapis.com/css?family=Arimo:400,700|Inika" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="/theme/bootstrap.css" />
<link rel="stylesheet" type="text/css" href="/theme/pastie.css" />
<link href="/" type="application/atom+xml" rel="alternate" title="kb.haeringer.org Atom Feed" />
</head>
<body>
<div class="container">
<div class="row">
<div class="span10">
<div id="content">
<div class="header">
<h1>Cisco config output without breaks</h1>
</br>
</div>
<p class="meta"><small><span><a href="/author/ben/">ben</a> - </span><span>Fr 04 März 2011</span> - <span class="tags"><a href="/tag/ASA/">ASA</a>, <a href="/tag/Cisco IOS/">Cisco IOS</a>, <a href="/tag/Logging/">Logging</a>, <a href="/tag/PuTTY/">PuTTY</a></span></small></p>
<div class="entry-content">
<p>By default, the output when you do a 'sh run' on Cisco devices is
divided into segments and you have to press 'Space' many times to show
the whole config. This can be annoying when you have PuTTY logging
enabled and quickly want to save the running config to your log files
(without copy&paste/TFTP/etc), because the interruptions get logged as
well.</p>
<p>But there are possibilities to show the whole config at once:</p>
<p>On the <strong>ASA</strong>:</p>
<div class="highlight"><pre><span class="n">config</span><span class="err">#</span> <span class="n">no</span> <span class="n">pager</span>
</pre></div>
<p>Back to default:</p>
<div class="highlight"><pre><span class="n">config</span><span class="err">#</span> <span class="n">pager</span> <span class="mi">24</span>
</pre></div>
<p>On <strong>IOS</strong>devices:</p>
<div class="highlight"><pre><span class="n">term</span> <span class="n">length</span> <span class="mi">0</span>
</pre></div>
</div><!-- /.entry-content -->
</div>
</div>
<div class="span2">
<div class="well">
<ul class="nav nav-list">
<li class="nav-header">Blog</li>
<!-- <li ><a href="">Home</a></li> -->
<li ><a href="index.html">Home</a></li>
<li ><a href="/tags/">Tags</a></li>
<li ><a href="/archives/">Archive</a></li>
<li class="nav-header">Pages</li>
<li><a href="/pages/about.html">About</a></li>
</ul>
</div><!-- /#menu -->
</div>
</div>
<hr />
<div class="row">
<div class="span12">
<div id="about">
<p>Proudly powered by <a href="http://twitter.github.com/bootstrap/">bootstrap</a>, <a href="http://docs.notmyidea.org/alexis/pelican/">pelican</a>, <a href="http://python.org">python</a> and <a href="http://www.julo.ch/about/">Alex</a></p>
</div><!-- /#about -->
</div><!-- /#contentinfo -->
</div>
</div>
</body>
</html>