|
|
This chapter describes how to configure the Bandwidth Allocation Control Protocol (BACP), described in RFC 2125. It includes the following main sections:
For a complete description of the PPP BACP commands in this chapter, refer to the Cisco IOS Dial Services Command Reference publication. To locate documentation of other commands that appear in this chapter, use the command reference master index or search online.
The BACP provides Multilink PPP (MLP) peers with the ability to govern link utilization. Once peers have successfully negotiated BACP, they can use the Bandwidth Allocation Protocol (BAP), which is a subset of BACP, to negotiate bandwidth allocation. BAP provides a set of rules governing dynamic bandwidth allocation through call control; a defined method for adding and removing links from a multilink bundle for Multilink PPP is used.
BACP provides the following benefits:
For simplicity, the remaining text of this chapter makes no distinction between BACP and BAP; only BACP is mentioned.
PPP BACP can be configured to operate in the following ways:
A virtual or dialer interface must be configured either to make call requests or to make callback requests, but cannot be configured to do both.
BACP supports only ISDN and asynchronous serial interfaces.
Before you configure BACP on an interface, determine the following important information. The router might be unable to connect to a peer if this information is incorrect.
BACP can be configured on a virtual template interface or on a dialer interface (including dialer rotary groups and ISDN interfaces).
To configure BACP on a selected interface or interface template, perform the following tasks in the order listed:
![]() |
Note You can configure one interface in passive mode and another in active mode so that one interface accepts incoming call requests and makes callback requests (passive mode), and the other interface makes call requests and accepts callback requests (active mode). A dialer or virtual template interface should be configured to reflect the required dial capability of the interface. A dial-in pool (in passive mode) might have no requirement to dial out but might want remote users to add multiple links, with the remote user incurring the cost of the call. Similarly, a dial-out configuration (active mode) suggests that the router is a client, rather than a server, on that link. The active-mode user incurs the cost of additional links. |
You might need to configure a base telephone number, if it is applicable to your dial-in environment. This number is one that remote users can dial to establish a connection. Otherwise, individual PPP BACP links might need numbers. Information is provided in the task lists for configuring passive mode or active mode PPP BACP. See the ppp bap number command options in the task lists.
You can also troubleshoot BACP configuration and operations and monitor interfaces configured for PPP BACP. See the "Troubleshooting BACP" and "Monitoring and Maintaining Interfaces Configured for BACP" sections for later in this chapter for details.
See the section "BACP Configuration Examples" at the end of this chapter for examples of PPP BACP configuration.
or Enables PPP BACP bandwidth allocation negotiation. Enables PPP BACP bandwidth allocation negotiation and enforces mandatory negotiation of BACP for the multilink bundle.
Command
Purpose
ppp multilink bap
ppp multilink bap required
When PPP BACP is enabled, it is in passive mode by default and the following settings are in effect:
The default settings will be in effect in the environment for which the ppp multilink bap command is entered:
See the section "Basic BACP Configurations" at the end of this chapter for an example of how to configure BACP.
| Command | Purpose |
|---|---|
ppp bap timeout pending seconds | Modifies the timeout on pending actions. |
ppp bap timeout response seconds | Modifies the timeout on not receiving a response from a peer. |
ppp bap max dial-attempts number | Modifies the number of attempts to call a number. |
ppp bap max ind-retries number | Modifies the number of times to send a call status indication. |
ppp bap max req-retries number | Modifies the number of retries of a particular request. |
ppp bap max dialers number | Modifies the maximum number of free dialers logged. |
ppp bap link types analog | Specifies that only analog links can be added to a multilink bundle. Allows both ISDN and analog links to be added. |
ppp bap number default phone-number | For all DDR-capable interfaces in the group, specifies a primary telephone number for the peer to call for PPP BACP negotiation, if different from any base number defined on the dialer interface or virtual template interface. |
ppp bap number secondary phone-number | For BRI interfaces on which a different number is provided for each Bchannel, specifies the secondary telephone number. |
ppp bap drop timer seconds | Specifies a time to wait between outgoing link drop requests. |
no ppp bap monitor load | Disables the default monitoring of load and the validation of peer requests against load thresholds. |
See the section "Passive Mode Dialer Rotary Group Members with One Dial-In Number" later in this chapter for an example of how to configure passive mode parameters.
| Command | Purpose |
|---|---|
ppp bap call request | Enables the interface to initiate the addition of links to the multilink bundle. |
ppp bap callback accept | Enables the interface to initiate the addition of links upon peer request. |
ppp bap drop after-retries | Enables the interface to drop a link without negotiation after receiving no response to retries to send a drop request. |
ppp bap call timer seconds | Sets the time to wait between outgoing call requests. |
ppp bap timeout pending seconds | Modifies the timeout on pending actions. |
ppp bap timeout response seconds | Modifies the timeout on not receiving a response from a peer. |
ppp bap max dial-attempts number | Modifies the number of attempts to call a number. |
ppp bap max ind-retries number | Modifies the number of times to send a call status indication. |
ppp bap max req-retries number | Modifies the number of retries of a particular request. |
ppp bap max dialers number | Modifies the maximum number of free dialers logged. |
ppp bap link types analog | Specifies that only analog links can be added to a multilink bundle.
Allows both ISDN and analog links to be added. |
ppp bap number default phone-number | For all DDR-capable interfaces in the group, specifies a primary telephone number for the peer to call for PPP BACP negotiation, if different from any base number defined on the dialer interface or virtual template interface. |
ppp bap number secondary phone-number | For BRI interfaces on which a different number is provided for each B channel, specifies the secondary telephone number. |
To monitor interfaces configured for PPP BACP, use any of the following commands in EXEC mode:
| Command | Purpose |
|---|---|
show ppp bap group [name] | Displays information about all PPP BACP multilink bundle groups or a specific, named multilink bundle group. |
show ppp bap queues | Displays information about the BACP queues. |
show ppp multilink | Displays information about the dialer interface, the multilink bundle, and the group members. |
show dialer | Displays BACP numbers dialed and the reasons for the calls. |
show dialer map | Displays configured dynamic and static dialer maps and dynamically created BACP temporary static dialer maps. |
To troubleshoot the BACP configuration and operation, use the following debug commands:
This section provides the following configuration examples:
The following example configures an ISDN BRI interface for BACP to make outgoing calls and prevent the peer from negotiating link drops:
interface bri 0 ip unnumbered ethernet 0 dialer load-threshold 10 either dialer map ip 172.21.13.101 name bap-peer 12345668899 encapsulation ppp ppp multilink bap ppp bap call request ppp bap callback accept no ppp bap call accept no ppp bap drop accept ppp bap pending timeout 30 ppp bap number default 5664567 ppp bap number secondary 5664568
The following example configures a dialer rotary group to accept incoming calls:
interface async 1 no ip address encapsulation ppp dialer rotary-group 1 ppp bap number default 5663456 ! ! Set the bandwidth to suit the modem/line speed on the remote side. interface bri 0 no ip address bandwidth 38400 encapsulation ppp dialer rotary-group 1 ppp bap number default 5663457 ! interface bri 1 no ip address encapsulation ppp dialer rotary-group 1 ppp bap number default 5663458 ! interface dialer1 ip unnumbered ethernet 0 encapsulation ppp ppp multilink bap ppp bap call accept ppp bap link types isdn analog dialer load threshold 30 ppp bap timeout pending 60
The following example configures a virtual template interface to use BACP in passive mode:
multilink virtual-template 1 ! interface virtual-template 1 ip unnumbered ethernet 0 encapsulation ppp ppp multilink bap ppp authentication chap callin
The bundle is created from any MMP-capable interface.
The following example creates a bundle on a BRI interface:
interface bri 0 no ip address encapsulation ppp ppp multilink ppp bap number default 4000 ppp bap number secondary 4001
The following example configures a dialer rotary group that has four members, each with a different number, and that accepts incoming dial attempts. The dialer interface does not have a base phone number; the interface used to establish the first link in the multilink bundle will provide the appropriate number from its configuration.
interface bri 0 no ip address encapsulation ppp dialer rotary-group 1 no fair-queue no cdp enable ppp bap number default 6666666 ! interface bri 1 no ip address encapsulation ppp dialer rotary-group 1 no fair-queue no cdp enable ppp bap number default 6666667 ! interface bri 2 no ip address encapsulation ppp dialer rotary-group 1 no fair-queue no cdp enable ppp bap number default 6666668 ! interface bri 3 no ip address encapsulation ppp dialer rotary-group 1 no fair-queue no cdp enable ppp bap number default 6666669 ! interface dialer 1 ip unnumbered Ethernet0 encapsulation ppp dialer in-band dialer idle-timeout 300 dialer-group 1 no fair-queue no cdp enable ppp authentication chap ppp multilink bap ppp bap call accept ppp bap callback request ppp bap timeout pending 20 ppp bap timeout response 2 ppp bap max dial-attempts 2 ppp bap monitor load
The following example, a dialer rotary group with two members each with the same number, accepts incoming dial attempts. The dialer interface has a base phone number because each of its member interfaces is in a hunt group and the same number can be used to access each individual interface.
interface bri 0 no ip address encapsulation ppp dialer rotary-group 1 no fair-queue no cdp enable ! interface bri 1 no ip address encapsulation ppp dialer rotary-group 1 no fair-queue no cdp enable ! interface dialer 1 ip unnumbered Ethernet0 encapsulation ppp dialer in-band dialer idle-timeout 300 dialer-group 1 no fair-queue no cdp enable ppp authentication chap ppp multilink bap ppp bap call accept ppp bap callback request ppp bap timeout pending 20 ppp bap timeout response 2 ppp bap max dial-attempts 2 ppp bap monitor load ppp bap number default 6666666
In the following example, a PRI interface has no BACP number defined and accepts incoming dial attempts (passive mode). The PRI interface has no base phone number defined, so each attempt to add a link would result in a delta of zero being provided to the calling peer. To establish the bundle, the peer should then dial the same number as it originally used.
interface serial 0:23 ip unnumbered Ethernet0 encapsulation ppp dialer in-band dialer idle-timeout 300 dialer-group 1 no fair-queue no cdp enable ppp authentication chap ppp multilink bap ppp bap call accept ppp bap callback request ppp bap timeout pending 20 ppp bap timeout response 2 ppp bap max dial-attempts 2 ppp bap monitor load
In the following example, the BRI interface has no base phone number defined. The number that it uses to establish the bundle is that from the dialer map, and all phone delta operations are applied to that number.
interface bri 0 ip unnumbered Ethernet0 encapsulation ppp dialer in-band dialer idle-timeout 300 dialer map ip 10.1.1.1 name bap_peer speed 56 19998884444 dialer-group 1 no fair-queue no cdp enable ppp authentication chap ppp multilink bap ppp bap call request ppp bap timeout pending 20 ppp bap timeout response 2 ppp bap max dial-attempts 2 ppp bap monitor load
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Tue Jul 18 15:16:53 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.