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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
|
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Commands</title><script language="JavaScript">
<!--
if (document.images) {
image1on = new Image();
image1on.src = "../../index_images/sitewide_outline_ov.gif";
image2on = new Image();
image2on.src = "../../index_images/sitewide_objectives_ov.gif";
image3on = new Image();
image3on.src = "../../index_images/sitewide_labs_ov.gif";
image4on = new Image();
image4on.src = "../../index_images/sitewide_commands_ov.gif";
image5on = new Image();
image5on.src = "../../index_images/sitewide_media_ov.gif";
image6on = new Image();
image6on.src = "../../index_images/sitewide_links_ov.gif";
image1off = new Image();
image1off.src = "../../index_images/sitewide_outline.gif";
image2off = new Image();
image2off.src = "../../index_images/sitewide_objectives.gif";
image3off = new Image();
image3off.src = "../../index_images/sitewide_labs.gif";
image4off = new Image();
image4off.src = "../../index_images/sitewide_commands.gif";
image5off = new Image();
image5off.src = "../../index_images/sitewide_media.gif";
image6off = new Image();
image6off.src = "../../index_images/sitewide_links.gif";
image1hint = new Image();
image1hint.src = "../../index_images/sitewide_text_outline.gif";
image2hint = new Image();
image2hint.src = "../../index_images/sitewide_text_objectives.gif";
image3hint = new Image();
image3hint.src = "../../index_images/sitewide_text_labs.gif";
image4hint = new Image();
image4hint.src = "../../index_images/sitewide_text_commands.gif";
image5hint = new Image();
image5hint.src = "../../index_images/sitewide_text_media.gif";
image6hint = new Image();
image6hint.src = "../../index_images/sitewide_text_links.gif";
imageHint = new Image();
imageHint.src = "../../index_images/sitewide_text_start.gif";
}
function changeImages() {
if (document.images) {
for (var i=0; i<changeImages.arguments.length; i+=2) {
document[changeImages.arguments[i]].src = eval(changeImages.arguments[i+1] + ".src");
}
}
}
// -->
</script>
</head><body bgcolor="#FFFFFF" bottommargin="0" topmargin="0" leftmargin="0" rightmargin="0" marginheight="0" marginwidth="0" link="#003399" alink="#000000" vlink="#000000">
<body link="#003399" vlink="#003399" alink="#003399">
<form name="searchform" action="/app/search.taf">
</form>
<input type="hidden" name="_function" value="search">
<input type="hidden" name="more_options" value="two">
<input type="hidden" name="search_scope" value=48054>
<input type="hidden" name="tree_type" value="Asset">
<input type="hidden" name="display_option" value="Glossary">
<input type="hidden" name="style" value="iQ">
<input type="hidden" name="asset_type_id" value="44728">
<input type="hidden" name="public_view" value="true">
<input type="hidden" name="DefMode" value="">
<!-- begin glossary header -->
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#ffffff">
<tr>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#ffffff">
<tr>
<td width="120" rowspan="3" valign="top" align="center">
<img src="../../index_images/spacer.gif" alt="" border="0" width="1" height="1"><br>
<img src="../../index_images/logo.gif" alt="Cisco Systems" border="0" width="110" height="73"></td>
<td width="100%" bgcolor="#ffffff" nowrap valign="top">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="90" bgcolor="#336666" nowrap valign="top">
<img border="0" src="../../index_images/left_top_bar.gif" width="150" height="30"></td>
<td bgcolor="#336666" nowrap align="right">
<img src="../index_images/spacer.gif" alt="" height="8" width="1" border="0"><img name="hint" src="../../index_images/sitewide_text_start.gif" border=0 width="136" height="19"></td>
</tr>
</table>
<br>
</td>
<td width="180" valign="top">
<table width=177 border=0 cellpadding=0 cellspacing=0>
<tr>
<td bgcolor="#336666">
<p align="right">
<a onMouseOver="changeImages('image1', 'image1on'); changeImages('hint', 'image1hint');" onMouseOut="changeImages('image1', 'image1off'); changeImages('hint', 'imageHint');" href="../../outline/ch6/index.html">
<img name="image1" border="0" src="../../index_images/sitewide_outline.gif" width="28" height="30"></a><a onMouseOver="changeImages('image2', 'image2on'); changeImages('hint', 'image2hint');" onMouseOut="changeImages('image2', 'image2off'); changeImages('hint', 'imageHint');" href="../../objectives/ch6/index.html"><img name="image2" border="0" src="../../index_images/sitewide_objectives.gif" width="27" height="30"></a><a onMouseOver="changeImages('image3', 'image3on'); changeImages('hint', 'image3hint');" onMouseOut="changeImages('image3', 'image3off'); changeImages('hint', 'imageHint');" href="../../labs/ch6/index.html"><img name="image3" border="0" src="../../index_images/sitewide_labs.gif" width="36" height="30"></a><img name="image4" border="0" src="../../index_images/sitewide_commands_dim.gif" width="29" height="30"></a><a onMouseOver="changeImages('image5', 'image5on'); changeImages('hint', 'image5hint');" onMouseOut="changeImages('image5', 'image5off'); changeImages('hint', 'imageHint');" href="../../media/ch6/index.html"><img name="image5" border="0" src="../../index_images/sitewide_media.gif" width="28" height="30"></a></td>
</tr>
</table>
<p><br>
</td>
</tr>
</table>
</tr>
</table>
<!-- end glossary header -->
<!-- "Glossary" graphic title -->
<table border="0" bgcolor="#ffffff" width="100%" cellspacing=0 cellpadding=0>
<tr>
<td bgcolor="#ffffff"><img src="../../index_images/spacer.gif" width="10" height="1" alt="" border="0"></td>
<td width="7" bgcolor="#ffffff"><img src="../../index_images/spacer.gif" width="7" height="7" alt="" border="0"></td>
<td colspan="3" bgcolor="#ffffff"><img src="../../index_images/spacer.gif" width="111" height="1" alt="" border="0"><!-- Tool-Specific Header graphic --><img border="0" src="../../index_images/title_commands.gif" width="144" height="15"></td>
<td bgcolor="#ffffff">
<img src="../../index_images/spacer.gif" alt="" border="0" width="1" height="1"></td>
<td bgcolor="#ffffff"><img src="../../index_images/spacer.gif" width="9" height="1" alt="" border="0"></td>
</tr>
<tr valign="bottom">
<td bgcolor="#ffffff"><img src="../../index_images/spacer.gif" width="10" height="1" alt="" border="0"></td>
<td width="7" bgcolor="#336666">
<img src="../../index_images/content_title_upleft1.gif" alt="" border="0" width="7" height="7"></td>
<td bgcolor="#336666" colspan="3" nowrap>
<img src="../../index_images/content_title_upleft2.gif" alt="" border="0" width="45" height="7"><!-- spacer graphic controls minimum width --><img src="../../index_images/spacer.gif" width="511" height="1" alt="" border="0"></td>
<td bgcolor="#336666" valign="top" align="right">
<img src="../../index_images/content_title_upright.gif" alt="" border="0" width="5" height="5"></td>
<td bgcolor="#ffffff"><img src="../../index_images/content_title_upright_dot.gif" width="1" height="2" alt="" border="0"><img src="../../index_images/spacer.gif" width="8" height="1" alt="" border="0"></td>
</tr>
<!-- end "Glossary" graphic title -->
<!-- main content -->
<tr>
<td bgcolor="#ffffff"><img src="../../index_images/spacer.gif" width="10" height="1" alt="" border="0"></td>
<td width="7" bgcolor="#336666"><img src="../../index_images/spacer.gif" width="7" height="1" alt="" border="0"></td>
<td colspan="4" valign=middle>
<!-- Insert Content Into Table Below -->
<table width="100%" border="0" cellpadding="6" cellspacing="0">
<tr>
<td bgcolor="#99cccc" class="content"><b><img src="../../index_images/spacer.gif" width="1" height="3" alt="" border="0"><font face="Arial" size="1" color="#003333">Modules:</font>
</font></b>
<font color="#003399" face="Arial" size="1"> |
<a href="../ch1/index.html"> 1</a> |
<a href="../ch2/index.html">2</a> |
<a href="../ch3/index.html">3</a> |
<a href="../ch4/index.html">4</a> |
<a href="../ch5/index.html">5</a> | 6 |
<a href="../cs1/index.html">CS</a> |
<a href="../all/index.html">All</a> |</font></TD>
</tr>
<tr valign="top">
<td bgcolor="#EEEEEE" class="content">
<table border="0" width="100%" cellspacing="0" cellpadding="8">
<tr>
<td bgcolor="#EEEEEE" class="content">
<table border="0" width="100%" cellspacing="0" cellpadding="8">
<tr>
<td width="100%"><b><font face="Arial" color="#003333">Module</font><font face="Arial" size="3" color="#003333"> 6:
</font></b><font color="#003333" size="3" face="Arial"><b>Introduction to
Network Administration</b></font><font color="#003333"> <br>
</font><table border="0" width="95%" cellpadding="2" cellspacing="8" bordercolor="#111111" height="418">
<tr>
<td valign="top" width="10%" height="19"> </td>
<td valign="top" width="20%" height="19"><b><font face="Arial" size="2">
Command</font></b></td>
<td valign="top" width="40%" height="19"><b><font face="Arial" size="2">
Command Description</font></b></td>
<td valign="top" width="30%" height="19"><b><font face="Arial" size="2">
Command Syntax</font></b></td>
</tr>
<tr>
<td valign="top" width="10%" height="32">
<font face="Arial" size="2">
<a target="main" href="../../../ch6/6_2_7/index.html">6.2.7</a></font></td>
<td valign="top" width="20%" height="32"><b>
<font face="Courier New" size="2">snmp-server community string ro</font></b></td>
<td valign="top" width="40%" height="32"><font face="Arial" size="2">
Defines the community access string. You can configure one or more
community strings. To remove a specific community string, use the </font>
<font face="Courier New" size="2">
<b>no snmp-server community</b></font><font face="Arial" size="2">
command.</font></td>
<td valign="top" width="30%" height="32">
<font face="Courier New" size="2"><b>snmp-server community </b>
<i>string</i><b> </b>
[<b>view</b> <i>view-name</i>] [<b>ro</b> | <b>rw</b>] [<i>number</i>] </font></td>
</tr>
<tr>
<td valign="top" width="10%" height="32"> </td>
<td valign="top" width="20%" height="32"><b>
<font face="Courier New" size="2">snmp-server community string rw</font></b></td>
<td valign="top" width="40%" height="32"><font face="Arial" size="2">
Defines the community access string. You can configure one or more
community strings. To remove a specific community string, use the </font>
<font face="Courier New" size="2">
<b>no snmp-server community</b></font><font face="Arial" size="2">
command.</font></td>
<td valign="top" width="30%" height="32">
<font face="Courier New" size="2"><b>snmp-server community </b>
<i>string</i><b> </b>
[<b>view</b> <i>view-name</i>] [<b>ro</b> | <b>rw</b>] [<i>number</i>] </font></td>
</tr>
<tr>
<td valign="top" width="10%" height="12"></td>
<td valign="top" width="20%" height="12"><b>
<font face="Courier New" size="2">snmp-server contact text</font></b></td>
<td valign="top" width="40%" height="12"><font face="Arial" size="2">
Sets the system contact string.</font></td>
<td valign="top" width="30%" height="12">
<b><font face="Courier New" size="2">snmp-server contact
</b><i>text</i><b>
</b> </font>
</td>
</tr>
<tr>
<td valign="top" width="10%" height="1"></td>
<td valign="top" width="20%" height="1"><b>
<font face="Courier New" size="2">snmp-server location text</font></b></td>
<td valign="top" width="40%" height="1"><font face="Arial" size="2">
Sets the system location string.</font></td>
<td valign="top" width="30%" height="1">
<b><font face="Courier New" size="2">snmp-server location
</b><i>text</i><b>
</b> </font>
</td>
</tr>
<tr>
<td valign="top" width="10%" height="80">
<font face="Arial" size="2">
<a target="main" href="../../../ch6/6_2_9/index.html">6.2.9</a></font></td>
<td valign="top" width="20%" height="80"><b>
<font face="Courier New" size="2">logging on</font></b></td>
<td valign="top" width="40%" height="80"><font face="Arial" size="2">
Message logging is enabled by default. It must be enabled in order to
send messages to any destination other than the console. To disable
message logging, use the </font><font face="Courier New" size="2">
<b>no logging on</b></font><font face="Arial" size="2">
command. Note that disabling
the logging process can slow down the router because a process cannot
continue until the messages are written to the console.</font></td>
<td valign="top" width="30%" height="80">
<b><font face="Courier New" size="2">logging on </font></b></td>
</tr>
<tr>
<td valign="top" width="10%" height="48"> </td>
<td valign="top" width="20%" height="48"><b>
<font face="Courier New" size="2">logging hostname | ip address</font></b></td>
<td valign="top" width="40%" height="48"><font face="Arial" size="2">
To send log messages to a syslog server host, like CiscoWorks2000.</font></td>
<td valign="top" width="30%" height="48">
<font face="Courier New" size="2">
<b>logging </b>{<i>hostname</i><b> </b>| <i>ip-address</i>}</font></td>
</tr>
<tr>
<td valign="top" width="10%" height="19"> </td>
<td valign="top" width="20%" height="19"><b>
<font face="Courier New" size="2">service timestamps log datetime</font></b></td>
<td valign="top" width="40%" height="19"><font face="Arial" size="2">
Enables log time stamps.</font></td>
<td valign="top" width="30%" height="19">
<font face="Courier New" size="2"><b>service timestamps log datetime
</b>[<b>msec</b>] [<b>localtime</b>] [<b>show-timezone</b>]</font></td>
</tr>
<tr>
<td valign="top" width="10%" height="1"></td>
<td valign="top" width="20%" height="1"><b>
<font face="Courier New" size="2">logging trap informational</font></b></td>
<td valign="top" width="40%" height="1"><font face="Arial" size="2">To
set logging severity level to level 6 or informational.</font></td>
<td valign="top" width="30%" height="1">
<b><font face="Courier New" size="2">logging trap informational</font></b></td>
</tr>
</table>
</td>
</tr>
</table>
</TD>
</tr>
</table>
</TD>
</TR>
</table>
<!-- End of Content Insertion Table -->
</td>
<td rowspan="3" background="../../index_images/contentborderback.gif"><img src="../../index_images/spacer.gif" width="10" height="1" alt="" border="0"></td>
</tr>
<!-- end main -->
<!-- buttons -->
<tr>
<td width="10" bgcolor="#ffffff"><img src="../../index_images/spacer.gif" width="10" height="1" alt="" border="0"></td>
<td width="7" bgcolor="#336666" nowrap>
<img src="../../index_images/content_downleft.gif" alt="" border="0" width="7" height="8"></td>
<td bgcolor="#336666"><!-- spacer graphic controls minimum width --><img src="../../index_images/spacer.gif" width="245" height="1" alt="" border="0"></td>
<td width="28" bgcolor="#336666"><img src="../../index_images/spacer.gif" alt="" height="8" width="1" border="0"></td>
<td bgcolor="#336666"><img src="../../index_images/spacer.gif" alt="" height="8" width="1" border="0"></td>
<td bgcolor="#336666">
<img src="../../index_images/spacer.gif" alt="" border="0" width="1" height="1"></td>
</tr>
</table>
<!-- end buttons -->
<!-- begin glossary footer -->
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr><td colspan="4"><img src="../../index_images/spacer.gif" width="1" height="17" alt=""></td></tr>
<tr><td width="13"><img src="../../index_images/spacer.gif" width="13" height="1" alt=""></td>
<td width="100%" class="featuretext" nowrap colspan="2"><a href="javascript:self.close();" class="secondarynav">
<font color="#003333" face="Arial" size="1">Close Window</font></a></td> <td><img src="../../index_images/spacer.gif" width="14" height="1" alt=""></td></tr>
<tr><td colspan="4"><img src="../../index_images/spacer.gif" width="1" height="4" alt=""></td></tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr bgcolor="#336666">
<td background="../../index_images/popup_footer_pattern.gif" bgcolor="#99cccc"><img src="../../index_images/spacer.gif" width="13" height="1" alt=""></td>
<td width="100%" colspan="2" bgcolor="#99CCCC"><img src="../../index_images/spacer.gif" width="1" height="4" alt=""></td></tr>
<tr><td background="../popup_footer_pattern.gif"><img src="../../index_images/spacer.gif" width="1" height="3" alt=""></td>
<td width="100%"><img src="../../index_images/spacer.gif" alt="" width="1" height="1"></td>
<td width="1"><img src="../../index_images/spacer.gif" alt="" width="1" height="1"></td></tr>
<tr><td><img src="../../index_images/spacer.gif" alt="" width="1" height="1"></td>
<td class="footertext" valign="top" width="100%" colspan="2"><i>
<font face="Arial" size="1">All contents
copyright � 2003 Cisco Systems, Inc. All rights reserved.</font></i></td></tr>
</table>
<!-- end glossary footer -->
|