Syntax
tx-connect-speed-method method;
Hierarchy Level
[edit services l2tp]
Description
Specify the method that determines how to derive
the connect speed values sent from the LAC to the LNS.
When the session is being established, the speeds are included
in the Incoming-Call-Connected (ICCN) message. The transmit speed
is conveyed in AVP 24 (Tx-Connect-Speed) and the receive speed is
conveyed in AVP 38 (Rx-Connect-Speed). Both values are in bits per
seconds (bps). The LAC typically uses the static
or pppoe-ia-tags
method, because values for other configured methods
are not available when the session is being established.
When connect speed updates are configured, the LAC sends the
updated values for each session to the LNS in Connect-Speed-Update-Notification
(CSUN) messages. The updated speeds are conveyed in the Connect Speed
Update AVP (97).
When connection speed values are not available from the configured
method, the LAC falls back to another source for the values. See L2TP Subscriber Access Lines and Connection Speeds for tables describing the LAC fallback behavior
by Junos OS release.
Options
method |
Method used to derive the connection speed values.
actual —(Junos OS Releases 15.1, 16.1,
16.2, 17.1) The speed is derived from the CoS effective shaping rate
that is enforced on the level 3 node based on local policy. In the
supported releases, actual is the default method and has
the highest preference among all configured methods.
This method is not available starting in Junos OS Release 17.2.
However, it is configurable in the Tunnel-Tx-Speed-Method VSA (26-94).
If you do so, it is translated to the service-profile method.
ancp —The speed is derived from the configured
ANCP value for the underlying interface. This value results from a
user-defined percentage correction to the values received from the
access node; this is configured per subscriber access line. The percentage
accounts for encapsulation differences between, the router, the access
loop, and the Layer 1 transport overhead. The initial rate sent to
the LNS is the ANCP value reported at the time the ICCN is sent. The
ANCP value is not available for the ICCN message and falls over to
another method. You can change the configured correction after a subscriber
has logged in, but those changes do not affect the actual rate used
by the LNS for that subscriber.
none —This method prevents the LAC from
sending AVP 24 and AVP 38 to the LNS. This option also overrides the
Juniper Networks RADIUS VSAs, Tx-Connect-Speed (26-162) and Rx-Connect-Speed
(26-163).
pppoe-ia-tags —The speed is derived from
the PPPoE IA tags received by the LAC from the DSLAM. This speed value
is transmitted when a subscriber logs in and it cannot subsequently
be changed. The value of Actual-Data-Rate-Downstream (VSA 26-129)
is used for AVP 24. The value of Actual-Data-Rate-Upstream (VSA 26-130)
is used for AVP 38; it is sent only when the values differ.
Note: This speed derived from the IA tags does not apply to
subscribers that are already logged in; it is effective only for subscribers
that log in after this setting has been saved.
service-profile —(Junos OS Releases 17.2
and higher) The downstream (Tx) speed is derived from the actual CoS
that is enforced on the L3 node based on local policy. The upstream
(Rx) speed is the value configured in the dynamic service profile;
no adjustment is made to this value. The service-profile value is
not available for the ICCN message and falls over to another method.
The service-profile method is supported only when
the effective shaping-rate statement is included at the [edit chassis] hierarchy level. If it is not, the commit check
fails. If the method is received from RADIUS in VSA 26-94, a system
log message is generated instead, because no commit check is performed
in this case.
static —(Junos OS Releases 13.3, 14.1,
and 14.2; Junos OS Releases 17.2 and higher) The speed is derived
from the configured static Layer 2 speed. For Ethernet VLANs, this
is the recommended (advisory) shaping rate configured on the PPPoE
logical interface underlying the subscriber interface. If the advisory
shaping rate is not configured on the underlying interface, then the
actual speed of the underlying physical port is used. In the supported
releases, static is the default method.
In Junos OS Releases 15.1, 16.1, 16.2, and 17.2, the static method is configurable for backward compatibility, but it is not
supported. If you configure this method in the CLI or in the Tunnel-Tx-Speed-Method
VSA (26-94), the LAC falls back to the port speed of the subscriber
access interface.
Note: For ge and xe interfaces, the port speed value is set
to 1,000,000,000 and for ae interfaces, the port speed value is set
to 0. The value is sent in both AVP 24 and AVP 38.
Default:
static (Starting in Junos OS Release 17.2)
actual (Junos OS Releases 15.1, 16.1, 16.2,
17.1)
static (Junos OS Releases 13.3, 14.1, and 14.2)
|
Required Privilege Level
interface—To view this statement
in the configuration.
interface-control—To add this statement to
the configuration.
Release Information
Statement introduced in Junos OS Release
11.4.
Options ancp, pppoe-ia-tag, and static introduced in Junos OS Release
13.1.
Option static
deprecated in Junos OS Release 15.1.
Options actual and none added in Junos OS Release 15.1.
Option actual
deprecated in Junos OS Release 17.2.
Option service-profile
added in Junos OS Release
17.2.
Option static
undeprecated in Junos OS Release 17.2.