📄 framelab.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>
<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><b><font size="4" color="green" face="Arial">Lab: Frame Relay</font></b></p>
<p><font face="Arial"><i>Objective</i>: To understand how
to establish a Frame Relay connection.<br>
<i>Lab Equipment</i><font color="maroon">:</font> We will be using eRouter 1 &
eRouter 2. To select eRouter 1 click on the button eRouter1 at the top of your
screen.</font></p>
<p><font face="Arial"><b><font color="#FF0000">IMPORTANT</font></b>! You will need to load a new
topology file to complete this lab. To do this you must exit the program, open
it up again and on the "Choose your Topology" screen select the third option,
"Load Simulator using saved Topology." When the open screen comes up select the frame.top file inside of your Boson
NetSim directory.</font></p>
<p> </p>
<p><font color="purple"><b>1</b>.</font> On eRouter 1,
enter global
configuration mode on eRouter 1<br></p>
<form name="form21">
<p><select size="1" name="b">
<option>- Click Here to View Answer -</option>
<option>Router>enable</option>
<option>Router#conf t</option>
<option>Router(config)#</option>
</select></p>
</form>
<p align="left"><b><font color="purple">2.</font><font color="#800080"> </font>
</b> On Router 1 change the hostname to
<font face="Terminal" size="2">R1</font><br></p>
<form name="form31">
<p><select size="1" name="ll">
<option>- Click Here to View Answer -</option>
<option>Router(config)#hostname R1</option>
<option>R1(config)#</option>
</select></p>
</form>
<p><font color="#800080"><b>3</b></font><font color="purple"><b>.</b></font>
On R1 assign an IP address of 10.1.1.1 255.255.255.0 to the Serial 0 interface.</p>
<form name="form51">
<p><font face="Courier New"><select size="1" name="1">
<option>- Click Here to View Answer -</option>
<option>R1(config)#interface Serial 0</option>
<option>R1(config-if)#ip address 10.1.1.1 255.255.255.0</option>
</select></font></p>
</form>
<p><font color="#800080"><b>4</b></font><font color="purple"><b>.</b></font>
On R1 make sure you enable the Serial 0 interface.</p>
<form name="form51">
<p><font face="Courier New"><select size="1" name="1">
<option>- Click Here to View Answer -</option>
<option>R1(config-if)#no shut</option>
</select></font></p>
</form>
<p align="left"><b><font color="purple">5.</font><font color="#800080"> </font>
</b> Now connect to eRouter 2 and change the hostname to
<font face="Terminal" size="2">R2</font><br></p>
<form name="form31">
<p><select size="1" name="f">
<option>- Click Here to View Answer -</option>
<option>Router>en</option>
<option>Router#config t</option>
<option>Router(config)#hostname R2</option>
<option>R2(config)#</option>
</select></p>
</form>
<p><font color="#800080"><b>6</b></font><font color="purple"><b>.</b></font>
On R2 assign an IP address of 10.1.1.2 255.255.255.0 to the Serial 0 interface.</p>
<form name="form51">
<p><font face="Courier New"><select size="1" name="1">
<option>- Click Here to View Answer -</option>
<option>R2(config)#interface Serial 0</option>
<option>R2(config-if)#ip address 10.1.1.2 255.255.255.0</option>
</select></font></p>
</form>
<p><font color="#800080"><b>7</b></font><font color="purple"><b>.</b></font>
On R2 make sure you enable the Serial 0 interface.</p>
<form name="form51">
<p><font face="Courier New"><select size="1" name="1">
<option>- Click Here to View Answer -</option>
<option>R2(config-if)#no shut</option>
</select></font></p>
</form>
<p><font color="#800080"><b>8</b></font><b><font color="#800080">. </font></b>
On R1 set the encapsulation for the Serial interface to Frame-Relay.
Notice how both interfaces are still down. We need to setup the frame relay
information on both interfaces so that the interfaces come up.</p>
<p><font face="Courier New"><select size="1" name="1">
<option>- Click Here to View Answer -</option>
<option>R1(config-if)#encapsulation frame-relay</option>
</select></font></p>
<p><font color="#800080"><b>9</b></font><font color="purple"><b>.</b></font><b>
</b> Next set the frame relay interface DLCI for the
connection from eRouter 1 to eRouter 2. Since we are using the default frame
network the DLCI will be <b>102</b>.</p>
<form name="forma1">
<p><font face="Courier New"><select size="1" name="1">
<option>- Click Here to View Answer -</option>
<option>R1(config-if)#frame-relay interface-dlci 102</option>
</select></font></p>
</form>
<p><font color="#800080"><b>10</b></font><b><font color="#800080">. </font></b>
On R2 set the encapsulation for the Serial interface to Frame-Relay.
Notice how both interfaces are still down. We need to setup the Frame-Relay
interface DLCI for this interface so the connection can go up.</p>
<p><font face="Courier New"><select size="1" name="1">
<option>- Click Here to View Answer -</option>
<option>R2(config-if)#encapsulation frame-relay</option>
</select></font></p>
<p><font color="#800080"><b>11</b></font><font color="purple"><b>.</b></font><b>
</b> Now set the Frame-Relay interface DLCI for the connection
from eRouter 2 to eRouter 1. Since we are using the default frame network
the DLCI will be <b>201</b>.</p>
<form name="forma1">
<p><font face="Courier New"><select size="1" name="1">
<option>- Click Here to View Answer -</option>
<option>R2(config-if)#frame-relay interface-dlci 201</option>
</select></font></p>
</form>
<p><b><font color="#800080">12.</font></b> You should have seen the output from
the router saying that the DLCI changed to state ACTIVE. This means we have
established a connection from our eRouter 1 through the Frame Relay switch to
eRouter 2. Verify that you have your configuration setup correctly by
first trying to ping the serial 0 ip address on eRouter 1. Next we will be using
the frame relay show commands for the proof that our connection is active.
The first command we will look at is <font face="Terminal" size="2">show
frame-relay lmi</font>. This command shows the LMI traffic that has been exchanged from
our Router and the Frame-Relay Switch. </p>
<form name="forma1">
<p><font face="Courier New"><select size="1" name="1">
<option>- Click Here to View Answer -</option>
<option>R2(config-if)#exit</option>
<option>R2(config)#exit</option>
<option>R2#ping 10.1.1.1</option>
<option>R2#show frame-relay lmi</option>
</select></font></p>
</form>
<p><font color="#800080"><b>13.</b></font> The next command is show
<font face="Terminal" size="2">frame-relay
traffic</font>. This command shows the global frame-relay statistics since the last
reload of the router.</p>
<form name="forma1">
<p><font face="Courier New"><select size="1" name="1">
<option>- Click Here to View Answer -</option>
<option>R2#show frame-relay traffic</option>
</select></font></p>
</form>
<p><font color="#800080"><b>14.</b></font> The command
<font face="Terminal" size="2">show frame-relay map</font> will
show the mappings of the layer 2 DLCI to the Layer 3 IP address. Later on we
will see that you can add your own mappings into this table using the
<font face="Terminal" size="2">frame-relay map command</font>.</p>
<form name="forma1">
<p><font face="Courier New"><select size="1" name="1">
<option>- Click Here to View Answer -</option>
<option>R2#Show frame-relay map</option>
</select></font></p>
</form>
<p><font color="#800080"><b>15. </b></font> The command show frame-relay
PVC will
display all of the Permanent Virtual Circuit (PVC) mappings for the router.
These mappings are only locally significant between the router and the frame-relay
switch.</p>
<form name="forma1">
<p><font face="Courier New"><select size="1" name="1">
<option>- Click Here to View Answer -</option>
<option>R2#show frame-relay pvc</option>
</select></font></p>
</form>
<p> </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 + -