⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sysloglab.htm

📁 BOSON NETSIM是目前最好的路由器模拟软件
💻 HTM
字号:
<html>

<head>
<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>Cisco Discovery Protocol Lab</title>
</head>

<body>



<p><font face="Arial"><b><font size="4" color="green">Lab: &nbsp;</font></b><font size="4" color="#008000"><b>Syslog 
Logging Lab</b></font></font></p>

<script language="Javascript">
<!--
 
function printpage() {
  if (window.print)
    window.print()
  else
    alert("Sorry, your browser doesn't support this feature.");
}
 
//-->
</script>
<FORM>
<INPUT TYPE="button" VALUE="Print this page" onClick="printpage()">
</FORM>

<p><font face="Arial" size="2"><i>Objective</i>: &nbsp;&nbsp;To understand how 
to setup logging to a Syslog server<br>
<i>Lab Equipment</i><font color="maroon">:</font> &nbsp;&nbsp;We will be using  eRouter 1.&nbsp; To 
select  eRouter 1 click 
on the button &quot;eRouter1&quot; at the top of your screen. &nbsp;Connect to &quot;eRouter 1&quot; 
now. You can always use the Tile button to view multiple windows at once.</font></p>
<font face="Times New Roman">
<p><font color="#FF00FF"><b>1.</b></font>&nbsp; This lab is very easy yet very important for the CCIE certification.&nbsp; 
What you will do is setup the router to log certain messages to a syslog server 
somewhere on your network.&nbsp; Syslog enables you to centrally log your 
configuration events and error messages such as interface status and security 
alerts.&nbsp; You can also use Syslog to capture client output in real-time.&nbsp; </p>
<p>Since we do not have a syslog server we will assume there is one running on 
our network with the ip address 200.134.23.10 with subnet 255.255.255.0.&nbsp; The first thing you need to 
do is set an ip address on your eRouter 1 Ethernet 0 interface. </p>
</font>

<font face="Arial, Helvetica">
<p><font face="Courier New"><select size="1" name="name">
    <option>- Click Here to View Answer -</option>
    <option>Router&gt;enable</option>
    <option>Router#</option>
    <option>Router#conf t</option>
    <option>Router(config)#hostname eRouter1</option>
    <option>eRouter1(config)#interface E0</option>
    <option>eRouter1(config)#</option>
    <option>eRouter1(config-if)#ip address 200.134.23.1 255.255.255.0</option>
    <option>eRouter1(config-if)#no shut</option>
    <option>eRouter1(config-if)#exit</option>
    </select></font><br>
<br>
</font>

<font face="Times New Roman">
<b><font color="#FF00FF">2.</font></b> Now you will need to tell the router the address of the syslog server.&nbsp; 
What command would do this?</p>
</font>

<font face="Arial, Helvetica">
<p><font face="Courier New"><select size="1" name="name">
    <option>- Click Here to View Answer -</option>
    <option>eRouter1(config)#logging 200.134.23.10</option>
    </select></font></p>
</font>

<font face="Times New Roman">
<p><font color="#FF00FF"><b>3.</b></font> Now that we have setup the syslog's IP address we need to tell it what 
level of messages to log.&nbsp; When I mention level I mean the severity of 
messages that we should log on the Syslog server. I have included a table below 
to show the most common levels.</p>
</font>

<font face="Arial, Helvetica">
<div style="border-left:medium none; border-right:medium none; border-top:medium none; border-bottom:1.5pt solid windowtext; width:741; height:17; padding-left:0in; padding-right:0in; padding-top:0in; padding-bottom:1.0pt">
  <p class="MsoNormal" style="border: medium none; padding: 0in">
  <span style="font-size:10.0pt;
font-family:&quot;Courier New&quot;">&nbsp;</span></div>
<div style="border-left:medium none; border-right:medium none; border-top:medium none; border-bottom:1.5pt solid windowtext; width:732; height:297; padding-left:0in; padding-right:0in; padding-top:0in; padding-bottom:1.0pt">
  <p class="MsoNormal" style="border: medium none; padding: 0in">
  <span style="font-family:&quot;Times New Roman&quot;">!</span></font><font face="Terminal" size="2"> 
  When the history level is set each lower level is also logged</p>
</font>

<font face="Arial, Helvetica">
  <p class="MsoNormal" style="border: medium none; padding: 0in">
  <span style="font-family:&quot;Terminal&quot;"><font size="2">! emergencies&nbsp;&nbsp;&nbsp; System is 
  unusable&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (severity=0)</font></span></p>
  <p class="MsoNormal" style="border: medium none; padding: 0in">
  <span style="font-family:&quot;Terminal&quot;"><font size="2">! alerts&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Immediate action 
  needed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (severity=1)</font></span></p>
  <p class="MsoNormal" style="border: medium none; padding: 0in">
  <span style="font-family:&quot;Terminal&quot;"><font size="2">! critical&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Critical 
  conditions&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (severity=2)</font></span></p>
  <p class="MsoNormal" style="border: medium none; padding: 0in">
  <span style="font-family:&quot;Terminal&quot;"><font size="2">! errors&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Error 
  conditions&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (severity=3)</font></span></p>
  <p class="MsoNormal" style="border: medium none; padding: 0in">
  <span style="font-family:&quot;Terminal&quot;"><font size="2">! warnings&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Warning 
  conditions&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (severity=4)</font></span></p>
  <p class="MsoNormal" style="border: medium none; padding: 0in">
  <span style="font-family:&quot;Terminal&quot;"><font size="2">! notifications&nbsp; Normal but significant conditions 
  (severity=5)</font></span></p>
  <p class="MsoNormal" style="border: medium none; padding: 0in">
  <span style="font-family:&quot;Terminal&quot;"><font size="2">! informational&nbsp; Informational 
  messages&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (severity=6)</font></span></p>
  <p class="MsoNormal" style="border: medium none; padding: 0in">
  <span style="font-family:&quot;Terminal&quot;"><font size="2">! debugging&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Debugging 
  messages&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (severity=7)</font></span></div>
</font>

<font face="Times New Roman">
<p>For our router we will be using a history level of errors.</p>
</font>

<font face="Arial, Helvetica">
<p><font face="Courier New"><select size="1" name="name">
    <option>- Click Here to View Answer -</option>
    <option>eRouter2(config)#logging history errors</option>
    </select></font></p>
</font>

<font face="Times New Roman">
<p><font color="#FF00FF"><b>4.</b></font> One more thing we need to do is assign our router to a group of routers 
all using the same Syslog server.&nbsp; To do this we will assign ourselves to a 
facility of <b>local4</b>.</p>
</font>

<font face="Arial, Helvetica">
<p><font face="Courier New"><select size="1" name="name">
    <option>- Click Here to View Answer -</option>
    <option>eRouter1(config)#logging facility local4</option>
    </select></font></p>
</font>

<font face="Times New Roman">
<p><font color="#FF00FF"><b>5. </b></font>Now we have entered all information we need to setup the router to log to 
a syslog server.&nbsp; You can verify the information was entered by viewing the 
running configuration.</p>
</font>

<font face="Arial, Helvetica">
<p><font face="Courier New"><select size="1" name="name">
    <option>- Click Here to View Answer -</option>
    <option>eRouter1#show run</option>
    </select></font></p>
</font>

<p><font face="Arial" size="2"><span class="724482219-24092001">Copyright (c) 
1998-2003 Boson Software, Inc.&nbsp; All Rights Reserved.</span></font></p>

</body>

</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -