зеркало из https://github.com/mozilla/pjs.git
355 строки
13 KiB
HTML
355 строки
13 KiB
HTML
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
<meta name="Repository" content="CCEWP">
|
|
<meta name="author" content="llgilber">
|
|
<meta name="SearchPublicationDate" content="Mon, 23 Apr 2001 19:47:00 GMT">
|
|
<meta name="FileOwner" content="llgilber">
|
|
<meta name="FileName" content="bri-back-dp.html">
|
|
<meta name="Folder" content="/warp/customer/129">
|
|
<meta name="Object_ID" content="5145770">
|
|
<meta name="Chronicle ID" content="5129194">
|
|
<meta name="Revision" content="/main/CCO/2">
|
|
<meta name="CCOCategoryType" content="Support">
|
|
<meta name="PubDate" content="Wed, 25 Apr 2001 13:14:17 GMT">
|
|
<meta name="PushDate" content="Wed, 25 Apr 2001 13:14:55 GMT">
|
|
<meta name="ParentTree" content="/warp/customer/129">
|
|
<meta name="Parents" content="/warp/customer/129">
|
|
<meta name="Language" content="US_en">
|
|
<meta http-equiv="Expires" content="4/23/02">
|
|
<meta name="Glob97" content="Internetworking:ISDN:Sample_Configs,">
|
|
<meta name="Keywords" content="BRI ddr dialer profile backup interface">
|
|
<meta http-equiv="Owner" content="llgilber@cisco.com">
|
|
<meta http-equiv="Reply-to" content="access-feedback@cisco.com">
|
|
<meta name="Subject97" content="Internetworking:ISDN:Sample_Configs">
|
|
<meta name="DocType" content="SampleConfig">
|
|
<meta name="GENERATOR" content="Mozilla/4.76 [en] (Win98; U) [Netscape]">
|
|
<title>Cisco - Configuring BRI Backup Interface with Dialer Profiles</title>
|
|
<!-- source by npanicke -->
|
|
<!-- reviewed by burgess,revieweruserid (no spaces after commas) -->
|
|
<!-- posted to CCO by llgilber on 04/23/2001 -->
|
|
<!-- updated per SMEuserid by TWuserid on MM/DD/YYYY -->
|
|
<!-- re-certified by SMEuserid and TWuserid on MM/DD/YYYY -->
|
|
</head>
|
|
<body bgcolor="#FFFFFF">
|
|
|
|
<br>This configuration uses a BRI circuit to backup a serial link. It also
|
|
uses the Open Shortest Path First (OSPF) routing protocol between the two
|
|
routers. Once the backup connection is activated, you must ensure that
|
|
the routing table is updated to use the new backup link. Only one side
|
|
(maui-soho-01) is configured to dial out. The other side (maui-nas-05)
|
|
is configured to accept the call.
|
|
<p>In this configuration we have a Cisco 1604 router connected to a Cisco
|
|
3640 router using a serial connection. Both routers are also equipped with
|
|
BRI interfaces that will be used for the backup link. The Cisco 1604 is
|
|
running Cisco IOS<sup>®</sup> Software Release 12.1(5)T and the Cisco
|
|
3640 is using Cisco IOS 12.1(2).
|
|
<p><b>Note</b>: Configure and verify that the DDR connection (dialer 1
|
|
with BRI0) is working properly before you configure the <b>backup interface</b>
|
|
and <b>backup delay</b> commands. This will allow you to effectively manage
|
|
troubleshooting dialer profiles, ISDN, Point-to-Point Protocol (PPP) and
|
|
authentication issues before you configure the backup.
|
|
<br>
|
|
<table BORDER CELLPADDING=3 WIDTH="80%" BGCOLOR="#FFFFFF" valign="TOP" >
|
|
<tr BGCOLOR="#CCCCFF">
|
|
<th><b>maui-soho-01 (1600)</b></th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td HEIGHT="1486">
|
|
<pre>maui-soho-01#<b>show running-config
|
|
</b>Building configuration...
|
|
|
|
Current configuration : 1687 bytes
|
|
!
|
|
version 12.1
|
|
no service single-slot-reload-enable
|
|
service timestamps debug datetime msec
|
|
service timestamps log datetime msec
|
|
no service password-encryption
|
|
!
|
|
hostname maui-soho-01
|
|
!
|
|
logging rate-limit console 10 except errors
|
|
aaa new-model
|
|
aaa authentication login default local
|
|
aaa authentication login NO_AUTHEN none
|
|
aaa authentication ppp default local
|
|
<i><font color="#3333FF">!--- basic AAA configuration for ppp calls
|
|
</font></i>enable secret 5 <deleted>
|
|
!
|
|
username maui-nas-05 password 0 cisco
|
|
<i><font color="#3333FF">!--- username for remote router (maui-nas-05) and
|
|
shared secret
|
|
!---(used for CHAP authentication)
|
|
!--- shared secret must be the same on both sides
|
|
</font></i>ip subnet-zero
|
|
no ip finger
|
|
!
|
|
isdn switch-type basic-ni
|
|
!
|
|
interface Loopback0
|
|
ip address 172.17.1.1 255.255.255.0
|
|
<i><font color="#3333FF">!--- The loopback address will be used by OSPF for the
|
|
router ID.
|
|
</font></i>!
|
|
interface Ethernet0
|
|
ip address 172.16.1.1 255.255.255.0
|
|
!
|
|
interface Serial0
|
|
<i><font color="#3333FF">!--- Primary Interface
|
|
</font></i> backup delay 10 30
|
|
<i><font color="#3333FF">!--- Backup link will be activated 10 seconds after
|
|
primary link
|
|
goes down.
|
|
!--- Backup link will be deactivated 30 seconds after primary
|
|
link
|
|
is restored.
|
|
</font></i> backup interface Dialer1
|
|
<i><font color="#3333FF">!--- Interface Dialer 1 will provide backup.
|
|
</font></i> ip address 192.168.10.2 255.255.255.252
|
|
encapsulation ppp
|
|
no fair-queue
|
|
clockrate 64000
|
|
ppp authentication chap
|
|
!
|
|
interface BRI0
|
|
ip unnumbered Loopback0
|
|
<i><font color="#3333FF">!--- unnumbered to the Loopback 0 address
|
|
</font></i> encapsulation ppp
|
|
dialer pool-member 10
|
|
<i><font color="#3333FF">!--- Assign BRI0 as member of dialer pool 10.
|
|
!--- Dialer pool 10 is specified in interface Dialer 1.
|
|
</font></i> isdn switch-type basic-ni
|
|
isdn spid1 51255511110101 5551111
|
|
isdn spid2 51255511120101 5551112
|
|
ppp authentication chap
|
|
<i><font color="#3333FF">!--- Use ppp chap authentication.
|
|
</font></i> ppp multilink
|
|
!
|
|
interface Dialer1
|
|
<i><font color="#3333FF">!--- Dialer 1 provides backup for the serial link.
|
|
</font></i> ip address 172.20.10.2 255.255.255.0
|
|
<i><font color="#3333FF">!--- Address for the dialer interface.
|
|
!--- The remote side dialer interface is in the same subnet.
|
|
</font></i> encapsulation ppp
|
|
dialer pool 10
|
|
<i><font color="#3333FF">!--- defines Dialer pool 10
|
|
!--- BRI 0 is a member of this pool.
|
|
</font></i> dialer remote-name maui-nas-05
|
|
<i><font color="#3333FF">!--- specifies remote router name
|
|
!--- This name must match that used by the remote router to
|
|
authenticate itself.
|
|
</font></i> dialer idle-timeout 900
|
|
<i><font color="#3333FF">!--- Idle timeout is set to 900 seconds (15 minutes).
|
|
!--- The link will be disconnected if there is no interesting
|
|
traffic for 900 secs.
|
|
!--- Since OSPF hellos are interesting traffic, this will reset
|
|
the idle timeout and
|
|
!--- cause the link to stay up until the primary link is
|
|
!--- restored.
|
|
</font></i> dialer string 5552222
|
|
<i><font color="#3333FF">!--- defines the destination routers phone number
|
|
</font></i> dialer load-threshold 80 outbound
|
|
<i><font color="#3333FF">!--- This sets the outbound load level for traffic at
|
|
which
|
|
!---additional connections will be added to the MP bundle load level.
|
|
!--- Values range from 1 (unloaded) to 255 (fully loaded). The threshold
|
|
!--- in this case is 80/255=32%.
|
|
</font></i> dialer-group 1
|
|
<i><font color="#3333FF">!--- apply interesting traffic definition from
|
|
dialer-list 1
|
|
</font></i> ppp authentication chap
|
|
<i><font color="#3333FF">!--- use ppp chap authentication
|
|
</font></i> ppp multilink
|
|
!
|
|
router ospf 5
|
|
log-adjacency-changes
|
|
network 172.16.1.0 0.0.0.255 area 0
|
|
network 172.17.1.0 0.0.0.255 area 0
|
|
network 172.20.10.0 0.0.0.255 area 0
|
|
network 192.168.10.0 0.0.0.3 area 0
|
|
!
|
|
ip classless
|
|
no ip http server
|
|
!
|
|
dialer-list 1 protocol ip permit
|
|
<i><font color="#3333FF">!--- All IP traffic is designated as interesting.
|
|
!--- This is applied to Interface Dialer 1 using dialer-group 1.
|
|
!--- OSPF hello packets will trigger the dial.
|
|
</font></i>!
|
|
line con 0
|
|
exec-timeout 0 0
|
|
login authentication NO_AUTHEN
|
|
transport input none
|
|
line vty 0 4
|
|
!
|
|
end</pre>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table BORDER CELLPADDING=3 WIDTH="80%" BGCOLOR="#FFFFFF" valign="TOP" >
|
|
<tr BGCOLOR="#CCCCFF">
|
|
<th><b>maui-nas-05 (3640)</b></th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
<pre>maui-nas-05#<b>show running-config
|
|
</b>Building configuration...
|
|
|
|
Current configuration:
|
|
!
|
|
version 12.1
|
|
service timestamps debug datetime msec
|
|
service timestamps log datetime msec
|
|
no service password-encryption
|
|
!
|
|
hostname maui-nas-05
|
|
!
|
|
aaa new-model
|
|
aaa authentication login default local
|
|
aaa authentication login NO_AUTHEN none
|
|
aaa authentication ppp default local
|
|
<i><font color="#0000FF">!--- basic AAA configuration for ppp calls
|
|
</font></i>enable secret 5 <deleted>
|
|
!
|
|
username maui-soho-01 password 0 cisco
|
|
<i><font color="#3333FF">!--- username for remote router (maui-soho-01) and
|
|
shared secret
|
|
!---(used for CHAP authentication)
|
|
!--- shared secret must be the same on both sides
|
|
</font></i>ip subnet-zero
|
|
!
|
|
isdn switch-type basic-ni
|
|
!
|
|
interface Loopback0
|
|
ip address 172.22.1.1 255.255.255.0
|
|
<i><font color="#0000FF">!--- The loopback address will be used by OSPF for the
|
|
router ID.
|
|
</font></i>!
|
|
interface Ethernet0/0
|
|
ip address 172.22.53.105 255.255.255.0
|
|
!
|
|
interface Ethernet0/1
|
|
no ip address
|
|
shutdown
|
|
!
|
|
interface BRI1/0
|
|
ip unnumbered Loopback0
|
|
<i><font color="#0000FF">!--- unnumbered to the Loopback 0 address
|
|
</font></i> encapsulation ppp
|
|
dialer pool-member 20
|
|
<i><font color="#0000FF">!--- Assign BRI0 as member of dialer pool 20.
|
|
!--- Dialer pool 20 is specified in interface Dialer 1.
|
|
</font></i> isdn switch-type basic-ni
|
|
isdn spid1 51255522220101 5552222
|
|
isdn spid2 51255522230101 5552223
|
|
ppp authentication chap
|
|
<i><font color="#0000FF">!--- Use ppp chap authentication.
|
|
</font></i> ppp multilink
|
|
!
|
|
<i><font color="#0000FF">! <<-- Unused interface configurations have been
|
|
removed.
|
|
</font></i>!
|
|
interface Serial2/0
|
|
<i><font color="#0000FF">!--- primary interface
|
|
</font></i> ip address 192.168.10.1 255.255.255.252
|
|
encapsulation ppp
|
|
no fair-queue
|
|
ppp authentication chap
|
|
!
|
|
<i><font color="#0000FF">! <<--Unused interface configurations have been
|
|
removed.
|
|
</font></i>!
|
|
interface Dialer1
|
|
<i><font color="#0000FF">!--- Dialer 1 provides backup for the serial link.
|
|
</font></i> ip address 172.20.10.1 255.255.255.0
|
|
<i><font color="#0000FF">!--- address for the dialer interface
|
|
!--- The remote side dialer interface is in the same subnet.
|
|
</font></i> encapsulation ppp
|
|
dialer remote-name maui-soho-01
|
|
<i><font color="#0000FF">!--- specifies remote router name
|
|
!--- This name must match that used by the remote router to
|
|
authenticate itself.
|
|
</font></i> dialer pool 20
|
|
<i><font color="#0000FF">!--- defines dialer pool 20
|
|
</font></i> dialer idle-timeout 900
|
|
<i><font color="#0000FF">!--- Idle timeout is set to 900 seconds (15 minutes).
|
|
!--- This is equal to the idle timeout set on maui-soho-01.
|
|
</font></i> Dialer max-call 4096
|
|
dialer-group 1
|
|
<i><font color="#0000FF">!--- apply interesting traffic definition from
|
|
dialer-list 1
|
|
</font></i> ppp authentication chap
|
|
<i><font color="#0000FF">!--- Use ppp chap authentication.
|
|
</font></i> ppp multilink
|
|
!
|
|
router ospf 5
|
|
network 172.20.10.0 0.0.0.255 area 0
|
|
network 172.22.1.0 0.0.0.255 area 0
|
|
network 172.22.53.0 0.0.0.255 area 0
|
|
network 192.168.10.0 0.0.0.3 area 0
|
|
default-information originate
|
|
<i><font color="#0000FF">!--- transmit ospf default information
|
|
!--- This may be required for remote router to use the BRI DDR
|
|
link.
|
|
</font></i>!
|
|
ip classless
|
|
ip route 0.0.0.0 0.0.0.0 Ethernet0/0
|
|
no ip http server
|
|
!
|
|
dialer-list 1 protocol ip permit
|
|
<i><font color="#0000FF">!--- All IP traffic is designated as interesting.
|
|
!--- This is applied to Interface Dialer 1 using dialer-group
|
|
1.
|
|
</font></i>!
|
|
line con 0
|
|
login authentication NO_AUTHEN
|
|
transport input none
|
|
line 97 102
|
|
line aux 0
|
|
line vty 0 4
|
|
!
|
|
end
|
|
|
|
</pre>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<h2>
|
|
<a NAME="debug"></a>Debug and Show Commands</h2>
|
|
Before issuing <b>debug</b> commands, please see <a
|
|
href="http://www.cisco.com/warp/customer/793/access_dial/debug.html">Important
|
|
Information on Debug Commands</a>.
|
|
<ul><b>show isdn status</b> - Ensure that the router is properly communicating
|
|
with the ISDN switch. In the output, verify that Layer 1 Status is ACTIVE,
|
|
and that the Layer 2 Status state = MULTIPLE_FRAME_ESTABLISHED appears.
|
|
This command also displays the number of active calls.
|
|
<p><b>show ip interface brief</b> - This will show dialer 1(on maui-soho-01)
|
|
in standby mode. Using dialer 1 as the backup interface means the physical
|
|
interface (BRI0) is not dedicated to the backup. Therefor, BRI 0 can be
|
|
used for normal DDR while the primary link is up
|
|
<p><b>debug dialer</b> - This is used to display DDR information about
|
|
the packets received on the dialer interface.
|
|
<p><b>debug isdn events</b> - This is used to see ISDN activity occurring
|
|
on the user side of the ISDN interface.
|
|
<p><b>debug isdn q931</b> - Shows call setup and tear down of the ISDN
|
|
network connection (Layer 3) between the router and the ISDN switch.
|
|
<p><b>debug ppp negotiation</b> - Displays information on PPP traffic and
|
|
exchanges while negotiating the PPP components including Link Control Protocol
|
|
(LCP), Authentication, and NCP. A successful PPP negotiation will first
|
|
open the LCP state, then Authenticate, and finally negotiate NCP.
|
|
<p><b>debug ppp authentication</b> - Displays the PPP authentication protocol
|
|
messages, including Challenge Authentication Protocol (CHAP) packet exchanges
|
|
and Password Authentication Protocol (PAP) exchanges. If you observe a
|
|
failure verify that the chap username and password are configured correctly.
|
|
<p><b>debug ppp error</b> - This is used to display protocol errors and
|
|
error statistics associated with PPP connection negotiation and operation.</ul>
|
|
<font size=-1></font>
|
|
</body>
|
|
</html>
|