Cisco Cisco IOS Software Release 12.2(4)B

Page de 12
      PPPoE Session Limit
Monitoring and Maintaining PPPoE Session Limits
6
Cisco IOS Release 12.2(4)B
Monitoring and Maintaining PPPoE Session Limits
To monitor PPPoE session limits, use the following command in privileged EXEC mode:
Configuration Examples
This section provides the following configuration examples:
Limiting the Number of PPPoE Sessions on the Router Example
The following example shows a limit of 100 PPPoE sessions configured for the router.
Router(config)# vpdn enable
Router(config-vpdn)# vpdn-group 1
Router(config-vpdn)# accept dialin
Router(config-vpdn-acc-in)# protocol pppoe
Router(config-vpdn-acc-in)# virtual-template 1
Router(config-vpdn-acc-in)# exit
Router(config-vpdn)# pppoe limit max-sessions 100
Limiting the Number of PPPoE Sessions on a PVC Example
The following example shows a limit of 10 PPPoE sessions configured for the PVC.
Router(config)# interface ATM1/0.102 multipoint
Router(config-if)# pvc 3/304
Router(config-if-atm-vc)# encapsulation aal5snap
Router(config-if-atm-vc)# protocol pppoe
Router(config-if-atm-vc)# pppoe max-sessions 10
Limiting the Number of PPPoE Sessions in a VC Class Example
The following example shows a limit of 20 PPPoE sessions configured for the VC class called “main.”
Router(config)# vc-class atm main
Router(config-vc-class)# pppoe max-sessions 20
Command
Purpose
Router# debug vpdn pppoe-errors
Displays PPPoE protocol errors that prevent a 
session from being established or errors that cause 
an established session to be closed.