📄 5000lab.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>HOME LESSON</title>
</head>
<body>
<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, Arial, Helvetica" color="#008000" size="4"><b>Lab: Introduction to Basic Commands</b></font></p>
<p><font face="Arial, Arial, Helvetica"><i>Objective</i>: Basic configuration of
the 5002 switch<br>
<i>Lab Equipment</i>: We will be using "eSwitch 2". To select "eSwitch
2" click
on the button labeled eSwitch and select eSwitch 2.</font></p>
<p><font color="#FF00FF">1.</font> A Catalyst 5002 switch starts out by asking
you for your password. By default the password is nothing so you would
just press the return key.</p>
<p><select size="1" name="D1">
<option selected>- Click here to View Answer</option>
<option>Enter password:</option>
</select></p>
<p><font color="#FF00FF">2.</font> We wish to view the list of all commands
available to us. This is where we encounter our first difference with the
Catalyst 5000 series. The help system still uses the "?" but you have to
press enter to get a response.</p>
<p><select size="1" name="D1">
<option selected>- Click here to View Answer</option>
<option>? <enter></enter>
</option>
<option>Console></option>
</select></p>
<p><font color="#FF00FF">3.</font> Now enter Privilege mode. This is the mode that lets you have total
control of the switch.</p>
<p><select size="1" name="D1">
<option selected>- Click here to View Answer -</option>
<option>Console>enable</option>
<option>Enter Password:</option>
<option>Enter Password: <enter></enter>
</option>
<option>Console> (enable)</option>
</select><b><span style="FONT-FAMILY: 'Courier New'"><strong><font color="#0000ff"></O:P>
</font></strong></span></b></p>
<p><font color="#FF00FF">4.</font> View the available commands in Privilege mode.</p>
<p><select size="1" name="D1">
<option selected>- Click here to View Answer</option>
<option>Console> (enable) ? <enter></enter>
</option>
</select></p>
<p><font color="#FF00FF">5.</font> Now that we have entered Privilege mode we
can use our "set" commands to configure the switch.</p>
<p><select size="1" name="D1">
<option selected>- Click here to View Answer -</option>
<option>Console> (enable) set ? <enter></enter>
</option>
</select></p>
<p><font color="#FF00FF">6. </font> The <i>Host Name</i> is used for local identification. When
you log into the switch you see the <i>Host Name</i> in front of the prompt.<span style="mso-spacerun: yes"> </span>This can be used to
identify the location or function of the switch. Set your eSwitch's hostname to
<b>Boson</b>. What command do you use to
configure the hostname?</p>
<p><select size="1" name="D1">
<option selected>- Click here to View Answer -</option>
<option>Console> (enable) set system name boson</option>
<option>Boson> (enable)</option>
</select></p>
<p><font color="#FF00FF">7.</font> There are two passwords that control
different levels of the switch. There is a password that controls access
to the switch, and there is an "enablepass" that controls access to the privilege
mode of the switch. Lets start by checking how the password works.
To set the basic password use the command <font face="Terminal" size="2">set password</font>. The switch will
ask what your current password is, if you have not created one then it is
nothing so just press return. Next it will ask you for the new password and then
ask you to confirm it. As you can see this is a much more secure way of changing
passwords than the methods with the other devices. Set your password to <b>boson</b>.</p>
<p><select size="1" name="D1">
<option selected>- Click here to View Answer</option>
<option>Boson> (enable) set password</option>
<option>Enter old password:</option>
<option>Enter new password:</option>
<option>Retype new password:</option>
</select></p>
<p><font color="#FF00FF">8.</font> Let's test this password. Exit out of the
switch and try your new password.</p>
<p><select size="1" name="D1">
<option selected>- Click here to View Answer</option>
<option>Boson> (enable) exit</option>
<option>Enter Password:</option>
</select></p>
<p><font color="#FF00FF">9.</font><font color="#0000ff"> </font>That password
will protect from connecting to your switch. The next password "enablepass" will protect from people configuring your switch. This password is
set the same way as the password was. Set your "enablepass" to <b>fun</b>.</p>
<p><select size="1" name="D1">
<option selected>- Click here to View Answer</option>
<option>Boson> (enable) set enablepass</option>
<option>Enter old password:</option>
<option>Enter new password:</option>
<option>Retype new password:</option>
</select></p>
<p><font color="#FF00FF">10.</font> You can now test this password by going back
to user mode in the switch (using the command disable) and then typing the
command <font face="Terminal" size="2">enable</font>. </p>
<p><select size="1" name="D1">
<option selected>- Click here to View Answer</option>
<option>Boson> (enable) exit</option>
<option>Boson></option>
<option>Boson>enable</option>
<option>Enter Password:</option>
<option>Boson> (enable)</option>
</select></p>
<p><font color="#FF00FF">11.</font> For extra practice change your passwords
again.</p>
<p><font face="Arial" size="2"><span class="724482219-24092001">Copyright (c)
1998-2003 Boson Software, Inc. All Rights Reserved.</span></font></p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -