To specify the customer premise equipment (CPE) password that is used in the authentication phase, use the managementserverpasswordcommand in TR-069 Agent configuration mode.
(Optional) Single-digit number that defines whether the text immediately following is encrypted, and, if so, what type of encryption is used. Possible values are as follows:
0--Specifies that the text immediately following is not encrypted.
7--Specifies that the text is encrypted using an encryption algorithm defined by Cisco.
cleartext-password
(Optional) Cleartext Cisco WAN Management Protocol (CWMP) password, which is not encrypted.
passwd
The CPE password that is used in the authentication phase. This password will be provided to the auto-configuration server (ACS) when the CPE is challenged for credential as part of authentication during the session establishment.
Command Modes
TR-069 Agent configuration (config-cwmp)
Command History
Release
Modification
12.4(20)T
This command was introduced.
Examples
Thefollowing example shows how to specify the CPE password that is used in the authentication phase. In this example, the password is cisco and is not encrypted:
Device(config-cwmp)# management server password 0 cisco
management server url
To specify the HTTP or HTTPS URL to reach the auto-configuration server (ACS), use the managementserverurlcommand in TR-069 Agent configuration mode.
managementserverurlacs-url
Syntax Description
acs-url
The HTTP/HTTPS URL to reach the ACS. This URL is used by the CPE to establish the TR-069 session with the ACS.
Command Modes
TR-069 Agent configuration mode (config-cwmp)
Command History
Release
Modification
12.4(20)T
This command was introduced.
Examples
The following example shows themanagementserverurlcommand when specifying an HTTP URL:
Device(config-cwmp)# management server url http://172.27.116.78:7547/acs
The following example shows themanagementserverurlcommand when specifying an HTTPS URL:
Device(config-cwmp)# management server url https://172.27.116.78:7547/acs
max bandwidth
To specify the total amount of outgoing bandwidth available to switched virtual circuits (SVCs) in the current configuration, use the maxbandwidthcommand in interface-ATM-VC configuration mode. To remove the current bandwidth setting, use the no form of this command.
maxbandwidthkbps
nomaxbandwidthkbps
Syntax Description
kbps
Total amount of outgoing bandwidth in kilobits per second available to all SVCs in the current configuration.
Command Default
No default behavior or values
Command Modes
Interface-ATM-VC configuration
Command History
Release
Modification
12.1(3)T
This command was introduced.
Usage Guidelines
Only the guaranteed cell rate of an SVC is counted toward the maximum bandwidth.
Examples
In following example, an SVC called "svcname" on ATM interface 2/0/0 is configured using the maxbandwidth command to allow a maximum of 50 Mbps of bandwidth to be used by all of the SVCs in this configuration:
Specifies the maximum number of SVCs that can be established using the current configuration.
max vc
To specify the maximum number of switched virtual circuits (SVCs) that can be established using the current configuration, use the maxvccommand in interface-ATM-VC configuration mode. To restore the maximum number of SVCs to the default setting, use the no form of this command.
maxvcnumber
nomaxvcnumber
Syntax Description
number
Maximum number of SVCs to be established using the current SVC configuration.
Command Default
4096 SVCs
Command Modes
Interface-ATM-VC configuration
Command History
Release
Modification
12.1(3)T
This command was introduced.
Examples
In following example, an SVC called "svcname" on ATM interface 2/0/0 is configured using the maxvc command to allow a maximum of 100 SVCs to be established using this configuration:
Specifies the maximum amount of bandwidth available to all SVCs in the current configuration.
svc
Creates an ATM SVC.
multihop-hostname
To enable a tunnel switch to initiate a tunnel based on the hostname or tunnel ID associated with an ingress tunnel, use the
multihop-hostname command in VPDN request-dialin subgroup configuration mode. To disable this option, use the
no form of this command.
multihop-hostnameingress-tunnel-name
nomultihop-hostnameingress-tunnel-name
Syntax Description
ingress-tunnel-name
Network access server (NAS) hostname or ingress tunnel ID.
This command was introduced on the Cisco 6400 node route processor (NRP).
12.2(13)T
This command was integrated into Cisco IOS Release 12.2(13)T.
12.2(28)SB
This command was integrated into Cisco IOS Release 12.2(28)SB.
Usage Guidelines
Use the
multihop-hostname command only on a device configured as a tunnel switch.
The
ingress-tunnel-name argument must specify either the hostname of the device initiating the tunnel that is to be to be switched, or the tunnel ID of the ingress tunnel that is to be switched.
Removing the request-dialin subgroup configuration removes the
multihop-hostname configuration.
Examples
The following example configures a Layer 2 Tunneling Protocol (L2TP) virtual private dialup network (VPDN) group on a tunnel switch to forward ingress sessions from the host named LAC-1 through an outgoing tunnel to IP address 10.3.3.3:
vpdn-group 11
request-dialin
protocol l2tp
multihop-hostname LAC-1
initiate-to ip 10.3.3.3
local name tunnel-switch
Related Commands
Command
Description
dnis
Configures a VPDN group to tunnel calls from the specified DNIS, and supports additional domain names for a specific VPDN group.
domain
Requests that PPP calls from a specific domain name be tunneled, and supports additional domain names for a specific VPDN group.
request-dialin
Creates a request dial-in VPDN subgroup that configures a NAS to request the establishment of a dial-in tunnel to a tunnel server, and enters request dial-in VPDN subgroup configuration mode.
vpdnmultihop
Enables VPDN multihop.
vpdnsearch-order
Specifies how the NAS is to perform VPDN tunnel authorization searches.
nas-port-id format c
To specify a format for broadband subscriber access line identification coding that complies with a specific set of defined requirements, use the nas-port-idformatc command in BBA group configuration mode. To disable this format implementation, use the no form of this command.
nas-port-idformatc
nonas-port-idformatc
Syntax Description
This command has no arguments or keywords.
Command Default
If this command is not configured, the default strings for NAS-Port-ID are used.
Command Modes
BBA group configuration (config-bba-group)#
Command History
Release
Modification
12.2(31)SB2
This command was introduced.
Cisco IOS XE 2.3.0
This command was integrated.
Usage Guidelines
The nas-port-idformatc command defines the following broadband subscriber access line identification (NAS-Port-ID) coding format:
For ATM, XPI is the virtual path identifier (VPI) and XCI is the virtual circuit identifier (VCI).
For Ethernet, XPI is outer vlan-tag, XCI is inner vlan-tag.
Requirements for XPI:XCI for Ethernet are as follows:
For 802.1Q tunneling (QinQ), the format should be outer vlan-tag:inner vlan-tag. (Prior to Release 12.2(31)SB2, Cisco IOS software supports inner vlan-tag:outer vlan-tag).
For single tag VLAN, XPI should be 4096.
The Circuit-ID tag (if present) must be appended to this string when the nas-port-idformatc command is used. The format for the Circuit-ID or Remote-ID tag is as follows:
The digital subscriber line access multiplexer (DSLAM) should append this information to the broadband remote access server (BRAS), and the BRAS transparently delivers it. If the Circuit-ID or Remote-ID tag is not present in DHCP option 82, a string of 0/0/0/0/0/0 should be appended to the NAS-Port-ID tag.
In this example, the subscriber interface type of the BRAS equipment is an ATM interface, the BRAS slot number is 31, the BRAS subslot number is 31, the BRAS port number is 7, the VPI is 255, and the VCI is 65535. The string guangzhou001/0/31/63/31/127 is the Circuit-ID or Remote-ID tag.
NAS-Port-ID = eth 31/31/7:1234.2345 0/0/0/0/0/0
In this example, the subscriber interface type of the BRAS equipment is an Ethernet interface, the BRAS slot number is 31, the BRAS subslot number is 31, the BRAS port number is 7, the outer vlan-tag is 1234, and the inner vlan-tag is 2345. The string 0/0/0/0/0/0 is the default.
NAS-Port-ID = eth 31/31/7:4096.2345 0/0/0/0/0/0
In this example, the subscriber interface type of the BRAS equipment is an Ethernet interface, the BRAS slot number is 31, the BRAS subslot number is 31, the BRAS port number is 7, and the VLAN ID is 2345. The string 0/0/0/0/0/0 is the default.
Examples
The following example lists the commands for entering BBA group configuration mode and identifying a profile, configuring a virtual template, and specifying format c for the NAS-Port-ID tag:
Router(config)# bba-group pppoe bba-pppoeoe
Router(config-bba-group)# virtual-template 1
Router(config-bba-group)# nas-port-id format c
!
Related Commands
Command
Description
bba-grouppppoe
Enters BBA group configuration mode and defines a PPPoE profile.
virtual-template
Configures a PPPoE profile with a virtual template to be used for cloning virtual access interfaces.
nas-port format d (bba)
To set the PPPoX (PPP over Ethernet or PPP over ATM) extended
NAS-Port format d service, use the
nas-portformatdcommand in BBA group configuration mode. To remove the extended
NAS-Port format, use the
no form of this command.
nas-portformatdslot /
adapter
/
port [transmit]
nonas-portformatdslot /
adapter
/
port
Syntax Description
slot/adapter/port
slot--Number of bits to store slot
number. The range is from 0 to 8.
adapter--Number of bits to
accommodate the adapter value. The range is from 0 to 8.
port--Number of bits to
accommodate the port value. The range is from 0 to 8.
transmit
(Optional) Sends the format to the RADIUS or L2TP Network
Server (LNS).
Command Default
If this command is not applied under bba-group mode, the default
behavior is to use AAA configured format format d, where
slot is 4 bits,
adapter is 1 bit, and
port is 3 bits.
Command Modes
BBA group configuration (config-bba-group)
Command History
Release
Modification
Cisco IOS XE Release 2.6
This command was integrated into Cisco IOS XE Release 2.6.
Usage Guidelines
The
nas-portformatdcommand is applicable only for PPPOE over Ethernet (PPPoEoE)
and PPPoE over ATM (PPPoEoA). It does not apply to PPP over ATM (PPPoA). This
command can be used if the slot, adapter, and port values are in a different
format and need to be changed to the d 4/1/3 format.
Examples
The following example show how to set the PPPoX (PPP over Ethernet or
PPP over ATM) extended NAS-Port format d:
Router# configure terminal
Router(config)# bba-group pppoe global
Router(config-bba-group)# nas-port format d 2/2/4
Related Commands
Command
Description
nas-port-idformatc
Specifies a format for broadband subscriber access line
identification coding that complies with a specific set of defined
requirements.
operating mode
To select an asymmetric digital subscriber line (ADSL) or very high
speed digital subscriber line (VDSL) mode of operation, use the operating mode
command in controller configuration mode. To restore the default, use the
no form of this command.
This command enables customer premise equipment to be manually or
automatically configured. It can be manually configured in either ADSL1/2/2+,
VDSL2, or ANSI modes. Using the auto mode, the CPE automatically trains-up to
the mode configured on the digital subscriber line access multiplexer (DSLAM).
Examples
Note
It is recommended to use operating mode auto (default). Using a
configuration other than the default configuration for the operating mode can
lead to unpredictable behavior on the DSL line.
The following example shows a typical customer premise equipment
(CPE) configuration set to auto mode. Outputs in bold are critical. When
configured in auto (default), the operating mode command line interface (CLI)
is not displayed in the show running command as illustrated in this example.
Router# show running
Building configuration...
Current configuration : 1250 bytes
!
! Last configuration change at 02:07:09 UTC Tue Mar 16 2010
!
version 15.1
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 10
ip source-route
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
license udi pid CISCO887-V2-K9 sn FHK1313227E
license boot module c880-data level advipservices
!
!
vtp domain cisco
vtp mode transparent
!
!
controller VDSL 0
!
vlan 2-4
!
!
!
!
!
interface Ethernet0
no ip address
no fair-queue
!
interface BRI0
no ip address
encapsulation hdlc
shutdown
isdn termination multidrop
!
interface ATM0
no ip address
no atm ilmi-keepalive
!
interface ATM0.1 point-to-point
ip address 30.0.0.1 255.255.255.0
pvc 15/32
protocol ip 30.0.0.2 broadcast
!
!
interface FastEthernet0
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface Vlan1
no ip address
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
!
!
!
!
control-plane
!
!
line con 0
no modem enable
line aux 0
line vty 0 4
login
transport input all
!
exception data-corruption buffer truncate
end
parameter change notify interval
To set the time interval for the parameter change notifications, use the parameterchangenotifyintervalcommand in TR-069 Agent configuration mode.
parameterchangenotifyintervaltime-interval
Syntax Description
time-interval
The time interval, in seconds, for the parameter change notifications. The range for the time interval is 15 to 300. The default value is 60.
Command Default
The time interval is 60 seconds.
Command Modes
TR-069 Agent configuration mode (config-cwmp)
Command History
Release
Modification
12.4(20)T
This command was introduced.
Examples
The following shows how to set the time interval for the parameter change notifications to 75 seconds:
To enable class of service (CoS) marking for PPP over Ethernet (PPPoE) control packets on the PPPoE client, use the pppoe-clientcontrol-packetsvlancos command in either interface configuration mode or ATM virtual circuit configuration mode. To disable CoS marking for PPPoE control packets on the PPPoE client, use the no form of this command.
pppoe-clientcontrol-packetsvlancosnumber
nopppoe-clientcontrol-packetsvlancosnumber
Syntax Description
number
CoS marking value for PPPoE control packets. The range is from 0 to 7. The default is 0.
To configure a PPP over Ethernet (PPPoE) client and to specify the dial-on-demand routing (DDR) functionality, use the
pppoe-client dial-pool-number command in interface configuration mode or ATM virtual circuit configuration mode. To disable the configured dial-on-demand functionality, use the
no form of this command.
This command was integrated into Cisco IOS Release 12.2(2)T.
12.2(13)T
This command was modified. The
dial-on-demand keyword was added to allow the configuration of the DDR interesting traffic control list functionality.
12.2(28)SB
This command was integrated into Cisco IOS Release 12.2(28)SB.
12.4(24)T
This command was integrated into Cisco IOS Release 12.4(24)T and the PPPoE client functionality was modified to support multiple clients on a single ATM PVC.
15.2(4)M
This command was modified. The
mac-override keyword was added.
Usage Guidelines
One PVC supports multiple PPPoE clients, enabling second line connection and redundancy. Use the
pppoe-client dial-pool-number command to configure one or more concurrent client PPPoE sessions on a single ATM PVC. When a PPPoE session is established in a single PVC, a MAC address that is configured on a dialer interface is used as the local address for multiple PPPoE clients.
Use this command to configure the DDR interesting traffic control list functionality of the dialer interface with a PPPoE client. When the DDR functionality is configured for this command, the following DDR commands must also be configured:
dialer-group,
dialerhold-queue,
dialeridle-timeout, and
dialer-list.
Tips for Configuring the Dialer Interface
If you are configuring a hard-coded IP address under the dialer interface, you can configure a default IP route using theiproute command:
ip route 0.0.0.0 0.0.0.0 dialer1
But, if you are configuring a negotiated IP address using the
ipaddressnegotiated command under the dialer interface, you must configure a default IP route using theiproute command:
ip route 0.0.0.0 0.0.0.0 dialer1 permanent
The reason for this configuration is that the dialer interface will lose its IP address when a PPPoE session is brought down (even if the dialer does not go down), and thereby risk removing routes and all IP routes pointed at the dialer interface, including the default IP route. Although the default IP routed back within a minute by IP background processes, you may risk losing incoming packets during the interval.
Examples
The following example shows how to configure multiple PPPoE clients on a single ATM PVC:
Device(config)# interface ATM0
Device(config-if)# no ip address
Device(config-if)# no ip mroute-cache
Device(config-if)# no atm ilmi-keepalive
Device(config-if)# pvc 4/20
Device(config-if)# pppoe-client dial-pool-number 1
Device(config-if)# pppoe-client dial-pool-number 2
The following example shows how to configure restart time:
The following example shows how to configure multiple PPPoE clients on a dialer PVC interface with a configurable MAC address:
Device(config)# interface ATM0
Device(config-if)# no ip address
Device(config-if)# no atm ilmi-keepalive
Device(config-if)# pvc 1/32
Device(config-if)# pppoe-client dial-pool-number 2 mac-override
Device(config-if)# pppoe-client dial-pool-number 1 mac-override
Device(config)# interface Dialer1
Device(config-if)# mac-address aaaa.aaaa.aaaa
Device(config-if)# ip address negotiated
Device(config-if)# encapsulation ppp
Device(config-if)# dialer pool 1
Device(config)# interface Dialer2
Device(config-if)# mac-address 0002.0002.0002
Device(config-if)# ip address negotiated
Device(config-if)# encapsulation ppp
Device(config-if)# dialer pool 2
Examples
The following example shows how to configure the PPPoE client DDR idle timer on an Ethernet interface and includes the required DDR commands:
Device(config)# vpdn enable
Device(config)# no vpdn logging
Device(config)# vpdn-group 1
Device(config)# request-dialin
Device(config)# protocol pppoe
Device(config)# interface Ethernet1
Device(config-if)# pppoe enable
Device(config-if)# pppoe-client dial-pool-number 1 dial-on-demand
Device(config)# interface Dialer1
Device(config-if)# ip address negotiated
Device(config-if)# ip mtu 1492
Device(config-if)# encapsulation ppp
Device(config-if)# dialer pool 1
Device(config-if)# dialer idle-timeout 180 either
Device(config-if)# dialer hold-queue 100
Device(config-if)# dialer-group 1
Device(config-if)# dialer-list 1 protocol ip permit
Examples
The following example shows how to configure the PPPoE client DDR idle timer on an ATM PVC interface and how to include the required DDR commands:
Device(config)# vpdn enable
Device(config)# no vpdn logging
Device(config)# vpdn-group 1
Device(config)# request-dialin
Device(config)# protocol pppoe
Device(config)# interface ATM2/0
Device(config-if)# pvc 2/100
Device(config-if)# pppoe-client dial-pool-number 1 dial-on-demand
Device(config)# interface Dialer1
Device(config-if)# ip address negotiated
Device(config-if)# ip mtu 1492
Device(config-if)# encapsulation ppp
Device(config-if)# dialer pool 1
Device(config-if)# dialer idle-timeout 180 either
Device(config-if)# dialer hold-queue 100
Device(config-if)# dialer-group 1
Device(config-if)# dialer-list 1 protocol ip permit
Related Commands
Command
Description
debugpppnegotiation
Displays LCP and NCP session negotiations.
debugvpdnpppoe-data
Displays PPPoE session data packets.
debugvpdnpppoe-errors
Displays PPPoE protocol errors that prevent a session from being established or errors that cause an established session to be terminated.
debugvpdnpppoe-events
Displays PPPoE protocol messages about events that are part of normal session establishment or shutdown.
debugvpdnpppoe-packets
Displays each PPPoE protocol packet exchanged.
dialer-group
Controls access by configuring a virtual access interface to belong to a specific dialing group.
dialerhold-queue
Allows interesting outgoing packets to be queued until a modem connection is established.
dialeridle-timeout
Specifies the idle time before the line is disconnected.
dialer-list
Defines a DDR dialer list to control dialing by a protocol or by a combination of a protocol and an access list.
ipaddressnegotiated
Specifies the IP address for a particular interface that is obtained via PPP/IPCP address negotiation.
iproute
Allows static routes to be established.
showpppoesession
Displays information about currently active PPPoE sessions.
ppp ip address-save aaa-acct-vsa
To enable IPv4 address conservation, use the
ppp ip address-save aaa-acct-vsa command in global configuration mode. To disable IPv4 address conservation, use the
no form of this command.
Vendor-specific attribute (VSA). The range is 0 to 32 alpha-numeric characters.
password
Specifies the outbound address-save password.
encryption-type
Type of encryption used, if any.
0—Specifies that the subsequent text is not encrypted.
7—Specifies that the text is encrypted using an encryption algorithm defined by Cisco.
address-save-password
User-configurable Internet Protocol Control Protocol (IPCP) authorization password. The range is 0 to 32 alphanumeric characters.
Command Default
IPv4 address conservation is disabled.
Command Modes
Global configuration (config)
Command History
Release
Modification
Cisco IOS XE Release 3.5S
This command was introduced.
Cisco IOS XE Release 3.8S
This command was modified. The
password keyword was added.
Usage Guidelines
Use this command to enable conservation of IPv4 addresses when a service provider in a dual-stack environment has a limited pool of IPv4 addresses for subscriber allocation. The
vsa-string argument value is sent to the RADIUS server, which conserves IPv4 address space by assigning an IPv4 address to a customer premises equipment (CPE) only when needed and releasing it after a defined time interval.
Examples
The following example shows how to configure IPv4 address conservation:
Device(config)# ppp ip address-save aaa-acct-vsa cisco password 0 Cisco123
ppp ipcp
To configure PPP IP Control Protocol (IPCP) features such as the ability to provide primary and secondary Domain Name Server (DNS) and Windows Internet Naming Service (WINS) server addresses, and the ability to accept any address requested by a peer, use the pppipcp command in template or interface configuration mode. To disable a PPP IPCP feature, use the no form of this command.
This command was modified. The reject and acceptkeywords were added.
Cisco IOS XE Release 3.2S
This command was modified. Support for IPv6 was added.
Examples
The following examples show use of the pppipcp command:
ppp ipcp accept-address
ppp ipcp dns 10.1.1.3
ppp ipcp dns 10.1.1.3 10.1.1.4
ppp ipcp dns 10.1.1.1 10.1.1.2 accept
ppp ipcp dns accept
ppp ipcp dns reject
ppp ipcp ignore-map
ppp ipcp username unique
ppp ipcp wins 10.1.1.1 10.1.1.2
ppp ipcp wins accept
The following examples show how to use the no form of the pppipcp command:
no ppp ipcp wins
no ppp ipcp ignore-map
Related Commands
Command
Description
debugppp
Displays information on traffic and exchanges in an internetwork implementing the PPP.
showinterfaces
Displays statistics for all interfaces configured on the router or access server.
showipinterfaces
Displays the usability status of interfaces configured for IP.
ppp ipv6cp address unique
To verify if the IPv6 prefix delegation is unique using a PP-enabled interface, and to disconnect the session if the peer IPv6 prefix is duplicated, use the pppipv6cpaddressuniquecommand in interface configuration mode. To disable the configuration, use the no form of this command.
pppipv6cpaddressunique
nopppipv6cpaddressunique
Syntax Description
This command has no arguments or keywords.
Command Default
Verification of the uniqueness of the IPv6 prefix delegation is not configured.
Command Modes
Interface configuration (config-if)
Command History
Release
Modification
Cisco IOS XE
Release 3.2S
This command was introduced.
Examples
The following example shows how to verify whether the IPv6 prefix delegation is unique using a PPP-enabled interface, and to disconnect the session if the peer IPv6 prefix is duplicated:
To verify the negotiated maximum receive unit (MRU) and adjust the PPP virtual access interface maximum transmission unit (MTU), use the ppplcpechomruverify command in BBA group configuration mode. To disable the effect of the minimum value, use the no form of this command.
ppplcpechomruverify
[ minimumvalue ]
noppplcpechomruverify
[ minimumvalue ]
Syntax Description
minimum
(Optional) Indicates that the value specified is a minimum. If a minimum value is specified, the echo request of that size is sent out on the Link Control Protocol (LCP) connection.
value
(Optional) The minimum echo size sent out on the (LCP) connection. The value can be any integer from 64 to 1500.
Command Default
Timeout on verification requests is the same as the PPP LCP finite state machine (FSM) value.
Command Modes
BBA group configuration
Command History
Release
Modification
12.2(31)SB2
This command was introduced.
12.2(33)SRC
This command was integrated into Cisco IOS Release 12.2(33)SRC.
Usage Guidelines
This command is entered under the virtual-template interface as a troubleshooting aid to verify the value for the negotiated MRU and to adjust the PPP virtual access interface MTU. The timeout on those verification echo requests would be the same as the PPP LCP FSM timeout. The failure of two such echo requests would be construed as the network not supporting that specific MTU. If a minimum value is configured, echo requests of that alternate size are sent out on the LCP connection. If the minimum value is not configured, or if minimum echo requests also fail, then the PPP session is brought down.
If the verification of minimum MTU succeeds, the PPP connection’s interface MTU is set to that value. This reset is useful when you troubleshoot and need to adjust the sessions according to underlying physical network capability. After this command is configured, IP Control Protocol (IPCP) is delayed until verification of the MTU is completed at the LCP.
Examples
The following example shows the configuration of two PPPoE profiles:
Enters BBA group configuration mode and defines a PPPoE profile.
virtualtemplate
Configures a PPPoE profile with a virtual template to be used for cloning virtual access interfaces.
ppp multilink
To enable Multilink PPP (MLP) on an interface and, optionally, to enable Bandwidth Allocation Control Protocol (BACP) and its Bandwidth Allocation Protocol (BAP) subset for dynamic bandwidth allocation, use the
pppmultilink command in interface configuration mode. To disable Multilink PPP or, optionally, to disable only dynamic bandwidth allocation, use the
no form of this command.
pppmultilink [bap]
nopppmultilink
[ bap [required] ]
Cisco 10000 Series Router
pppmultilink
nopppmultilink
Syntax Description
bap
(Optional) Specifies bandwidth allocation control negotiation and dynamic allocation of bandwidth on a link.
required
(Optional) Enforces mandatory negotiation of BACP for the multilink bundle. The multilink bundle is disconnected if BACP is not negotiated.
Command Default
This command is disabled. When BACP is enabled, the defaults are to accept calls and to set the timeout pending at 30 seconds.
Command Modes
Interface configuration (config-if)
Command History
Release
Modification
11.1
This command was introduced.
12.0(23)SX
This command was implemented on the Cisco 10000 series router.
12.2(16)BX
This command was implemented on the ESR-PRE2.
12.2(31)SB 2
This command was integrated into Cisco IOS Release 12.2(31)SB 2.
Cisco IOS XE Release 2.5
This command was integrated into Cisco IOS XE Release 2.5.
15.2(2)SNI
This command was implemented on the Cisco ASR 901 Series Aggregation Services Routers.
Usage Guidelines
This command applies only to interfaces that use PPP encapsulation.
MLP and PPP reliable links do not work together.
When the
pppmultilinkcommand is used, the first channel will negotiate the appropriate Network Control Protocol (NCP) layers (such as the IP Control Protocol and IPX Control Protocol), but subsequent links will negotiate only the link control protocol and MLP. NCP layers do not get negotiated on these links, and it is normal to see these layers in a closed state.
This command with the
bap keyword must be used before configuring any
pppbap commands and options. If the
baprequired option is configured and a reject of the options is received, the multilink bundle is torn down.
The
no form of this command without the
bap keyword disables both MLP and BACP on the interface.
The
dialerload-threshold command enables a rotary group to bring up additional links and to add them to a multilink bundle.
Before Cisco IOS Release 11.1, the
dialer-loadthreshold1 command kept a multilink bundle of any number of links connected indefinitely, and the
dialer-loadthreshold2 command kept a multilink bundle of two links connected indefinitely. If you want a multilink bundle to be connected indefinitely, you must set a very high idle timer.
Note
By default, after changing hostnames, an MLP member link does not undergo failure recovery automatically. You must use the
pppchaphostname command to define the MLP bundle name on an endpoint. If this command is not configured and the hostname is changed, then a link flap will not return the link back to the bundle.
Cisco 10000 Series Router
The ppp multilink command has no arguments or keywords.
Examples
The following partial example shows how to configure a dialer for MLP:
interface Dialer0
ip address 10.0.0.2 255.0.0.0
encapsulation ppp
dialer in-band
dialer idle-timeout 500
dialer map ip 10.0.0.1 name atlanta broadcast 81012345678901
dialer load-threshold 30 either
dialer-group 1
ppp authentication chap
ppp multilink
Related Commands
Command
Description
compress
Configures compression for LAPB, PPP, and HDLC encapsulations.
dialerfast-idle(interface)
Specifies the idle time before the line is disconnected.
dialer-group
Controls access by configuring an interface to belong to a specific dialing group.
dialerload-threshold
Configures bandwidth on demand by setting the maximum load before the dialer places another call to a destination.
encapsulationppp
Enables PPP encapsulation.
pppauthentication
Enables CHAP or PAP or both, and specifies the order in which CHAP and PAP authentication is selected on the interface.
pppbaptimeout
Specifies nondefault timeout values for PPP BAP pending actions and responses.
pppchaphostname
Enables a router calling a collection of routers that do not support this command to configure a common CHAP secret password to use in response to challenges from an unknown peer.
pppmultilinkfragmentdelay
Specifies a maximum time for the transmission of a packet fragment on a MLP bundle.
pppmultilinkfragmentdisable
Disables packet fragmentation.
pppmultilinkfragmentation
Sets the maximum number of fragments a packet will be segmented into before being sent over the bundle.
ppp multilink group
Restricts a physical link to joining only a designated multilink-group interface.
pppmultilinkinterleave
Enables MLP interleaving.
ppp multilink mrru
Configures the MRRU value negotiated on an MLP bundle.
ppp multilink slippage
Defines the constraints that set the MLP reorder buffer size.
showpppbap
Displays the configuration settings and run-time status for a multilink bundle.
ppp multilink fragment disable
To disable packet fragmentation, use the
pppmultilinkfragmentdisablecommand in interface configuration mode. To enable fragmentation, use the
no form of this command.
pppmultilinkfragmentdisable
nopppmultilinkfragmentdisable
Syntax Description
This command has no arguments or keywords.
Command Default
Fragmentation is enabled.
Command Modes
Interface configuration
Command History
Release
Modification
11.3
This command was introduced as
pppmultilinkfragmentation.
12.2
The
nopppmultilinkfragmentation command was changed to
pppmultilinkfragmentdisable. The
nopppmultilinkfragmentation command was recognized and accepted through Cisco IOS Release 12.2.
12.2(31)SB2
This command was integrated into Cisco IOS Release 12.2(31)SB2.
Usage Guidelines
The ppp multilink fragment delay and ppp multilink interleave commands have precedence over the ppp multilink fragment disable command. Therefore, the ppp multilink fragment disable command has no effect if these commands are configured for a multilink interface and the following message displays:
Warning: 'ppp multilink fragment disable' or 'ppp multilink fragment maximum' will be
ignored, since multilink interleaving or fragment delay has been configured and have
higher precedence.
To completely disable fragmentation, you must do the following:
Router(config-if)# no ppp multilink fragment delay
Router(config-if)# no ppp multilink interleave
Router(config-if)# ppp multilink fragment disable
Disable multilink fragmentation using the
pppmultilinkfragmentdisablecommand if fragmentation causes performance degradation. Performance degradation due to multilink fragmentation has been observed with asynchronous member links.
Examples
The following example disables packet fragmentation:
ppp multilink fragment disable
Related Commands
Command
Description
pppmultilinkfragmentdelay
Specifies a maximum size, in units of time, for packet fragments on an MLP bundle.
pppmultilinkinterleave
Enables MLP interleaving.
ppp multilink group
Restricts a physical link to joining only a designated multilink-group interface.
ppp multilink mrru
Configures the Maximum Receive Reconstructed Unit (MRRU) value negotiated on a Multilink PPP (MLP) bundle.
ppp multilink group
To restrict a physical link to join only one designated multilink group interface, use the
pppmultilinkgroup command in interface configuration mode. To remove this restriction, use the
no form of this command.
pppmultilinkgroupgroup-number
nopppmultilinkgroup
Syntax Description
group-number
Multilink group number (a nonzero number).
Command Default
If the
pppmultilinkgroup command is configured on an interface, the interface can join any multilink group. If the
pppmultilinkgroup command is not configured on an interface, the interface cannot join a multilink group.
Command Modes
Interface configuration (config-if)
Command History
Release
Modification
12.0
This command was introduced as the
multilink-group command on the PRE1 for the Cisco 10000 series router.
12.2
This command was changed to
pppmultilinkgroup. The
multilink-group command is accepted by the CLI through Cisco IOS Release 12.2.
12.2(28)SB
This command was integrated into Cisco IOS Release 12.2(28)SB.
12.2(31)SB2
This command was implemented on the PRE3 for the Cisco 10000 series router.
Usage Guidelines
When the
pppmultilinkgroup command is configured on an interface, the interface is restricted from joining any interface but the designated multilink group interface. If a peer at the other end of the interface tries to join a different multilink group, the connection is severed. This restriction applies when Multilink PPP (MLP) is negotiated between the local end and the peer system. The link can still come up as a regular PPP interface.
The
pppmultilinkgroup command cannot be configured on an interface if the multilink group interface is not configured.
To modify the multilink group configuration on a serial interface, the existing PPP multilink group configuration must be removed from the serial interface.
When the multilink group interface is removed, the PPP multilink group configuration is removed from all the member links that have joined the specified multilink group.
The
pppmultilinkgroup command is primarily used with the MLP inverse multiplexer as described in the “Configuring Media-Independent PPP and Multilink PPP” chapter in the
Dial Technologies Configuration Guide.
Cisco 10000 Series Router
The group-number option of the
pppmultilinkgroup command identifies the multilink group. This number must be identical to the multilink-bundle-number that you assign to a multilink interface. Valid group-number values are:
MLP over serial-based Link Fragmentation and Interleaving (LFI)
1 to 9999 (Cisco IOS Release 12.2(28)SB and later releases)
1 to 2,147,483,647 (Cisco IOS Release 12.2(31)SB2 and later releases)
Single-VC MLP over ATM-based LFI
10,000 and higher
Multi-VC MLP over ATM-based LFI
1 to 9999 (Cisco IOS Release 12.2(28)SB and later releases)
1 to 2,147,483,647 (Cisco IOS Release 12.2(31)SB2 and later releases)
MLP over Frame Relay based LFI
10,000 and higher
Examples
The following example shows how to configure a multilink group interface and configure a serial link to join the multilink group interface:
The following sample error message is displayed when a PPP multilink group is configured on a serial link before the multilink group interface is configured:
Router(config)# interface serial 2
Router(config-if)# ppp multilink group 1
% Multilink group interface does not exist. Please create a group interface first
The following sample error message is displayed when the multilink group configuration on a serial link is modified before the existing multilink group configuration is removed:
Router# show running-config interface serial4/0
Building configuration...
Current configuration : 188 bytes
!
interface Serial4/0
no ip address
encapsulation ppp
ppp multilink
ppp multilink group 1
ppp multilink fragment size 1000
ppp multilink mrru local 1524
serial restart-delay 0
end
Router# configure terminal
Router(config)# interface serial4/0
Router(config-if)# ppp multilink group 4
% Link is already part of Multilink1 group interface. Please detach it from the group interface first.
The following sample output displays the serial interface configuration before and after the removal of the multilink group interface:
Router# show running-config interface serial5/0
Building configuration...
Current configuration : 188 bytes
!
interface Serial5/0
no ip address
encapsulation ppp
ppp multilink
ppp multilink group 1
ppp multilink fragment size 1000
ppp multilink mrru local 1524
serial restart-delay 0
end
Router# configure terminal
Router(config)# no interface Multilink 1
% Please 'shutdown' this interface before trying to delete it
Router(config)# interface Multilink 1
Router(config-if)# shutdown
Router(config-if)#
*Aug 2 17:35:11.825: %LINK-5-CHANGED: Interface Multilink1, changed state to administratively down
*Aug 2 17:35:11.826: %LINEPROTO-5-UPDOWN: Line protocol on Interface Multilink1, changed state to down
*Aug 2 17:35:11.869: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial5/0, changed state to down
*Aug 2 17:35:11.869: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial4/0, changed state to down
Router(config-if)# exit
Router(config)#
*Aug 2 17:35:15.908: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial5/0, changed state to up
*Aug 2 17:35:15.908: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial4/0, changed state to up
Router(config)# no interface Multilink1
% The multilink group configuration will be removed from all the member links.
!
Router# show running-config interface serial5/0
Building configuration...
Current configuration : 165 bytes
!
interface Serial5/0
no ip address
encapsulation ppp
ppp multilink
ppp multilink fragment size 1000
ppp multilink mrru local 1524
serial restart-delay 0
end
Related Commands
Command
Description
encapsulationppp
Enables PPP encapsulation on a serial interface.
interfacemultilink
Creates a multilink bundle or enters multilink interface configuration mode.
ipaddress
Configures an IP address for an interface.
pppmultilink
Enables an MLP on an interface.
ppp ncp override local
To track attributes received in authorization from RADIUS, verify the permitted Network Control Program (NCP), reject the current NCP negotiation, and override the local dual-stack configuration, use the pppncpoverridelocalcommand in global configuration mode. To disable the configuration, use the no form of this command.
pppncpoverridelocal
nopppncpoverridelocal
Syntax Description
This command has no arguments or keywords.
Command Default
The tracking of attributes from RADIUS and the local configuration override are not enabled. The local configuration is used.
Command Modes
Global configuration (config)
Command History
Release
Modification
Cisco IOS XE
Release 3.2S
This command was introduced.
Usage Guidelines
Framed attributes are primarily used for address allocation. The RADIUS server maintains a pool of both IPv4 addresses and IPv6 prefixes. If IPv4 address or IPv6 prefix attributes are absent in the access-accept response from RADIUS, the pppncpoverridelocal command can be used to override local configuration.
Examples
The following example shows how to override the local IPv6 or IPv4 dual-stack configuration:
Router> enable
Router# configure terminal
Router(config)# ppp ncp override local
ppp timeout ncp
To set a time limit for the successful negotiation of at least one network layer protocol after a PPP connection is established, use the ppptimeoutncpcommand in interface configuration mode. To remove the time limit, use the no form of this command.
ppptimeoutncpseconds
noppptimeoutncp
Syntax Description
seconds
Maximum time, in seconds, PPP should wait for negotiation of a network layer protocol. If no network protocol is negotiated in the given time, the connection is disconnected.
Command Default
No time limit is imposed.
Command Modes
Interface configuration (config-if)
Command History
Release
Modification
11.3
This command was introduced as pppnegotiation-timeout.
12.2
This command was changed to ppptimeoutncp. The pppnegotiation-timeoutcommand was accepted by the command line interpreter through Cisco IOS Release 12.2.
Cisco IOS XE Release 3.2S
Support for IPv6 was added.
Usage Guidelines
The ppptimeoutncp command protects against the establishment of links that are physically up and carrying traffic at the link level, but are unusable for carrying data traffic due to failure to negotiate the capability to transport any network level data. This command is particularly useful for dialed connections, where it is usually undesirable to leave a telephone circuit active when it cannot carry network traffic.
Examples
The following example sets the Network Control Protocol (NCP) timer to 8 seconds:
ppp timeout ncp 8
Related Commands
Command
Description
absolute-timeout
Sets the interval for closing user connections on a specific line or port.
dialeridle-timeout(interface)
Specifies the idle time before the line is disconnected.
ppp unique address accept-access
To track duplicate addresses received from RADIUS and create a standalone database, use the pppuniqueaddressaccept-accesscommand in global configuration mode. To disable this feature and remove the database, use the no form of this command.
pppuniqueaddressaccept-access
nopppuniqueaddressaccept-access
Syntax Description
This command has no arguments or keywords.
Command Default
This feature is not enabled.
Command Modes
Global configuration
Command History
Release
Modification
Cisco IOS XE Release 3.2S
This command was introduced.
Usage Guidelines
The ppp unique address accept-access command enables the IPv6 router to track and check duplicate attributes received in an Access-Accept response from RADIUS, and triggers creation of a new, standalone database that contains the Access-Accept responses received since the feature was enabled.
The following RADIUS attributes are tracked in this database and checked when an Access-Accept response is received:
Framed-IP-Address
Framed-IPv6-Prefix
Delegated-IPv6-Prefix
All of these RADIUS attributes from this list are checked against the database for duplicates and, if none are found, added to the database exactly as presented in the RADIUS attribute.
Examples
The following example enables this feature:
Router (config)# ppp unique address accept-access
pppoe enable
To enable PPP over Ethernet (PPPoE) sessions on an Ethernet interface or subinterface, use the
pppoeenable command in the appropriate configuration mode. To disable PPPoE, use theno form of this command.
pppoeenable
[ groupgroup-name ]
nopppoeenable
Syntax Description
group
(Optional) Specifies a PPPoE profile to be used by PPPoE sessions on the interface.
group-name
(Optional) Name of the PPPoE profile to be used by PPPoE sessions on the interface.
Command Default
PPPoE is disabled by default.
Command Modes
Interface configuration (config-if)
Subinterface configuration (config-subif)
VLAN configuration (vlan)
VLAN range configuration
Command History
Release
Modification
12.1(2)T
This command was introduced.
12.1(5)T
This command was modified to enable PPPoE on IEEE 802.1Q encapsulated VLAN interfaces.
12.2(15)T
The
group keyword and the
group-name argument were added.
12.3(2)T
This command was implemented in VLAN configuration mode and VLAN range configuration mode.
12.3(7)XI3
This command was integrated into Cisco IOS Release 12.3(7)XI3.
12.2(28)SB
This command was integrated into Cisco IOS Release 12.2(28)SB.
12.2(33)SRC
This command was integrated into Cisco IOS Release 12.2(33)SRC.
12.2(33)SB
This command was implemented on the Cisco 10000 series routers.
Cisco IOS XE Release 2.5
This command was integrated into Cisco IOS XE Release 2.5.
Usage Guidelines
If a PPPoE profile is not specified by using the
group option, PPPoE sessions will be established using values from the global PPPoE profile.
PPPoE profiles must be configured using thebba-grouppppoe command.
Examples
Examples
The following example shows how to enable PPoE sessions on Ethernet interface 1/0. PPPoE sessions are established using the PPPoE parameters in the global PPPoE profile.
The following example shows how to enable PPPoE on an 802.1Q VLAN subinterface. PPPoE sessions are established using the PPPoE parameters in PPPoE profile vpn1.
The following example shows how to configure PPPoE over a range of 802.1Q VLANs on Fast Ethernet interface 0/0. The VLAN range is configured on the main interface, and therefore each VLAN will not use up a separate subinterface.
Device(config)# interface fastethernet 0/0
Device(config-if)# no ip address
Device(config-if)# no ip mroute-cache
Device(config-if)# duplex half
Device(config-if)# vlan-range dot1q 20 30
Device(config-if-vlan-range)# pppoe enable group PPPOE
Device(config-if-vlan-range)# exit-vlan-config
Related Commands
Command
Description
bba-grouppppoe
Creates a PPPoE profile.
debugpppoe
Displays debugging information for PPPoE sessions.
sessionsmaxlimit
Configures a PPPoE global profile with the maximum number of PPPoE sessions permitted on a device and sets the PPPoE session-count threshold.
sessionsper-vlanlimit
Specifies the maximum number of PPPoE sessions in each VLAN.
pppoe limit max-sessions
Note
Effective with Cisco IOS Release 12.2(28)SB, the pppoelimitmax-sessions command is replaced by the sessionsmaxlimit command. See the sessionsmaxlimit command for more information.
To specify the maximum number of PPP over Ethernet (PPPoE) sessions that will be permitted on a router, use the pppoelimitmax-sessionscommand in VPDN group configuration mode. To remove this specification, use the no form of this command.
Maximum number of PPPoE sessions that will be permitted on the router. The range is from 0 to the maximum number of interfaces on the router.
threshold-sessions
(Optional) Sets the PPPoE session-count threshold at which a Simple Network Management Protocol (SNMP) trap will be generated.
number-of-sessions
(Optional) Number of PPPoE sessions that will cause an SNMP trap to be generated. The range is from 0 to the maximum number of interfaces on the router.
Command Default
The maximum number of sessions is not set.
Command Modes
VPDN group configuration (config-vpdn)
Command History
Release
Modification
12.2(1)DX
This command was introduced.
12.2(2)DD
This command was integrated into Cisco IOS Release 12.2(2)DD.
12.2(4)B
This command was integrated into Cisco IOS Release 12.2(4)B.
12.2(13)T
This command was integrated into Cisco IOS Release 12.2(13)T.
12.2(28)SB
This command was replaced by the sessionsmaxlimit command.
Usage Guidelines
PPPoE session limits configured using the pppoelimitper-vc, pppoelimitper-vlan, pppoemax-sessions, pppoemax-sessions (VC), and pppoemax-sessions(subinterface) commands take precedence over limits configured for the router using the pppoelimitmax-sessionscommand.
Examples
The following example shows a limit of 100 PPPoE sessions configured for the router:
Displays PPPoE protocol errors that prevent a session from being established or errors that cause an established session to be closed.
pppoelimitper-mac
Specifies the maximum number of PPPoE sessions to be sourced from a MAC address.
pppoelimitper-vc
Specifies the maximum number of PPPoE sessions permitted on all VCs.
pppoelimitper-vlan
Specifies the maximum number of PPPoE sessions permitted on a VLAN.
pppoemax-sessions
Specifies the maximum number of PPPoE sessions permitted on an ATM PVC, PVC range, VC class, or Ethernet subinterface.
pppoe limit per-mac
Note
Effective with Cisco IOS Release 12.2(28)SB, the pppoelimitper-mac command is replaced by the sessionsper-maclimit command. See the sessionsper-maclimit command for more information.
To specify the maximum number of PPP over Ethernet (PPPoE) sessions to be sourced from a MAC address, use the pppoelimitper-mac command in VPDN configuration mode.
pppoelimitper-macnumber
Syntax Description
number
Maximum number of PPPoE sessions that can be sourced from a MAC address.
Command Default
100 sessions
Command Modes
VPDN configuration
Command History
Release
Modification
12.1(1)T
This command was introduced.
12.2(28)SB
This command was replaced by the sessionsper-maclimit command.
Examples
The following example sets a limit of 10 sessions to be sourced from a MAC address:
pppoe limit per-mac 10
Related Commands
Command
Description
pppoelimitper-vc
Specifies the maximum number of PPPoE sessions to be established over a VC.
pppoelimitper-vlan
Specifies the maximum number of PPPoE sessions under each VLAN.
pppoe limit per-vc
Note
Effective with Cisco IOS Release 12.2(28)SB, the pppoelimitper-vc command is replaced by the sessionsper-vclimitcommand. See the sessionsper-vclimit command for more information.
To specify the maximum number of PPP over Ethernet (PPPoE) sessions to be established over a virtual circuit (VC), use the pppoelimitper-vc command in VPDN configuration mode.
pppoelimitper-vcnumber
Syntax Description
number
Maximum number of PPPoE sessions that can be established over an ATM PVC.
Command Default
100 sessions
Command Modes
VPDN configuration
Command History
Release
Modification
12.1(1)T
This command was introduced.
12.2(28)SB
This command was replaced by the sessionsper-vclimit command.
Examples
The following example sets a limit of 10 sessions to be established over a VC:
pppoe limit per-vc 10
Related Commands
Command
Description
pppoelimitmax-sessions
Specifies the maximum number of PPPoE sessions to be sourced from a MAC address.
pppoelimitper-vlan
Specifies the maximum number of PPPoE sessions under each VLAN.
pppoe limit per-vlan
Note
Effective with Cisco IOS Release 12.2(28)SB, the pppoelimitper-vlan command is replaced by the sessionsper-vlanlimit command. See the sessionsper-vlanlimit command for more information.
To specify the maximum number of PPP over Ethernet (PPPoE) sessions permitted under each virtual LAN (VLAN), use the pppoelimitper-vlancommand in VPDN configuration mode. To remove this specification, use the no form of this command.
pppoelimitper-vlannumber
nopppoelimitper-vlan
Syntax Description
number
Maximum number of PPP over Ethernet sessions permitted under each VLAN.
Command Default
100 PPPoE sessions per VLAN
Command Modes
VPDN configuration
Command History
Release
Modification
12.1(5)T
This command was introduced.
12.2(28)SB
This command was replaced by the sessionsper-vlanlimit command.
Usage Guidelines
If the pppoemax-session command is configured on a VLAN, that command will take precedence over the pppoelimitper-vlan command. The pppoelimitper-vlan command applies to all VLANs on which the pppoemax-session command has not been configured.
The pppoelimitper-vlan command must be configured after the accept dial-in VPDN group has been configured using the accept-dialin VPDN configuration command.
Examples
The following example shows a maximum of 200 PPPoE sessions configured for an 802.1Q VLAN subinterface:
Displays PPPoE protocol errors that prevent a session from being established or errors that cause an established session to be closed.
debugvpdnpppoe-events
Displays PPPoE protocol messages about events that are part of normal session establishment or shutdown.
debugvpdnpppoe-packet
Displays each PPPoE protocol packet exchanged.
pppoeenable
Enables PPPoE sessions on an Ethernet interface.
pppoelimitmax-sessions
Specifies the maximum number of PPPoE sessions to be sourced from a MAC address.
pppoelimitper-vc
Specifies the maximum number of PPPoE sessions to be established over a VC.
pppoemax-sessions
Specifies the maximum number of PPPoE sessions permitted under a VLAN.
pppoe max-sessions
To specify the maximum number of PPP over Ethernet (PPPoE) sessions that will be permitted on an ATM permanent virtual circuit (PVC), PVC range, virtual circuit (VC) class, or Ethernet subinterface, use the pppoemax-sessions command in the appropriate mode. To remove this specification, use the no form of this command.
Maximum number of PPPoE sessions that will be permitted. The PPPoE sessions range depends on the device that you use. The range is 1 to 31992 on a Cisco 7200 series device.
Note
The PPPoE session limit in the case of a PVC range applies to each
PVC in the range. This limit is not cumulative on all
PVCs belonging to the range.
threshold-sessions
(Optional) Sets the PPPoE session-count threshold at which a Simple Network Management Protocol (SNMP) trap will be generated.
number-of-sessions
(Optional) Number of PPPoE sessions that will cause an SNMP trap to be generated. The PPPoE sessions range depends on the device that you use. The range is 8500 to the maximum number specified for the PPPoE sessions on a Cisco 7200 series device.
This command was modified to limit PPPoE sessions on ATM PVCs, PVC ranges, and VC classes.
12.2(28)SB
This command was integrated into Cisco IOS Release 12.2(28)SB.
12.2(33)SRC
This command was integrated into Cisco IOS Release 12.2(33)SRC for Ethernet interfaces on the Cisco 7600 SIP-400.
Cisco IOS XE Release 2.5
This command was implemented on Cisco ASR 1000 series routers.
Usage Guidelines
PPPoE sessions can be limited in the following ways:
The pppoelimitmax-sessionscommand limits the total number of PPPoE sessions on the router, regardless of the type of medium the sessions are using.
Note
Effective with Cisco IOS Release 12.2(28)SB, the pppoelimitmax-sessions command is replaced by the sessionsmaxlimit command. See the sessionsmaxlimit command for more information.
Thepppoelimitper-mac command limits the number of PPPoE sessions that can be sourced from a single MAC address. This limit also applies to all PPPoE sessions on the router.
Thepppoelimitper-vc andpppoelimitper-vlancommands limit the number of PPPoE sessions on all PVCs or VLANs on the router.
Thepppoemax-sessions command limits the number of PPPoE sessions on a specific PVC or VLAN. Limits created for a specific PVC or VLAN using the pppoemax-session command take precedence over the global limits created with the pppoelimitper-vcand pppoelimitper-vlancommands.
PPPoE session limits created on an ATM PVC take precedence over limits created in a VC class or ATM PVC range.
Examples
Examples
The following example shows a limit of 200 PPPoE sessions configured for the subinterface:
Displays PPPoE protocol errors that prevent a session from being established or errors that cause an established session to be closed.
pppoelimitmax-sessions
Specifies the maximum number of PPPoE sessions permitted on a router.
pppoelimitper-mac
Specifies the maximum number of PPPoE sessions to be sourced from a MAC address.
pppoelimitper-vc
Specifies the maximum number of PPPoE sessions permitted on all VCs.
pppoelimitper-vlan
Specifies the maximum number of PPPoE sessions permitted on a VLAN.
sessionsmaxlimit
Specifies the maximum number of PPPoE sessions permitted on a router.
pppoe server circuit-id delay
To specify the delay based on the PPP over Ethernet (PPPoE) tag circuit ID client, use thepppoeservercircuit-iddelay command in BBA group configuration mode. To remove the delay, use the no form of this command.
Time in milliseconds for PPPoE Active Discovery Offer (PADO) delay. The time range is between 0 to 9999 milliseconds.
string
Specifies the circuit ID string.
contains
Specifies the partial string match that contains the remote ID string.
circuit-id-string
Circuit ID tag sent by Digital Subscriber Line Access Multiplexer (DSLAM) or the client in the PPPoE Active Discovery Initiation (PADI) packet.
Note
The value for the circuit-id-stringargumentcan contain spaces when enclosed with double quotation marks (for example, circuit ATM1/ 0/ 0 VC 0/100).
Command Default
If no PADO delay is defined or matched, the PADO is transmitted without delay.
Command Modes
BBA group configuration (config-bba-group)
Command History
Release
Modification
12.2(33)SB3
This command was introduced.
Cisco IOS XE Release 2.4
This command was integrated into Cisco IOS XE Release 2.4.
15.0(1)M
This command was integrated into Cisco IOS 15.0(1)M.
Usage Guidelines
Use the pppoeservercircuit-iddelay command to configure a PADO transmission delay per circuit ID. The PPPoE Smart Server Selection feature allows you to configure a specific PADO delay for a received PADI packet. The PADO delay establishes the order in which the Broadband Remote Access Servers (BRASs) respond to PADIs by delaying their responses to particular PADIs as per the delay time specified.
Examples
The following example shows how to configure PADO delay based on the circuit ID:
Router(config)# bba-group pppoe name1
Router(config-bba-group)# pppoe server circuit-id delay 20 string contains TEST
Router(config-bba-group)# pppoe server circuit-id delay 10 string XTH
Router(config-bba-group)# pppoe server circuit-id delay 30 string contains XTH-TEST
Router(config-bba-group)# pado delay 50
Generally, the first match found in the list is considered for the delay value. If the remote ID in the client PPPoE tag contains XTH-TEST, then the delay value is 20. In this case, the first match succeeds and the configuration never reaches a delay of 30. If the remote ID in the client PPPoE tag contains TH-no, then no match is found.
The following example shows how to match the circuit ATM1/ 0/ 0 VC 0/100
string by using a circuit ID or remote ID delay configured for the PPPoE server:
The following examples show the PADO delay configurations using circuit ID:
If the PADI has a circuit ID and a remote ID tag, and the BBA group on the server does not have a circuit ID or remote ID (matching or non-matching) configured, the value configured via padodelaydelay-value is used.
Server example:
Router(config)#bba-group pppoe global
Router(config-bba-group)#virtual-template 1
Router(config-bba-group)#vendor-tag circuit-id service
Router(config-bba-group)#pado delay 3333
Router(config-bba-group)#pado delay circuit-id 1111
Client example:
Router(config)#bba-group pppoe global
Router(config-bba-group)#virtual-template 1
Router(config-bba-group)#test vendor-tag circuit-id string S
If the PADI has a circuit ID tag and the BBA group on the server has a circuit ID configured, but they do not match, the value configured via padodelaycircuit-iddelay-valueis used.
Server example:
Router(config)#bba-group pppoe global
Router(config-bba-group)#virtual-template 1
Router(config-bba-group)#vendor-tag circuit-id service
Router(config-bba-group)#pado delay 3333
Router(config-bba-group)#pado delay circuit-id 1111
Router(config-bba-group)#pppoe server circuit-id delay 2222 string Ethernet1/0:T
Router(config-bba-group)#pppoe server circuit-id string contains TT
Client example:
Router(config)#bba-group pppoe global
Router(config-bba-group)#virtual-template 1
Router(config-bba-group)#test vendor-tag circuit-id string S
If the BBA group on the server has a matching circuit ID configured (partial or strict), the per-circuit-id delay which is configured using the delay argument in the pppoeservercircuit-iddelayvalue string circuit-id-string command:
Server example:
Router(config)#bba-group pppoe global
Router(config-bba-group)#virtual-template 1
Router(config-bba-group)#vendor-tag circuit-id service
Router(config-bba-group)#pado delay 3333
Router(config-bba-group)#pado delay circuit-id 1111
Router(config-bba-group)#pppoe server circuit-id delay 5555 string Ethernet1/0:S
Client example:
Router(config)#bba-group pppoe global
Router(config-bba-group)#virtual-template 1
Router(config-bba-group)#test vendor-tag circuit-id string S
If the BBA group on the server has a matching circuit ID configured (partial or strict), and no delay value is configured for the circuit ID string, the PADO delay value configured with the padodelaycircuit-iddelay-value command is used.
Server example:
Router(config)#bba-group pppoe global
Router(config-bba-group)#virtual-template 1
Router(config-bba-group)#vendor-tag circuit-id service
Router(config-bba-group)#pado delay 3333
Router(config-bba-group)#pado delay circuit-id 1111
Router(config-bba-group)#pppoe server circuit-id string Ethernet1/0:S
Client example:
Router(config)#bba-group pppoe global
Router(config-bba-group)#virtual-template 1
Router(config-bba-group)#test vendor-tag circuit-id string S
If the delay value is configured as zero and "nvgen" is the delay string, the non-volatile generation (NVGEN) process is not executed on the delay string, only if you have not configured the delay while configuring the circuit ID.
If you configure both the partial and strict match strings for a circuit ID, the preference depends on the order in which they are encountered:
Server example:
Router(config)#bba-group pppoe 1
Router(config-bba-group)#virtual-template 1
Router(config-bba-group)#vendor-tag circuit-id service
Router(config-bba-group)#vendor-tag remote-id service
Router(config-bba-group)#pado delay 3333
Router(config-bba-group)#pado delay circuit-id 1111
Router(config-bba-group)#pppoe server circuit-id delay 2222 string contains S
Router(config-bba-group)#pppoe server circuit-id delay 4444 string Ethernet1/0:S
Client example:
Router(config)#bba-group pppoe global
Router(config-bba-group)#virtual-template 1
Router(config-bba-group)#test vendor-tag circuit-id string S
In the case of remote ID configurations, the behavior is the same as described earlier for circuit IDs. If both the remote ID and circuit ID are configured, preference is given to the circuit ID configuration.
If the PADO delay is found to be the maximum allowed value (9999 msec), the PADI is discarded as shown in the example:
Router(config)#bba-group pppoe 1
Router(config-bba-group)#virtual-template 1
Router(config-bba-group)#vendor-tag circuit-id service
Router(config-bba-group)#vendor-tag remote-id service
Router(config-bba-group)#pado delay 3333
Router(config-bba-group)#pado delay circuit-id 1111
Router(config-bba-group)#pppoe server circuit-id delay 9999 string contains S
Router(config)#end
Router#show debug
PPPoE:
PPPoE protocol events debugging is on
PPPoE protocol errors debugging is on
Related Commands
Command
Description
bba-grouppppoe
Creates a PPPoE profile.
padodelay
Establishes the order in which the BRASs respond to PADIs by delaying their responses to particular PADIs as per the delay time specified.
pppoeserverremote-iddelay
Specifies the delay based on the PPPoE tag remote ID client.
virtualtemplate
Configures a PPPoE profile with a virtual template to be used for cloning virtual access interfaces.
pppoe server remote-id delay
To specify the delay to be applied on the PPP over Ethernet (PPPoE) tag remote ID client, use the pppoeserverremote-iddelay command in BBA group configuration mode. To remove the delay, use the no form of this command.
Time in milliseconds for the PPPoE Active Discovery Offer (PADO) delay.
string
Specifies the remote ID string.
contains
(Optional) Specifies the partial string match that contains the remote ID string.
remote-id-string
Remote ID tag sent by Digital Subscriber Line Access Multiplexer (DSLAM) or the client in the PPPoE Active Discovery Initiation (PADI) packet.
Note
The value for the remote-id-stringargumentcan contain spaces when enclosed with double quotation marks (for example, subscr mac 1111.2222.3333).
Command Default
If no PADO delay is defined or matched, the PADO is transmitted without delay.
Command Modes
BBA group configuration (config-bba-group)
Command History
Release
Modification
12.2(33)SB3
This command was introduced.
Cisco IOS XE Release 2.4
This command was integrated into Cisco IOS Release XE 2.4.
15.0(1)M
This command was integrated.
Usage Guidelines
The PPPoE Smart Server Selection feature allows you to configure a specific PADO delay for a received PADI packet. The PADO delay establishes the order in which the Broadband Remote Access Servers (BRASs) respond to PADIs by delaying their responses to particular PADIs by various times.
Use the pppoeserverremote-iddelay command to configure a PADO transmission delay per remote ID.
Examples
The following example shows how to configure PADO delay based on the remote ID:
Router(config)# bba-group pppoe name1
Router(config-bba-group)# pppoe server remote-id delay 20 string contains TEST
Router(config-bba-group)# pppoe server remote-id delay 10 string XTH
Router(config-bba-group)# pppoe server remote-id delay 30 string contains XTH-TEST
Router(config-bba-group)# pado delay 50
Generally, the first match found in the list is considered for the delay value. If the remote ID in the client PPPoE tag contains XTH-TEST, then the delay value is 20. In this case, the first match succeeds and the configuration never reaches a delay of 30. If the remote ID in the client PPPoE tag contains TH-no, then no match is found.
The following example shows how to match the subscr mac 1111.2222.3333
string by using a remote ID delay configured for PPPoE server:
Router(config)# bba-group pppoe server-selection
Router(config-bba-group)# pppoe server remote-id delay 45 string "subscr mac 1111.2222.3333"
Router(config-bba-group)# pado delay remote-id 35
Related Commands
Command
Description
bba-grouppppoe
Creates a PPPoE profile.
pppoeservercircuit-iddelay
Specifies the delay based on the PPPoE tag circuit ID client.
pppoe service
To add a PPP over Ethernet (PPPoE) service name to a local subscriber profile, use the pppoeservice command in subscriber profile configuration mode. To remove a PPPoE service name from a subscriber profile, use the no form of this command.
pppoeserviceservice-name
nopppoeserviceservice-name
Syntax Description
service-name
Name of the PPPoE service to be added to the subscriber profile.
Command Default
A PPPoE service name is not part of a subscriber profile.
This command was integrated into Cisco IOS Release 12.2(28)SB.
Cisco IOS XE 2.3.0
This command was integrated. This command is supported on ASR 1000 series.
Usage Guidelines
A subscriber profile contains a list of PPPoE service names. Use thepppoeservice command to add PPPoE service names to a local subscriber profile.
When you configure PPPoE service selection, you define a RADIUS service profile for each service name, list the service names that you want to advertise in a subscriber profile, and then assign the subscriber profile to a PPPoE profile. The PPPoE server will advertise the service names that are listed in the subscriber profile to each PPPoE client connection that uses the configured PPPoE profile.
Examples
The following example shows PPPoE service names being added to the subscriber profile called "listA":
!
! Configure the AAA default authorization method
aaa new-model
aaa authorization network default local
!
! Configure the subscriber profile
subscriber profile listA
pppoe service isp1
pppoe service isp2
pppoe service isp3
!
! Configure the PPPoE profile
bba-group pppoe group1
virtual-template 1
sessions per-vc 5
service profile listA
!
! Attach the PPPoE profile to a PVC
interface atm1/0.1
pvc 2/200
protocol PPPoE group1
!
Related Commands
Command
Description
clearpppoederived
Clears the cached PPPoE configuration of a PPPoE profile and forces the PPPoE profile to reread the configuration from the assigned subscriber profile.
serviceprofile
Assigns a subscriber profile to a PPPoE profile.
showpppoederived
Displays the cached PPPoE configuration that is derived from the subscriber profile for a specified PPPoE profile.
subscriberprofile
Defines Subscriber Service Switch policy for searches of a subscriber profile database.
pppoe-sessions threshold
To configure the per-physical interface threshold value of the Cisco ASR 1000 Series Aggregation Services Routers, use the pppoe-sessionsthresholdcommand in interface configuration mode. To disable the threshold value, use the no form of this command.
pppoe-sessionsthresholdnumber
nopppoe-sessionsthresholdnumber
Syntax Description
number
Maximum number of permissible PPPoE sessions. Range: 1 to 65535.
Command Default
The per-physical interface threshold value is not set.
Command Modes
Interface configuration (config-if)
Command History
Release
Modification
Cisco IOS XE Release 3.2S
This command was introduced.
Examples
The following example shows how to configure 90 PPPoE sessions as the per-physical threshold value on the Cisco ASR 1000 Series Router:
Configures the global threshold value of the PPPoE session on the Cisco ASR1000 Series Router.
protocol pppoe (ATM VC)
To enable PPP over Ethernet (PPPoE) sessions to be established on permanent virtual circuits (PVCs), use the protocolpppoe command in the appropriate configuration mode. To disable PPPoE, use the no form of this command.
protocolpppoe
[ groupgroup-name | global ]
noprotocolpppoe
[ groupgroup-name | global ]
Syntax Description
group
(Optional) Specifies a PPPoE profile to be used by PPPoE sessions on the interface.
group-name
(Optional) Name of the PPPoE profile to be used by PPPoE sessions on the interface.
global
(Optional) Specifies a global PPPoE profile to be used by PPPoE sessions on the interface.
Command Default
PPPoE is not enabled.
Command Modes
ATM PVC-in-range configuration (cfg-if-atm-range-pvc)
ATM PVC range configuration (config-if-atm-range)
ATM VC class configuration (config-vc-class)
ATM VC configuration (config-if-atm-vc)
Command History
Release
Modification
12.2(15)T
This command was introduced.
12.3(7)XI3
This command was integrated into Cisco IOS Release 12.3(7)XI3.
12.2(28)SB
This command was integrated into Cisco IOS Release 12.2(28)SB.
Cisco IOS XE Release 2.5
This command was implemented on Cisco ASR 1000 series routers.
Usage Guidelines
If a PPPoE profile is not specified by using the groupoption, PPPoE sessions will be established using values from the global PPPoE profile. PPPoE profiles must be configured using thebba-grouppppoe command.
Examples
The following example shows PPPoE configured in virtual circuit (VC) class "class-pppoe-global" and on the range of PVCs from 100 to 109. PVCs that use VC class "class-pppoe-global" will establish PPPoE sessions using the parameters configured in the global PPPoE profile. PVCs in the PVC range will use PPPoE parameters defined in PPPoE profile "vpn1".
Displays debugging information for PPPoE sessions.
sessionsmaxlimit
Configures a PPPoE global profile with the maximum number of PPPoE sessions permitted on a router and sets the PPPoE session-count threshold.
sessionsper-maclimit
Sets the maximum number of PPPoE sessions allowed per MAC address in a PPPoE profile.
sessionsper-vclimit
Sets the maximum number of PPPoE sessions to be established over a VC and sets the PPPoE session-count threshold.
protocol pppovlan dot1q
To configure an ATM PVC to support PPPoE over a specific IEEE 802.1Q VLAN or range of VLANs, use the protocolpppovlandot1q command in ATM VC configuration or VC class configuration mode. To disable ATM PVC support for PPPoE for a specific IEEE 802.1Q VLAN or a range of VLANs, use the no form of this command.
Displays debugging information for PPPoE sessions.
provision code
To specify the provision code to be used by the customer premise equipment (CPE), use the provisioncode command in TR-069 Agent configuration mode.
provisioncodecode-string
Syntax Description
code-string
The provision code.
Command Modes
TR-069 Agent configuration (config-cwmp)
Command History
Release
Modification
12.4(20)T
This command was introduced.
Examples
The following example shows how to specify the provision code to be used by the CPE:
Device(config-cwmp)# provision code ABCD
pvc-in-range
To configure an individual permanent virtual circuit (PVC) within a
PVC range, use thepvc-in-range command in PVC range configuration
mode. To delete the individual PVC configuration, use the
no form of this command.
pvc-in-range [ pvc-name ] [ vpi/vci ]
no pvc-in-range [ pvc-name ] [ vpi/vci ]
Syntax Description
pvc-name
(Optional) Name given to the PVC. The PVC name can have a
maximum of 15 characters.
vpi/
(Optional) ATM network virtual path identifier (VPI) for
this PVC. In the absence of the "/" and a
vpi value, the
vpi value defaults to 0. The
vpi value ranges from 0 to 255.
vci
(Optional) ATM network virtual channel identifier (VCI) for
this PVC. The
vci value ranges from 32 to 2047.
Command Default
No default behavior or values
Command Modes
PVC range configuration (config-if-atm-range)
Command History
Release
Modification
12.1(5)T
This command was introduced.
12.2(28)SB
This command was integrated into Cisco IOS Release
12.2(28)SB.
12.2(33)SRE
This command was integrated into Cisco IOS Release
12.2(33)SRE.
Cisco IOS XE Release 2.5
This command was implemented on Cisco ASR 1000 series
routers.
Usage Guidelines
The
pvc-in-range command defines an individual
PVC within a PVC range and enables PVC-in-range configuration mode.
Examples
In the following example, a PVC called "pppoa" is deactivated. The
PVC "pppoa" is an individual PVC within a configured PVC range.
pvc-in-range pppoa 0/130
shutdown
Related Commands
Command
Description
rangepvc
Defines a range of ATM PVCs.
radius-server vsa send
To configure the network access server (NAS) to recognize and use vendor-specific attributes (VSAs), use the radius-servervsasendcommand in global configuration mode. To restore the default, use the noform of this command.
(Optional) Limits the set of recognized VSAs to only accounting attributes.
authentication
(Optional) Limits the set of recognized VSAs to only authentication attributes.
cisco-nas-port
(Optional) Due to the Internet Engineering Task Force (IETF) requirement for including NAS port information in attribute 87 (Attr87), the Cisco NAS port is obsoleted by default. However, if your servers require this information, then the cisco-nas-port keyword can be used to return the Cisco NAS port VSA.
3gpp2
(Optional) Adds Third Generation Partnership Project 2 (3gpp2) Cisco VSAs to this packet type.
Command Default
NAS is not configured to recognize and use VSAs.
Command Modes
Global configuration (config)
Command History
Release
Modification
11.3T
This command was introduced.
12.2(27)SBA
This command was integrated into Cisco IOS Release 12.2(27)SBA.
12.2(33)SRA
This command was integrated into Cisco IOS Release 12.2(33)SRA. The cisco-nas-port and 3gpp2 keywords were added to provide backward compatibility for Cisco VSAs.
12.2SX
This command is supported in the Cisco IOS Release 12.2SX train. Support in a specific 12.2SX release of this train depends on your feature set, platform, and platform hardware.
Cisco IOS XE
Release 3.3S.
This command was integrated into Cisco IOS XE Release 3.3S.
Usage Guidelines
The IETF draft standard specifies a method for communicating vendor-specific information between the NAS and the RADIUS server by using the VSA (attribute 26). VSAs allow vendors to support their own extended attributes not suitable for general use. The radius-servervsasendcommand enables the NAS to recognize and use both accounting and authentication VSAs. Use the accounting keyword with the radius-servervsasend command to limit the set of recognized VSAs to accounting attributes only. Use the authentication keyword with the radius-servervsasend command to limit the set of recognized VSAs to authentication attributes only.
The Cisco RADIUS implementation supports one vendor-specific option using the format recommended in the specification. The Cisco vendor ID is 9, and the supported option has vendor-type 1, which is named "cisco-avpair." The value is a string with the following format:
protocol : attribute sep value *
In the preceding example, "protocol" is a value of the Cisco "protocol" attribute for a particular type of authorization; "attribute" and "value" are an appropriate attribute-value (AV) pair defined in the Cisco TACACS+ specification; and "sep" is "=" for mandatory attributes and "*" for optional attributes. This solution allows the full set of features available for TACACS+ authorization to also be used for RADIUS.
For example, the following AV pair causes the Cisco "multiple named ip address pools" feature to be activated during IP authorization (during the PPP Internet Protocol Control Protocol (IPCP) address assignment):
cisco-avpair= "ip:addr-pool=first"
The following example causes a "NAS Prompt" user to have immediate access to EXEC commands.
cisco-avpair= "shell:priv-lvl=15"
Other vendors have their own unique vendor IDs, options, and associated VSAs. For more information about vendor IDs and VSAs, see RFC 2138, Remote Authentication Dial-In User Service (RADIUS).
Examples
The following example shows how to configure the NAS to recognize and use vendor-specific accounting attributes:
Router(config)# radius-server vsa send accounting
Related Commands
Command
Description
aaanasportextended
Replaces the NAS-Port attribute with RADIUS IETF attribute 26 and displays extended field information.
range pvc
To define a range of ATM permanent virtual circuits (PVCs), use the
rangepvc command in interface configuration mode or
subinterface configuration mode. To delete the range of ATM PVCs, use the
no form of this command.
range { [rangem-name] }
start-vci [ end-vpi/ ] end-vci
norange [range-name] pvc
Syntax Description
range-name
(Optional) Name of the range. The range name can be a
maximum of 15 characters.
start-vpi/
(Optional) Beginning value for a range of virtual path
identifiers (VPIs). In the absence of the "/" and a
vpi value, the
vpi value defaults to 0. The
vpi value ranges from 0 to 255.
start-vci/
Beginning value for a range of virtual channel identifiers
(VCIs). The
vci value ranges from 32 to 65535.
end-vpi/
(Optional) End value for a range of virtual path
identifiers (VPIs). In the absence of an
end-vpi
value, the end-vpi
value defaults to the start-vpi
value.
The
vpi value ranges from 0 to 255.
end-vci
End value for a range of virtual channel identifiers
(VCIs). The
vci value ranges from 32 to 65535.
This command was integrated into Cisco IOS Release
12.2(28)SB.
12.2(33)SRE
This command was integrated into Cisco IOS Release
12.2(33)SRE.
Cisco IOS XE Release 2.5
This command was implemented on Cisco ASR 1000 series
routers.
Usage Guidelines
The
rangepvccommand defines a range of PVCs and enables PVC range
configuration mode.
The number of PVCs in a range can be calculated using the following
formula:
number of PVCs = (end-vpi -
start-vpi + 1) x (end-vci -
start-vci +1).
The
start-vpi argument may be omitted if it is zero. The
end-vpi
argument may be omitted, but if it is omitted, it is assigned the
value of
start-vpi . The end-vpi and
end-vci arguments are always greater than or equal to
start-vpi and
start-vci
respectively.
When applied to multipoint subinterfaces, the
rangepvc command creates a range of ATM PVCs. When
applied to point-to-point subinterfaces, the
rangepvc command creates range of PVCs and a
corresponding range of point-to-point subinterfaces.
For point-to-point subinterfaces, subinterface numbering begins with
the subinterface on which the PVC range is configured and increases
sequentially through the range.
Examples
Examples
In the following example, 100 PVCs with VCI values from 100 to 199
for each VPI value from 0 to 4 are created for a PVC range called
"range-pppoa-1". This configuration creates a total of 500 PVCs in the range.
PVC parameters are then configured for the range.
In the following example, a PVC range called "range1" is created with
a total of 100 PVCs in the range. A point-to-point subinterface will be created
for each PVC in the range. ATM routed bridge encapsulation is also configured.
interface atm 6/0.200 point-to-point
ip unnumbered loopback 1
atm route-bridged ip
range range1 pvc 1/200 1/299
# end
Related Commands
Command
Description
pvc-in-range
Configures an individual PVC within a PVC range.
rbe nasip
To specify the IP address of an interface on the DHCP relay agent that will be sent to the DHCP server via the agent remote ID option, use the rbenasip command in global configuration mode. To remove the specification, use the no form of this command.
rbenasipinterface-typenumber
norbenasip
Syntax Description
interface-type
Interface type. For more information, use the question mark (?) online help function.
number
Interface or subinterface number. For more information about the numbering syntax for your networking device, use the question mark (?) online help function.
Command Default
No IP address is specified.
Command Modes
Global configuration (config)
Command History
Release
Modification
12.2(2)T
This command was introduced.
12.2(28)SB
This command was integrated into Cisco IOS Release 12.2(28)SB.
15.1(1)S
This command was integrated into Cisco IOS Release 15.1(1)S.
Usage Guidelines
The rbenasip command is used to configure support for the DHCP relay agent information option (option 82) for an ATM routed bridge encapsulation (RBE).
Support for the DHCP relay agent information option must be configured on the DHCP relay agent using the ipdhcprelayinformationoption command for therbenasip command to be effective.
Examples
The following example shows how to enable support for DHCP option 82 on the DHCP relay agent by using the ipdhcprelayinformationoption command. The rbenasip command configures the router to forward the IP address for Loopback0 to the DHCP server. ATM RBE is configured on ATM subinterface 4/0.1.
ip dhcp-server 10.1.1.1
!
ip dhcp relay information option
!
interface Loopback0
ip address 10.5.1.1 255.255.255.0
!
interface ATM 4/0
no ip address
!
interface ATM 4/0.1 point-to-point
ip unnumbered Loopback0
ip helper-address 10.1.1.1
atm route-bridged ip
pvc 88/800
encapsulation aal5snap
!
router eigrp 100
network 10.0.0.0
!
rbe nasip loopback 0
Related Commands
Command
Description
ipdhcprelayinformationoption
Enables the system to insert the DHCP relay agent information option in forwarded BOOT REQUEST messages to a Cisco IOS DHCP server.
relay pppoe bba-group
To configure the PPP over Ethernet (PPPoE) broadband access (BBA) group that responds to PPPoE Active Discovery (PAD) messages, use the relaypppoebba-group command in VPDN group or VPDN template configuration mode. To unconfigure the group, use the no form of this command.
relaypppoebba-grouppppoe-bba-group-name
norelaypppoebba-grouppppoe-bba-group-name
Syntax Description
pppoe-bba-group-name
Name of the PPPoE BBA group.
Command Default
No PPPoE BBA group is configured to respond to PAD messages.
Command Modes
VPDN group configuration
VPDN template configuration
Command History
Release
Modification
12.3(4)T
This command was introduced.
12.2(28)SB
This command was integrated into Cisco IOS Release 12.2(28)SB.
Usage Guidelines
On the router that responds to relayed PAD messages, this command configures a PPPoE group and attaches it to a virtual private dialup network (VPDN) group or VPDN template that accepts dial-in calls for Layer 2 Tunnel Protocol (L2TP). The relayed PAD messages will be passed from the VPDN L2TP tunnel or session to the PPPoE broadband group for receiving the PAD response.
Examples
The following partial example shows how to configure a tunnel switch or L2TP tunnel server to respond to PAD messages. The relaypppoebba-group command configures PPPoE "group-1", which is attached to accept dial-in VPDN group "Group-A".
.
.
.
vpdn-group Group-A
! Configure an L2TP tunnel for PPPoE Relay
accept-dialin
protocol l2tp
.
.
.
terminate-from hostname LAC-1
relay pppoe bba-group group-1
.
.
.
! Configure the PPPoE group to respond to the relayed PAD messages
bba-group pppoe group-1
service profile profile-1
Related Commands
Command
Description
bba-grouppppoe
Creates a PPPoE profile.
vpdn-group
Creates a VPDN group and enters VPDN group configuration mode.
vpdn-template
Creates a VPDN template and enters VPDN template configuration mode.
request outstanding
To set the count for the number of requests that can be sent by the customer premise equipment (CPE) to the auto-configuration server (ACS) without receiving an acknowledgement, use the requestoutstanding command in TR-069 Agent configuration mode.
requestoutstandingrequest-count
Syntax Description
request-count
The count for the number of requests. The range for the request count is 0 to 10. The default value is 5.
Command Default
The count is set to 5.
Command Modes
TR-069 Agent configuration (config-cwmp)
Command History
Release
Modification
12.4(20)T
This command was introduced.
Examples
The following example shows how to set the count to 6 for the number of requests that can be sent by the CPE to the ACS without receiving an acknowledgement:
Device(config-cwmp)# request outstanding 6
rx-speed
To configure the required speed on the ATM virtual circuit (VC) carrying the PPPoX session, and to transfer this information into attribute-value (AV) pair 38 from the Layer 2 Tunnel Protocol (L2TP) Access Concentrator (LAC) to the L2TP network server (LNS) for asymmetric digital subscriber line (DSL) sessions, use the rx-speedcommand in PVC class, PVC-in-range, or PVC range configuration mode. To reset the variable to have the same value as that passed in AVP 24, use the no form of this command.
rx-speedincoming-cell-rate
norx-speed
Syntax Description
incoming-cell-rate
Incoming cell rate for L2TP AVP 38, in kb/s.
Command Default
The same value as that passed in AVP 24.
Command Modes
PVC-class (config-if-atm-vc)
PVC-in-range (cfg-if-atm-range-pvc)
PVC range (config-if-atm-range)
Command History
Release
Modification
12.3(11)T
This command was introduced.
12.2(33)SRE
This command was modified. It was integrated into Cisco IOS Release 12.2(33)SRE.
Usage Guidelines
To allow L2TP to send AVP 38 with the required value from LAC to LNS for DSL services, use the rx-speedcommand in PVC, PVC-in-range, or PVC range configuration mode.
The configured speed is transported to the LNS, which validates the session within AVP 24 and AVP 38.
Examples
The following examples show how L2TP sends AVP 38 with the required value to the LNS in PVC-class, PVC range, and PVC-in-range configuration modes:
Configures the AAL and encapsulation type for an ATM VC, VC class, VC, bundle, or PVCs.
pvc
Creates or assigns a name to an ATM PVC, to specify the encapsulation type on an ATM PVC, and to enter ATM VC configuration mode.
pvc-in-range
Configures an individual PVC within a PVC range.
rangepvc
Defines a range of ATM PVCs.
service deny
To deny service for the Subscriber Service Switch (SSS) policy, use the servicedenycommand in subscriber profile configuration mode. To remove the configuration, use the no form of this command.
servicedeny
noservicedeny
Syntax Description
This command has no arguments or keywords.
Command Default
This command is disabled by default.
Command Modes
Subscriber profile configuration
Command History
Release
Modification
12.3(4)T
This command was introduced.
Usage Guidelines
The servicedeny command denies service to a subscriber for the SSS policy defined with the subscriberprofilecommand..
Examples
The following example denies service to users in the domain cisco.com:
!
subscriber profile cisco.com
service deny
Related Commands
Command
Description
servicelocal
Enables local termination service for the SSS policy.
servicerelay
Enables relay of PAD messages over an L2TP tunnel.
servicevpdngroup
Provides VPDN service for the SSS policy.
subscriberprofile
Defines the SSS policy for searches of a subscriber profile database.
vpdn-group
Associates a VPDN group to a customer or VPDN profile.
service local
To define local termination service for the Subscriber Service Switch (SSS) policy, use the servicelocalcommand in subscriber profile configuration mode. To remove the service, use the no form of this command.
servicelocal
noservicelocal
Syntax Description
This command has no arguments or keywords.
Command Default
This command is enabled by default.
Command Modes
Subscriber profile configuration
Command History
Release
Modification
12.3(4)T
This command was introduced.
Usage Guidelines
The servicelocalcommand is used to configure local termination service for the SSS policy defined with the subscriberprofilecommand.
Examples
The following example provides local termination service to users in the domain cisco.com:
!
subscriber profile cisco.com
service local
Related Commands
Command
Description
servicedeny
Denies service for the SSS policy.
servicerelay
Enables relay of PAD messages over an L2TP tunnel.
servicevpdngroup
Provides VPDN service for the SSS policy.
subscriberprofile
Defines the SSS policy for searches of a subscriber profile database.
vpdn-group
Associates a VPDN group to a customer or VPDN profile.
service name match
To force the Point to Point Protocol over Ethernet (PPPoE) server to match the service name received in the PPPoE Active Discovery Initiation (PADI) message, use the servicenamematch command in BBA group configuration mode. To disable the configuration, use the no form of this command.
servicenamematch
noservicenamematch
Syntax Description
This command has no arguments or keywords.
Command Default
No services are configured.
Command Modes
BBA group configuration (config-bba-group)
Command History
Release
Modification
12.2(33)SB
This command was introduced.
Usage Guidelines
This command forces the PPPoE server to match the service-name received in the PADI message from the PPPoE client, to one of the PPPoE service names in the policy map type service list with its name configured as service profile before it responds. When a match is found, a Point Protocol over Ethernet
Active Discovery Offer
(PADO) message is returned to the PPPoE client in response to the PADI message received.
Examples
The following example illustrates service name match configuration:
Router(config)# bba-group pppoename1
Router(config-bba-group)# service profilelist1
Router(config-bba-group)# service name match
Router(config-bba-group)# policy-map type servicelist1
Router(config-bba-group)# pppoe service name
Router(config-bba-group)# pppoe service name1
The following example illustrates how the PPPoE service profile is configured. The service name match requires the requested service to match either service-1 or another-service:
Router(config)# bba-group pppoename1
Router(config-bba-group)# service profilelist1
Router(config-bba-group)# service name match
Router(config-bba-group)# policy-map type servicelist1
Router(config-bba-group)# pppoe serviceservice-1
Router(config-bba-group)# pppoe serviceanother-service
Related Commands
Command
Description
pppoeservice
Adds a PPPoE service name to a local subscriber profile.
bba-grouppppoe
Creates a PPPoE profile
policy-maptypeservice
Creates or modifies a service policy map, which is used to define an ISG subscriber service.
service netflow timeout
To configure NetFlow PXF timers for active and inactive flow entries in the Cisco IOS NetFlow cache on the Cisco 10000 series router, use the servicenetflowtimeoutcommand in global configuration mode.
servicenetflowtimeout
[ active | inactive ]
value
Syntax Description
active
Specifies the NetFlow PXF timeout for active flow entries.
inactive
Specifies the NetFlow PXF timeout for inactive flow entries.
value
Specifies the NetFlow PXF timeout, in seconds. Range is from 0 to 4292967295.
Command Default
No default behavior or values
Command Modes
Global configuration
Command History
Release
Modification
12.2(28)SB2
This command was introduced in Cisco IOS Release 12.2(28)SB2 and implemented on the Cisco 10000 series router.
Usage Guidelines
This command is not supported for customer use without Cisco Technical Assistance Center (TAC) authorization.
If you configure the timers, the router does not retain your settings on PXF or Performance Routing Engine (PRE) reloads. On PXF and PRE reloads, the active timeout reverts to 60 seconds and the inactive timeout to 15 seconds.
We recommend that the active timeout value be larger than the inactive timeout value. Also, we recommend that you do not configure the inactive timeout lower than 15 seconds to prevent the sending of excessive flow records from the PXF to the Route Processor (RP).
The service internal command is required to configure the NetFlow PXF timers.
Examples
The following example shows how to set the NetFlow PXF active timeout to 90 seconds:
Router> enable
Router# configure terminal
Router(config)# service internal
Router(config)# service netflow timeout active 90
Router(config)# end
Related Commands
Command
Description
showipcacheflow
Displays a summary of NetFlow accounting statistics.
service profile
To assign a subscriber profile to a PPP over Ethernet (PPPoE) profile, use the serviceprofile command in BBA group configuration mode. To remove a subscriber profile assignment from a PPPoE profile, use the no form of this command.
Name of the subscriber profile to be assigned to a PPPoE profile.
refresh
(Optional) Causes the cached PPPoE configuration to be timed out and reread from the subscriber profile.
minutes
Number of minutes after which the cached PPPoE configuration will be timed out. The range is from 2 to 44640 minutes. There is no default.
Command Default
A subscriber profile is not assigned to a PPPoE profile.
Command Modes
BBA group configuration (config-bba-group)#
Command History
Release
Modification
12.3(4)T
This command was introduced.
Cisco IOS XE 2.3.0
This command was integrated. This command is supported on ASR 1000 series.
Usage Guidelines
A subscriber profile contains a list of PPPoE service names. Use theserviceprofile command to assign a subscriber profile to a PPPoE profile. The PPPoE server will advertise the service names that are listed in the subscriber profile to each PPPoE client connection that uses the configured PPPoE profile.
A subscriber profile can be configured locally on the router or remotely on a AAA server. The PPPoE configuration that is derived from a subscriber profile is cached locally under the PPPoE profile. Use the serviceprofile command with the refresh keyword and the minutes argument to cause the cached PPPoE configuration to be timed out after a specified number of minutes. When the cached PPPoE configuration is timed out, the PPPoE profile rereads the configuration in the subscriber profile.
Examples
The following example shows how to assign a subscriber profile called "customer_tunnels" to a PPPoE profile called "group_A":
!
! Configure the AAA default authorization method
aaa new-model
aaa authorization network default group radius
!
! Configure the PPPoE profile
bba-group pppoe group_A
virtual-template 1
sessions per-vc 5
service profile customer_tunnels
!
! Attach the PPPoE profile to PVCs
interface atm1/0.1
pvc 2/200
protocol PPPoE group pppoe_group_A
!
interface atm1/0.2
pvc 3/300
protocol PPPoE group pppoe_group_A
Related Commands
Command
Description
bba-grouppppoe
Creates a PPPoE profile.
clearpppoederived
Clears the cached PPPoE configuration of a PPPoE profile and forces the PPPoE profile to reread the configuration from the assigned subscriber profile.
serviceprofile
Assigns a subscriber profile to a PPPoE profile.
showpppoederived
Displays the cached PPPoE configuration that is derived from the subscriber profile for a specified PPPoE profile.
subscriberprofile
Defines Subscriber Service Switch policy for searches of a subscriber profile database.
service relay
To enable relay of PPPoE Active Discovery (PAD) messages over a Layer 2 Tunnel Protocol (L2TP) tunnel, use the servicerelaycommand in subscriber profile configuration mode. To disable message relay, use the no form of this command.
servicerelaypppoevpdngroupvpdn-group-name
noservicerelaypppoevpdngroupvpdn-group-name
Syntax Description
pppoe
Provides relay service using PPP over Ethernet (PPPoE) using a virtual private dialup network (VPDN) L2TP tunnel for the relay.
vpdngroupvpdn-group-name
Provides VPDN service by obtaining the configuration from a predefined VPDN group.
Command Default
This command is disabled by default.
Command Modes
Subscriber profile configuration
Command History
Release
Modification
12.3(4)T
This command was introduced.
12.2(28)SB
This command was integrated into Cisco IOS Release 12.2(28)SB.
Usage Guidelines
The servicerelaycommand is configured as part of a subscriber profile. The subscriber profile name is obtained based on the authorization key specified in the serviceprofilePPPoE broadband access (BBA) group configuration command. See the "Examples" section for clarification.
Examples
The following example configures the group named Sample1.net to contain outgoing tunnel information for the relay of PAD messages over an L2TP tunnel:
subscriber profile profile-1
! Configure profile for PPPoE Relay
service relay pppoe vpdn group Sample1.net
!
bba-group pppoe group-1
virtual-template 1
service profile profile-1
Related Commands
Command
Description
bba-grouppppoe
Creates a PPPoE profile.
service
Configures the type of service that will be granted to a subscriber.
serviceprofile
Assigns a subscriber profile to a PPPoE profile.
subscriberprofile
Defines the SSS policy for searches of a subscriber profile database.
sessions threshold
To configure the global threshold value of PPP over Ethernet (PPPoE) sessions on the Cisco ASR 1000 Series Aggregation Services Router, use the sessionsthreshold command in BBA group configuration mode. To disable the global threshold value, use the no form of this command.
sessionsthresholdnumber
nosessionsthresholdnumber
Syntax Description
number
Maximum number of permissible PPPoE sessions. Range: 1 to 65535.
Command Default
The global threshold value is not set.
Command Modes
BBA group configuration (config-bba-group)
Command History
Release
Modification
Cisco IOS XE Release 3.2S
This command was introduced.
Examples
The following example shows how to configure 1000 PPPoE sessions as the global threshold value on the CiscoASR 1000 router:
Configures the per-physical interface threshold value of the ASR1000 router.
service vpdn group
To provide virtual private dialup network (VPDN) service for the Subscriber Service Switch policy, use the
servicevpdngroup command in subscriber profile configuration mode. To remove VPDN service, use the
no form of this command.
servicevpdngroupvpdn-group-name
noservicevpdngroupvpdn-group-name
Syntax Description
vpdn-group-name
Provides the VPDN service by obtaining the configuration from a predefined VPDN group.
Command Default
This command is disabled by default.
Command Modes
Subscriber profile configuration
Command History
Release
Modification
12.3(4)T
This command was introduced.
Usage Guidelines
The
servicevpdngroup command provides VPDN service by obtaining the configuration from a predefined VPDN group for the SSS policy defined with the
subscriberprofile command.
Examples
The following example provides VPDN service to users in the domain cisco.com and uses VPDN group 1 to obtain VPDN configuration information:
!
subscriber profile cisco.com
service vpdn group 1
The following example provides VPDN service to dialed number identification service (DNIS) 1234567 and uses VPDN group 1 to obtain VPDN configuration information:
!
subscriber profile dnis:1234567
service vpdn group 1
The following example provides VPDN service using a remote tunnel (used on the multihop node) and uses VPDN group 1 to obtain VPDN configuration information:
!
subscriber profile host:lac
service vpdn group 1
Related Commands
Command
Description
servicedeny
Denies service for the SSS policy.
servicelocal
Enables local termination service for the SSS policy.
servicerelay
Enables relay of PAD messages over an L2TP tunnel.
subscriberprofile
Defines the SSS policy for searches of a subscriber profile database.
vpdn-group
Associates a VPDN group to a customer or VPDN profile.
sessions max limit
To configure the PPP over Ethernet (PPPoE) global profile with the maximum number of PPPoE sessions that will be permitted on a router and to set the PPPoE session-count threshold at which a Simple Network Management Protocol (SNMP) trap will be generated, use the sessionsmaxlimitcommand in BBA group configuration mode. To remove these settings, use the no form of this command.
Maximum number of PPPoE sessions that will be permitted on the router. The range is from 0 to the total number of interfaces on the router.
threshold
(Optional) Sets the PPPoE session-count threshold at which an SNMP trap will be generated.
number-of-sessions
(Optional) Number of PPPoE sessions that will cause an SNMP trap to be generated. The range is from 0 to the total number of interfaces on the router.
Command Default
There is no default number of sessions.
The default threshold value is the configured number of sessions.
Command Modes
BBA group configuration (config-bba-group)
Command History
Release
Modification
12.2(15)T
This command was introduced.
12.3(7)XI3
This command was integrated into Cisco IOS Release 12.3(7)XI3.
12.2(28)SB
This command was integrated into Cisco IOS Release 12.2(28)SB.
Cisco IOS XE Release 2.5
This command was implemented on Cisco ASR 1000 series routers.
Usage Guidelines
This command can be used only in a global PPPoE profile.
The snmp-serverenabletrapspppoe command must be configured in order for SNMP traps to be generated when the PPPoE session-count threshold is reached.
Examples
The following example shows the global PPPoE profile configured with a maximum PPPoE session limit of 8000 sessions. The PPPoE session-count threshold is set at 7000 sessions, so when the number of PPPoE sessions on the router reaches 7000, an SNMP trap will be generated.
Sets the maximum number of PPPoE sessions allowed per MAC address in a PPPoE profile.
sessionsper-vclimit
Sets the maximum number of PPPoE sessions permitted over a VC and sets the PPPoE session-count threshold.
sessionsper-vlanlimit
Sets the maximum number of PPPoE sessions per VLAN in a PPPoE profile.
snmp-serverenabletrapspppoe
Enables PPPoE session-count SNMP notifications.
sessions per-mac iwf limit
To set the maximum number of Interworking Functionality (IWF) sessions allowed per MAC address in a PPP over Ethernet (PPPoE) profile, use the sessionsper-maciwflimitcommand in BBA group configuration mode. To remove this setting, use the no form of this command.
sessionsper-maciwflimitper-mac-limit
nosessionsper-maciwflimitper-mac-limit
Syntax Description
per-mac-limit
Maximum number of PPPoE sessions that can be sourced from a MAC address.
Command Default
The normal MAC address session limit (default is 100 sessions) is applied to IWF sessions.
Command Modes
BBA group configuration
Command History
Release
Modification
12.2(31)SB2
This command was introduced.
12.2(33)SRC
This command was integrated into Cisco IOS Release 12.2(33)SRC.
Usage Guidelines
Use the sessionsper-maciwflimitcommand to configure a PPPoE profile with the maximum number of IWF-specific sessions allowed per MAC address.
You cannot configure PPPoE session limits in PPPoE profiles and in virtual private dialup network (VPDN) groups simultaneously. You also cannot configure session limits in PPPoE profiles and directly on PPPoE ports (Ethernet interface, VLAN, or permanent virtual circuit [PVC]) simultaneously.
Examples
The following example shows a limit of two PPPoE sessions per MAC address configured in the global PPPoE profile:
bba-group pppoe global
virtual-template 1
sessions max limit 8000 threshold-sessions 7000
sessions per-vc limit 8
sessions per-mac iwf limit 2
Related Commands
Command
Description
bba-grouppppoe
Enters BBA group configuration mode and creates a PPPoE profile.
sessionsmaxlimit
Configures a PPPoE global profile with the maximum number of PPPoE sessions that will be permitted on a router and sets the PPPoE session-count threshold.
sessionsper-vclimit
Sets the maximum number of PPPoE sessions to be established over a VC in a PPPoE profile and sets the PPPoE session-count threshold.
sessionsper-vlanlimit
Sets the maximum number of PPPoE sessions per VLAN in a PPPoE profile.
sessions per-mac limit
To set the maximum number of PPP over Ethernet (PPPoE) sessions allowed per MAC address in a PPPoE profile, use the sessionsper-maclimitcommand in BBA group configuration mode. To remove this setting, use the no form of this command.
sessionsper-maclimitper-mac-limit
nosessionsper-maclimit
Syntax Description
per-mac-limit
Maximum number of PPPoE sessions that can be sourced from a MAC address. The default is 100 sessions.
Command Default
The default limit is 100 sessions per-MAC.
Command Modes
BBA group configuration (config-bba-group)
Command History
Release
Modification
12.2(15)T
This command was introduced.
12.3(7)XI3
This command was integrated into Cisco IOS Release 12.3(7)XI3.
12.2(28)SB
This command was integrated into Cisco IOS Release 12.2(28)SB.
Cisco IOS XE Release 2.4
This command was introduced on Cisco ASR 1000 Series Aggregation Service Routers.
Usage Guidelines
Use the sessionsper-maclimitcommand to set the maximum number of PPP over Ethernet (PPPoE) sessions allowed per MAC address in a PPPoE profile.
You cannot configure PPPoE session limits in PPPoE profiles simultaneously. You also cannot configure the PPPoE profiles directly on PPPoE ports (Ethernet interface, VLAN, or permanent virtual circuit (PVC)) simultaneously.
Examples
The following example shows a limit of two PPPoE sessions per MAC address configured in the global PPPoE profile:
bba-group pppoe global
virtual-template 1
sessions per-mac limit 2
Related Commands
Command
Description
bba-grouppppoe
Creates a PPPoE profile.
sessionsmaxlimit
Configures a PPPoE global profile with the maximum number of PPPoE sessions that will be permitted on a router and sets the PPPoE session-count threshold.
sessionsper-vclimit
Sets the maximum number of PPPoE sessions to be established over a VC in a PPPoE profile and sets the PPPoE session-count threshold.
sessionsper-vlanlimit
Sets the maximum number of PPPoE sessions per VLAN in a PPPoE profile.
sessions per-vc limit
To set the maximum number of PPP over Ethernet (PPPoE) sessions to be established over a virtual circuit (VC) in a PPPoE profile and to set the PPPoE session-count threshold at which a Simple Network Management Protocol (SNMP) trap will be generated, use the sessionsper-vclimitcommand in BBA group configuration mode. To remove this specification, use the no form of this command.
Configures a PPPoE global profile with the maximum number of PPPoE sessions that will be permitted on a router and sets the PPPoE session-count threshold.
sessionsper-maclimit
Sets the maximum number of PPPoE sessions allowed per MAC address in a PPPoE profile.
sessionsper-vlanlimit
Sets the maximum number of PPPoE sessions per VLAN in a PPPoE profile.
snmp-serverenabletrapspppoe
Enables PPPoE session-count SNMP notifications.
sessions per-vlan limit
To specify the maximum number of PPP over Ethernet (PPPoE) sessions permitted per VLAN in a PPPoE profile, use the sessionsper-vlanlimitcommand in BBA group configuration mode. To remove this specification, use the no form of this command.
Configures a PPPoE global profile with the maximum number of PPPoE sessions that will be permitted on a router and sets the PPPoE session-count threshold.
sessionsper-maclimit
Sets the maximum number of PPPoE sessions allowed per MAC address in a PPPoE profile.
sessionsper-vclimit
Sets the maximum number of PPPoE sessions to be established over a VC in a PPPoE profile and sets the PPPoE session-count threshold.
sessions pre-auth limit ignore
To enable the local session limit configured on the BRAS or LAC to override the per-NAS-port session limit downloaded from the RADIUS server when Subscriber Service Switch (SSS) preauthorization is configured, use the sessions pre-auth limit ignore command in BBA group configuration mode. To disable the function, use the no form of this command.
sessionspre-authlimitignore
nosessionspre-authlimitignore
Syntax Description
This command has no arguments or keywords.
Command Default
The session limit downloaded from RADIUS takes precedence over the local limit.
Command Modes
BBA group configuration mode
Command History
Release
Modification
12.4(15)T
This command was introduced.
12.2(33)SB
This command was integrated into Cisco IOS Release 12.2(33)SB.
Cisco IOS XE Release 2.1
Ths command was introduced on the Cisco ASR 1000 Series Routers.
Usage Guidelines
The sessions pre-auth limit ignore command is used to enable the PPPoE Session Limit Local Override feature. This feature is useful only when you have configured SSS preauthorization on the BRAS or LAC. If preauthorization is not enabled, the sessions pre-auth limit ignore command has no effect.
When the subscriber access pppoe pre-authorize nas-port-id command is enabled (that is, SSS preauthorization on the LAC is enabled), the PPPoE per-NAS-port session limit downloaded from the RADIUS customer profile database overrides any session limit per VC and per VLAN that you have configured locally.
When the sessions pre-auth limit ignore command is used and SSS preauthorization is configured, the LAC handles the session limit checking as if the subscriber access pppoe pre-authorize nas-port-id command were disabled; that is, the locally configured per-VC or per-VLAN session limit is applied instead of downloading the PPPoE per-NAS-port session limits that are maintained in the RADIUS server.
If you specify the sessions pre-auth limit ignore command and enable preauthorization, but there are no locally configured per-port session limits, then per-NAS-port session limits downloaded from RADIUS are applied.
Examples
The following example enables the local session limit configured on the LAC to override the per-NAS-port session limit configured on the RADIUS server for the PPPoE profile "vpn1":
The following example re-enables the standard functionality of the the subscriber access pppoe pre-authorize nas-port-id command for the PPPoE profile "vpn1":
Router(config)# bba-group pppoe vpn1
Router(config-bba-group)# no sessions pre-auth limit ignore
Related Commands
Command
Description
bba-group pppoe
Creates a PPPoE profile.
subscriberaccessppoepre-authorizenas-port-id
Configures a NAS to enable SSS to preauthorize the NAS port identifier (NAS-Port-ID) string before authorizing the domain name.
sessions per-vlan throttle
To control and throttle the number of PPP over Ethernet (PPPoE) session establishment attempts per MAC address in a particular VLAN, use the sessionsper-vlanthrottle command in BBA group configuration mode. To disable this configuration, use the no form of this command.
Maximum number of discovery attempts per VLAN for a given MAC address.
session-length
Permitted time in seconds for the maximum number of sessions per VLAN.
session-delay
The time in seconds that further PPPoE session establishment attempts are blocked from the MAC address.
Command Default
No configuration to throttle the PPPoE sessions per VLAN.
Command Modes
BBA group configuration (config-bba-group)
Command History
Release
Modification
12.2(33)SB
This command was introduced.
Cisco IOS XE Release 2.4.0
This command was integrated. The throttlekeyword
was added.
Usage Guidelines
This command is used to throttle PPPoE discovery attempts in an aggregation deployment when multiple CPEs share the same MAC address, in different VLANs. It allows a per-VLAN throttling mechanism on a per-MAC address basis. The sessionsper-macthrottle command works in a Broadband Aggregation System (BRAS) global scenario, since the same MAC address is seen in different VLANs.
If the value specified in the number-of-sessionsargument, in a time-interval defined by the session-lengthargument is exceeded on a particular VLAN, then the particular MAC address is throttled for the period specified in the session-delayargument.
Examples
In the following example, a maximum of 100 sessions can be established on each MAC address on each VLAN, in 5 seconds, with a 5-second delay, before a new session request is allowed. The 101st session request causes a 5-second delay before a new session request is allowed:
Router(config)# bba-group pppoe global
Router(config-bba-group)# sessions per-vlanthrottle 100 5 5
Related Commands
Command
Description
sessionsper-macthrottle
Limits the number of PPPoE session requests that can be made from a single MAC address.
sessionsper-vcthrottle
Limits the number of PPPoE session requests that can be made from a single VC.
session retry limit
To set the session retry count. Whenever a TR-069 Agent session establishment fails with the auto-configuration server (ACS), the session will be retried for a specified number of times. Use the sessionretrylimit command in TR-069 Agent configuration mode.
sessionretrylimitsession-count
Syntax Description
session-count
The number of retry count sessions. The range for the session count is 0 to 15. The default value is 11.
Command Default
The session retry count is set to 11.
Command Modes
TR-069 Agent configuration mode (config-cwmp)
Command History
Release
Modification
12.4(20)T
This command was introduced.
Examples
The following example shows how to set the session retry count to 10 whenever a TR-069 Agent session establishment fails with the ACS:
Device(config-cwmp)# session retry limit 10
sessions throttle
To configure PPP over Ethernet (PPPoE) connection throttling, which limits the number of PPPoE session requests that can be made from a Virtual Circuit (VC) or a Media Access Control (MAC) address within a specified period of time, use the sessionsthrottle command in BBA group configuration mode. To remove this limit, use the no form of this command.
Limits the number of PPPoE session requests that can be made from a single MAC address.
per-vc
Limits the number of PPPoE session requests that can be made from a single VC.
per-vlan
Limits the number of PPPoE session requests that can be made from a single VLAN.
session-requests
Number of PPPoE session requests that will be allowed within a specified period of time. Range is from 1 to 100000.
session-request-period
Period of time, in seconds, during which a specified number of PPPoE session requests will be allowed. Range is from 1 to 3600.
blocking-period
Period of time, in seconds, during which PPPoE session requests will be blocked. This period begins when the number of PPPoE session requests from a VC, VLAN, or MAC address exceeds the configured session-requests value within the configured session-request-period. Range is from 0 to 3600.
Command Default
The number of PPPoE session requests that can be made within a specific period of time is not limited.
Command Modes
BBA group configuration (config-bba-group)
Command History
Release
Modification
12.2(15)T
This command was introduced.
12.2(28)SB
This command was integrated into Cisco IOS Release 12.2(28)SB.
Cisco IOS XE Release 2.4
This command was integrated into Cisco IOS XE Release 2.4. The per-vlankeyword was added.
Usage Guidelines
Continuous requests to initiate PPPoE sessions can seriously affect the performance of a router and RADIUS server. Use the sessionsthrottle command to configure the PPPoE server to limit the number of requests for PPPoE sessions that can be made from a MAC address or VC during a configured period of time.
If a client exceeds the configured number of allowable session requests (session-requests) within the configured time limit (session-request-period), the PPPoE server accepts only the allowable number of session requests and blocks the MAC address or VC from making any more requests for a configured period of time (blocking-period).
After the blocking-period expires, the PPPoE server will again accept the configured number of session requests from the MAC address or VC within the configured session-request-period.
Note
All the Interworking Functionality (IWF) sessions may have a similar mac adddress. The sessionsper-maciwflimit command enables you to define how many sessions can be terminated per mac with an IWF tag set.
Note
The sessionsper-macthrottle command is applicable to both IWF and non-IWF sessions. Throttling per mac on IWF sessions can seriously affect the call setup for such sessions as each IWF session may use the same MAC address. Therefore it is not recommended to throttle the IWF sessions.
Examples
The following example shows the configuration of per-MAC, per-VC, and per-VLAN PPPoE connection throttling in PPPoE profile "grp1":
bba-group pppoe grp1
virtual-template 1
sessions per-mac throttle 10 60 300
sessions per-vc throttle 100 30 300
sessions per-vlan throttle 50 60 300
interface ATM2/0.1 multipoint
pvc 2/100
encapsulation aal5snap
protocol pppoe group grp1
interface virtual-template1
ip address negotiated
no peer default ip address
ppp authentication chap
Related Commands
Command
Description
bba-grouppppoe
Creates a PPPoE profile.
sessionsper-maclimit
Sets the maximum number of PPPoE sessions allowed per MAC address in a PPPoE profile.
sessionsper-vclimit
Sets the maximum number of PPPoE sessions to be established over a VC in a PPPoE profile and sets the PPPoE session-count threshold.
sessionsper-vlanlimit
Sets the maximum number of PPPoE sessions to be established over a VLAN in a PPPoE profile and sets the PPPoE session-count threshold.