![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
This chapter describes the commands to configure Point-to-Point Protocol (PPP) parameters, such as call negotiation and authentication.
To enable or disable data compression, use the set compression command.
SEt COmpression STac | OFfstac | Enables data compression. |
off | Disables data compression. If you are using High Level Data Link Control (HDLC) protocol, set compression off. |
STac (enabled)
Profile mode
The following example disables compression for the profile 2503 connection:
Host:2503> set compression off
The set ppp address negotiation command forces the dynamically negotiated IP address to be assigned to the user-defined profile.
SEt PPp Address NEgotiation LOcal ON | OFfon | The configured IP address is used for PPP Internet Protocol Control Protocol (IPCP) negation. Once the IP address is negotiated, it is assigned to the user-defined profile. |
off | The router first attempts to assign the IPCP negotiated address to the Internal profile. If the Internal profile already has an IP address, the router places the address in a user-defined profile. |
Off
System mode
It is recommended that this feature be turned on when the network access server assigns the IP address, specifically, when the LAN profile or the Internal profile is already set up for IP routing. This command forces the negotiated IP address to be assigned to the Standard or user-defined profile instead of the Internal profile.
The following example uses the IP address configured for a user defined profile for IP address negotiation. The router first requests that the IP address configured in the ISP profile be assigned to the router. Whatever address the access server responds with is assigned to the ISP profile, not the permanent Internal profile.
765> cd ISP 765:ISP> set ppp address negotiation local on
When a call is made and IP address negotiation has taken place, the router is assigned an IP address by the ISP. To verify the IP address, you can use the show ip config all command.
set ip routing
set dhcp server
set ip pat
The set ppp bacp command defines a set of rules to control dynamic bandwidth allocation gracefully by managing the number of links in a PPP multilink bundle. Bandwidth Allocation Control Protocol (BACP) consists of a network control program that negotiates once per PPP multilink bundle. Bandwidth Allocation Protocol (BAP) defines a set of request and response messages to manage the links.
SEt PPp BAcp ON | OFfon | Enable BACP negotiation. |
off | Disable BACP negotiation. |
On
System or profile model
Cisco 700 software supports dynamic management of both B-channels with the demand feature. The implementation of BACP and BAP allows the router to coordinate and negotiate the actual allocation and deallocation of the second channel.
Add a Link
After BACP has been negotiated, demand traffic triggers a BAP negotiation to bring up the second link of a bundle. Auto mode has to be enabled for the second link for the router to start BAP call or callback request negotiation; otherwise, it can only participate in BAP negotiation initiated by its peer.
The router endorses an incoming BAP call or callback request to add a link if the second B-channel is available and the call for the second link is in the same direction as the call for the first link.
When requesting the addition of the second link, the router sends a BAP call or callback request to its peer depending on the direction of the call for the first link.
For a callback request the router also checks if PPP callback reply is set to on.
Integration with the set auto Command
The set auto command on the second link turns demand dialing on, while the set ppp bacp command decides if BACP/BAP is negotiated for a PPP multilink bundle.
The following are descriptions of the operation for the four combinations:
Drop a Link
A link drop attempt is initiated locally when there is a change of network traffic or a resource conflict (for example, call bumping) arises. This can be achieved with or without BAP negotiation. Timeout mode must be enabled for the second link for the router to start BAP link drop request negotiation.
You might want to release a B-channel without excessive delay. The resource has to be freed to answer an incoming voice call. In this case, no BAP negotiation is done; PPP tries to tear down the link immediately.
If negotiation is selected and the peer does not respond to a BAP link drop request before the response timer expires, BAP retries according to the PPP negotiations settings.
Integration with the set timeout Command
The set timeout command on the second link determines whether the BOD algorithm can tear down the second link based on traffic while the set ppp bacp command determines whether BACP/BAP is negotiated for a PPP multilink bundle.
The following are operation descriptions for the four combinations:
BACP is only implemented on BRI interface. Multilink PPP protocol has to be enabled for the BACP to be functional.
demand
set auto
set ppp callback
set ppp negotiation retry
set ppp negotiation count
set ringback
set timeout
show negotiation
The set ppp clientname sets different user names and passwords within the profiles.
SEt PPp CLientname clientnameclientname | The name used for identification for the profile. |
No PPP client name is configured
System or profile mode
Remote users might have multiple service providers. The set ppp clientname command allows different profiles to have different user names. If the client name is not set in profile mode or system mode, a profile uses the system name configured with the set systemname command when dialing out. Each profile can also have its own password or secret associated with its user name using the set ppp password or the set ppp secret command.
The PPP client name, PAP password, and CHAP secret can be set in system mode as the default for the profile mode setting. These entries are used if none are specified at the profile level. The default PPP client name overwritten at system mode.
set ppp authentication
set ppp password
show security
show user
To configure the way that PPP links are aggregated, use the set ppp multilink command.
SEt PPP MUltilink ON | OFfOn (enabled)
System mode
The following example configures the router so that it will not initiate negotiation of PPP multilink:
Host> set ppp multilink off
To configure the number of times that the Cisco router attempts to get a successful negotiation, use the set ppp negotiation count command.
SEt PPp NEgotiation COunt attemptsattempts | Number of times the router attempts to get a successful negotiation. Must be a number between 1 and 100. |
10 attempts for PPP
System mode
The following example configures the router to attempt negotiation 20 times:
Host> set ppp negotiation count 20
demand
set auto
set ppp callback
set ppp negotiation retry
set ppp bacp
set ringback
set timeout
show negotiation
To configure time in seconds between line integrity packets, use the set ppp negotiation integrity command.
SEt PPP NEgotiation INtegrity seconds | OFf10 seconds
System mode
The following example sets the period of time between line integrity packets to 5 seconds.
Host> set ppp negotiation integrity 5
To configure the amount of time (retry interval) between negotiation attempts, use the set ppp negotiation retry command.
SEt PPp NEgotiation REtry millisecondsmilliseconds | Amount of time (in milliseconds) between negotiation attempts. Must be between 200 and 6000 milliseconds. |
3000 milliseconds for PPP
System mode
The following example configures the router to attempt negotiation every 5 seconds:
Host> set ppp negotiation retry 5000
demand
set auto
set ppp callback
set ppp negotiation count
set ppp bacp
set ringback
set timeout
show negotiation
To configure the number of times the router will send a terminate request packet without receiving an answer before disconnecting the ISDN line, use the set ppp terminate count command.
SEt PPP TErmreq COunt attemptattempt | Number of times the router will send a terminate request packet without receiving an answer before disconnecting the ISDN line. Must be between 1 and 100. |
Two tries
System mode
The following example configures the router to send terminate request packets five times before disconnecting the ISDN line:
Host> set ppp termreq count 5
To display all negotiation parameters, use the show negotiation command.
SHow NEgotiation [ALl]all | Use this keyword in profile mode to display system negotiation parameters and also profile negotiation parameters. |
System or profile mode
In profile mode, this command displays only parameters that can be configured by the profile. Values are inherited from the profile template. Values that have been redefined from the template value are indicated with an asterisk.
In system mode, this command displays all system parameters.
The following example shows output from the show negotiation command at the system mode:
Host> sh negotiation System Parameters CPP Negotiation Parameters Integrity Interval 10 Negotiation Abort DISCONNECT Retry Count 6 Retry Interval 1000 Terminate Count 2 Multilink ON Profile Parameters Compression STAC BACP ON Address Negotiation Local OFF Negotiated Parameters Connection 1 Virtual Connection 2 Virtual Connection 3 Virtual Connection 4 Virtual
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |