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

📄 isdnlab.htm

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

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 6.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><font face="Arial"><b><font size="4" color="green">Lab: &nbsp;</font></b><font size="4" color="#008000"><b>ISDN</b></font></font><font color="#008000" size="4" face="Arial">: 
Integrated Services Digital Network</font></p>
<p><font face="Arial"><i>Objective</i>: &nbsp;&nbsp;To understand how 
to setup ISDN on Cisco Routers.<br>
<i>Lab Equipment</i>: &nbsp;&nbsp;We will be using eRouter 1 &amp; eRouter 2 &nbsp;To select 
eRouter 1 click on the button eRouter1 at the top of your screen. </p>
</font>
<font face="Times New Roman">
<p><font color="#FF00FF"><b>1.</b></font>&nbsp; Setup the connection between eRouter 1 (hostname eRouter1), and Router 
2 (hostname eRouter2) using the BRI ports. eRouter 1 will have an IP address of 
<b>42.34.10.1</b> with a 
<b>255.0.0.0</b> subnet mask .&nbsp; </p>
</font>

<font face="Arial, Helvetica">
<p><font face="Arial"><select size="1" name="name">
    <option>- Click Here to View Answer -</option>
    <option>Router>enable</option>
    <option>Router#conf t</option>
    <option>Router(config)#hostname eRouter1</option>
    <option>eRouter1(config)#interface BRI0</option>
    <option>eRouter1(config-if)#ip address42.34.10.1 255.0.0.0</option>
    <option>eRouter1(config-if)#no shut</option>
    <option>eRouter1(config-if)#end</option>
    </select></font></p>
</font>

<font face="Times New Roman">
<p>Now connect to eRouter 2 by clicking on the eRouter 2 button and give it an IP address of 
<b>42.34.10.121</b> with a <b>255.0.0.0</b> subnet mask.</p>
</font>

<font face="Arial, Helvetica">
<p><font face="Arial"><select size="1" name="name">
    <option>- Click Here to View Answer -</option>
    <option>Router enable</option>
    <option>eRouter#conf t</option>
    <option>eRouter(config)#hostname eRouter2</option>
    <option>eRouter2(config)#interface BRI0</option>
    <option>eRouter2(config-if)#ip address 42.34.10.121 255.0.0.0</option>
    <option>eRouter2(config-if)#no shut</option>
    <option>eRouter2(config-if)#end</option>
    </select></font></p>
<font face="Times New Roman">
<p><font color="#FF00FF"><b>2.</b></font>
Lets go back to eRouter 1 and start to setup ISDN.&nbsp; The first thing we need 
to do is specify the ISDN switch we will be using.&nbsp; If you used the 
defaults the switch-type is basic-ni. There are two different places you can 
tell the router what ISDN switch-type you are using, you can specify the command 
globally for all BRI interfaces on the router, or you can make the switch-type 
interface specific.&nbsp; We are going to make it global, so now enter the 
switch-type globally on your router.</p>
</font>

<p><font face="Arial"><select size="1" name="name">
    <option>- Click Here to View Answer -</option>
    <option>eRouter1#conf t</option>
    <option>eRouter1(config)#isdn switch-type basic-ni</option>
    </select></font></p>
</font>

<font face="Times New Roman">
<p><b><font color="#FF00FF">3.</font></b> We will need to give some specific information to this BRI 
interface.&nbsp; The first thing we will give it is the ISDN SPID (Service Profile 
Identifier).&nbsp; The SPID needs to be set on your BRI interface with the
</font>

<font face="Terminal" size="2">
isdn 
spid1</font><b><font face="Times New Roman">
</font>

</b>

<font face="Times New Roman">
command.&nbsp; <a name="18392">A </a><a name="19287">SPID is a number 
supplied by the ISP to identify the</a><a name="19288"> line configuration of 
the BRI service. Each SPID points to line setup and configuration information on 
the ISP's ISDN switch.&nbsp; If you used the defaults for the ISDN Switch your 
SPID for eRouter 1 will be 32177820010100.</a></p>
</font>

<font face="Arial">
<p><a name="19288">&nbsp;</a><select size="1" name="name">
    <option>- Click Here to View Answer -</option>
    <option>eRouter1(config)#interface Bri 0</option>
    <option>eRouter1(config-if)#isdn spid1 32177820010100</option>
    </select></p>
</font>

<font face="Times New Roman">
<p><font color="#FF00FF"><b>4.</b></font> Now that you have setup the switch-type and SPID you should have layer 1 
connectivity.&nbsp; Layer 1 connectivity is the establishment of connectivity 
between the ISDN switch and the router.&nbsp; To verify you have layer 1 
connectivity use the
</font>

