cc/td/doc/product/access/acs_fix/750
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

PPP Commands

PPP Commands

This chapter describes the commands to configure Point-to-Point Protocol (PPP) parameters, such as call negotiation and authentication.

set compression

To enable or disable data compression, use the set compression command.

SEt COmpression STac | OFf
Syntax Description
stac Enables data compression.
off Disables data compression. If you are using High Level Data Link Control (HDLC) protocol, set compression off.
Default

STac (enabled)

Command Mode

Profile mode

Example

The following example disables compression for the profile 2503 connection:

Host:2503> set compression off

set ppp address negotiation

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 | OFf
Syntax Description
on 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.
Default

Off

Command Mode

System mode

Usage Guidelines

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.

Example

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.

Related Commands

set ip routing
set dhcp server
set ip pat

set ppp bacp

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 | OFf
Syntax Description
on Enable BACP negotiation.
off Disable BACP negotiation.
Default

On

Command Mode

System or profile model

Usage Guidelines

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.

Related Commands

demand
set auto
set ppp callback
set ppp negotiation retry
set ppp negotiation count
set ringback
set timeout
show negotiation

set ppp clientname

The set ppp clientname sets different user names and passwords within the profiles.

SEt PPp CLientname clientname
Syntax Description
clientname The name used for identification for the profile.
Default

No PPP client name is configured

Command Mode

System or profile mode

Usage Guidelines

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.

Related Commands

set ppp authentication
set ppp password
show security
show user

set ppp multilink

To configure the way that PPP links are aggregated, use the set ppp multilink command.

SEt PPP MUltilink ON | OFf
Syntax Description
on Sets the router to negotiate the PPP ultilink protocol. This protocol allows data to be sent over multiple channels.
off Disables the router from requesting PPP multilink negotiation. If the remote router requests PPP multilink, the router will accept it, regardless of this setting.
Default

On (enabled)

Command Mode

System mode

Example

The following example configures the router so that it will not initiate negotiation of PPP multilink:

Host> set ppp multilink off

set ppp negotiation count

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 attempts
Syntax Description
attempts Number of times the router attempts to get a successful negotiation. Must be a number between 1 and 100.
Default

10 attempts for PPP

Command Mode

System mode

Example

The following example configures the router to attempt negotiation 20 times:

Host> set ppp negotiation count 20
Related Commands

demand
set auto
set ppp callback
set ppp negotiation retry
set ppp bacp
set ringback
set timeout
show negotiation

set ppp negotiation integrity

To configure time in seconds between line integrity packets, use the set ppp negotiation integrity command.

SEt PPP NEgotiation INtegrity seconds | OFf
Syntax Description
seconds The time in seconds between line integrity packets. Must be between 1 and 60 seconds. If the router does not receive a line integrity packet for three consecutive periods, the ISDN line disconnects.
off Disables link integrity packets.
Default

10 seconds

Command Mode

System mode

Example

The following example sets the period of time between line integrity packets to 5 seconds.

Host> set ppp negotiation integrity 5

set ppp negotiation retry

To configure the amount of time (retry interval) between negotiation attempts, use the set ppp negotiation retry command.

SEt PPp NEgotiation REtry milliseconds
Syntax Description
milliseconds Amount of time (in milliseconds) between negotiation attempts. Must be between 200 and 6000 milliseconds.
Default

3000 milliseconds for PPP

Command Mode

System mode

Example

The following example configures the router to attempt negotiation every 5 seconds:

Host> set ppp negotiation retry 5000 
Related Commands

demand
set auto
set ppp callback
set ppp negotiation count
set ppp bacp
set ringback
set timeout
show negotiation

set ppp terminate count

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 attempt
Syntax Description
attempt 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.
Default

Two tries

Command Mode

System mode

Example

The following example configures the router to send terminate request packets five times before disconnecting the ISDN line:

Host> set ppp termreq count 5

show negotiation

To display all negotiation parameters, use the show negotiation command.

SHow NEgotiation [ALl]
Syntax Description
all Use this keyword in profile mode to display system negotiation parameters and also profile negotiation parameters.
Command Mode

System or profile mode

Usage Guidelines

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.

Example

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 
Related Commands
set auto
demand
set timeout
set ppp callback
set ppp negotiation retry
set ppp negotiation count
set ringback
set ppp bacp

hometocprevnextglossaryfeedbacksearchhelp
Copyright 1989-1997 © Cisco Systems Inc.