<font face="Terminal" size="2">
show isdn status</font><font face="Times New Roman">
command and make sure you have Multi-Frame 
Established in layer 2.</p>
</font>

<font face="Arial">
<p><select size="1" name="name">
    <option>- Click Here to View Answer -</option>
    <option>eRouter1(config-if)#exit</option>
    <option>eRouter1(config)#exit</option>
    <option>eRouter1#show isdn status</option>
    </select></p>
</font>

<p><font face="Times New Roman"><b><font color="#FF00FF">5.</font></b> Now&nbsp; we want to setup the number we will need to 
dial on the ISDN switch to establish a layer 3 connection, this is called the 
dialer string.&nbsp; Set the dialer string on your eRouter 1 BRI 0, if you are 
using the default configuration use &quot;<b>7782001</b>&quot;</font></p>
<p><font face="Arial"><select size="1" name="name">
    <option>- Click Here to View Answer -</option>
    <option>eRouter1#config t</option>
    <option>eRouter1(config)#interface bri 0</option>
    <option>eRouter1(config-if)#dialer string 7782001</option>
    </select></font></p>
<p><font face="Times New Roman"><b><font color="#FF00FF">6.</font></b> Because ISDN costs money when the connection is up 
we only want to have an active connection when we are using it.&nbsp; There are 
multiple ways of doing this, we will be using dialer groups and dialer lists.&nbsp; 
A dialer list is a list either permitting or denying traffic.&nbsp; This means 
we will specify a dialer-list of <i>protocol ip permit</i>.&nbsp; What that means is 
any IP traffic will be permitted.&nbsp; To setup a dialer list use the command 
dialer-list in the global config mode.&nbsp; </font></p>
<p><font face="Arial"><select size="1" name="name">
    <option>- Click Here to View Answer -</option>
    <option>eRouter1(config-if)#exit</option>
    <option>eRouter1(config)#dialer-list 1 protocol ip permit</option>
    </select></font></p>
<p><font face="Times New Roman"><font color="#FF00FF"><b>7.</b></font> Now we have a dialer-list but we have not associated 
that list with any interfaces.&nbsp; We will need to add that list to our ISDN 
BRI interface using the dialer-group command. </font></p>
<p><font face="Arial"><select size="1" name="name">
    <option>- Click Here to View Answer -</option>
    <option>eRouter1(config)#interface bri 0</option>
    <option>eRouter1(config-if)#dialer-group 1</option>
    </select></font></p>
<p><font face="Times New Roman">Lets go over what we have done again:</font></p>
<p><font face="Times New Roman">&nbsp;&nbsp;&nbsp; 1. First we told the router what type 
of ISDN switch it would be connecting to.<br>
&nbsp;&nbsp;&nbsp; 2. Second we specified the SPID we will be using to 
communicate with the ISDN switch.<br>
&nbsp;&nbsp;&nbsp; 3. Third we told the router what number it will be dialing to 
connect with the other router.<br>
&nbsp;&nbsp;&nbsp; 4. Fourth we created a global dialer list to allow our IP 
traffic<br>
&nbsp;&nbsp;&nbsp; 5. Then we associated the dialer list with our ISDN BRI 0 
interface using the Dialer-group command.</font></p>
<p><font face="Times New Roman"><font color="#FF00FF"><b>8.</b></font> Now we have setup ISDN on eRouter 1 we need to do the 
same steps for eRouter 2, but with some slight modifications.&nbsp; Below is&nbsp;a&nbsp;summary of what we did for 
eRouter 1.&nbsp; </font></p>
<p><font face="Times New Roman">&nbsp;&nbsp;&nbsp; 1. We specified the ISDN switch we would be 
connecting to (Basic-ni).<br>
&nbsp;&nbsp;&nbsp; 2. We specified the SPID we will be using to communicate with the 
ISDN switch (32177820010100).<br>
&nbsp;&nbsp;&nbsp; 3. We told the router what number it dials in order to connect 
with the other router (7782001).<br>
&nbsp;&nbsp;&nbsp; 4.&nbsp; We created a global dialer list to allow our IP 
traffic<br>
&nbsp;&nbsp;&nbsp; 5. Then we associated the dialer list with our ISDN BRI 0 
interface using the Dialer-group command.</font></p>
<p align="left"><font face="Times New Roman"><font color="#FF00FF"><b>9.</b></font> Now connect to eRouter 2 using the button 
at&nbsp; the top labeled eRouter 2.&nbsp; The first thing we need to do is 
specify the ISDN switch we will be using.&nbsp; If you used the defaults the 
switch-type is basic-ni.&nbsp; Enter the switch-type globally on your router.</p>
</font>
<font face="Arial, Helvetica">
<p><font face="Times New Roman"><select size="1" name="name">
    <option>- Click Here to View Answer -</option>
    <option>Router#conf t</option>
    <option>Router(config)#hostname eRouter2</option>
    <option>eRouter2(config)#isdn switch-type basic-ni</option>
    </select></font></p>
</font>

<font face="Times New Roman">
<p><b><font color="#FF00FF">10.</font></b>&nbsp; Next we will need to give the SPID for this interface.
<a name="19288">&nbsp;If you used the defaults for the ISDN Switch your SPID for 
eRouter 2 will be 32177820020100.</a></p>
<p><a name="19288">&nbsp;</a><select size="1" name="name">
    <option>- Click Here to View Answer -</option>
    <option>eRouter2(config)#interface Bri 0</option>
    <option>eRouter2(config-if)#isdn spid1 32177820020100</option>
    </select></p>
<p><font color="#FF00FF"><b>11.</b></font> Now that you have setup the switch-type and SPID 
you should have layer 1 connectivity.&nbsp; To verify that you have layer 1 
connectivity use the
</font>

<font face="Terminal" size="2">
show isdn status</font><font face="Times New Roman">
command and make sure you have Multi-Frame Established in layer 1.</p>
<p><select size="1" name="name">
    <option>- Click Here to View Answer -</option>
    <option>eRouter2(config-if)#exit</option>
    <option>eRouter2(config)#exit</option>
    <option>eRouter2#show isdn status</option>
    </select></p>
</font>

<p><font face="Times New Roman"><b><font color="#FF00FF">12.</font></b> Now&nbsp; we want to setup the number we will need to 
dial on the ISDN switch to establish a layer 3 connection, this is called the 
dialer string.&nbsp; Set the dialer string on your eRouter 2 BRI 0.&nbsp; If you are 
using the default configuration use &quot;7782002&quot;</font></p>
<p><font face="Times New Roman"><select size="1" name="name">
    <option>- Click Here to View Answer -</option>
    <option>eRouter2#config t</option>
    <option>eRouter2(config)#interface bri 0</option>
    <option>eRouter2(config-if)#dialer string 7782002</option>
    </select></font></p>
<p><font face="Times New Roman"><b><font color="#FF00FF">13.</font></b> Setup a 
dialer-list on your eRouter 2 to permit all IP traffic.&nbsp; To setup a dialer 
list use the command </font><font face="Terminal" size="2">dialer-list</font><font face="Times New Roman"> in the Global Config mode.&nbsp; </font></p>
<p><font face="Times New Roman"><select size="1" name="name">
    <option>- Click Here to View Answer -</option>
    <option>eRouter2(config-if)#exit</option>
    <option>eRouter2(config)#dialer-list 1 protocol ip permit</option>
    </select></font></p>
<p><font face="Times New Roman"><b><font color="#FF00FF">14. </font></b>Now we have a dialer-list but we have not associated 
that list with any interfaces.&nbsp; We will need to add that list to our ISDN 
BRI interface using the dialer-group command. </font></p>
<p><font face="Times New Roman"><select size="1" name="name">
    <option>- Click Here to View Answer -</option>
    <option>eRouter2(config)#interface bri 0</option>
    <option>eRouter2(config-if)#dialer-group 1</option>
    </select></font></p>
<p><font face="Times New Roman"><b><font color="#FF00FF">15.</font></b> If we have both Routers configured for ISDN lets see 
if we can ping the other side.&nbsp; From eRouter 2 you want to ping eRouter 1's BRI 0 interface (IP address 42.34.10.1)</font></p>
<p><font face="Times New Roman"><select size="1" name="name">
    <option>- Click Here to View Answer -</option>
    <option>eRouter2(config-if)#exit</option>
    <option>eRouter2(config)#exit</option>
    <option>eRouter2#ping 42.34.10.1</option>
    </select></font></p>
<p><font face="Times New Roman"><b><font color="#FF00FF">16.</font></b> If you 
have a successful ping, Congratulations you have ISDN working.&nbsp; Verify this 
with the </font><font face="Terminal" size="2">show isdn status</font><font face="Times New Roman"> command. </font></p>
<p><font face="Times New Roman"><select size="1" name="name">
    <option>- Click Here to View Answer -</option>
    <option>eRouter2#show isdn status</option>
    </select></font></p>
<p><font face="Times New Roman">Look at your layer 3 settings, it should say you have 1 
Active layer 3 Call, you can also see in layer 2 that your SPID is valid. This 
is good for troubleshooting.</font></p>
<p><font face="Times New Roman"><b><font color="#FF00FF">17.</font></b> You can also view your settings in your 
<i>running-config</i>.</font></p>
<p><font face="Times New Roman"><select size="1" name="name">
    <option>- Click Here to View Answer -</option>
    <option>eRouter2#show running-config</option>
    </select></font></p>
<p>&nbsp;</p>
<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 + -