To support the credit-based flow control extensions described in [RFC–4938],
PPPoE peers can now grant each other forwarding credits. The grantee can
forward traffic to the peer only when it has a sufficient number of credits to do
so. When credit-based forwarding is used on both sides of the session, the radio
client can control the flow of traffic by limiting the number of credits it grants
to the router.
The
interfaces
statement includes a new radio-router attribute that replaces the
resource-component-variables
attribute. The
radio-router
attribute contains the
parameters used for rate-based scheduling and OSPF link cost calculations. It
also includes a new
credit
attribute to indicate that credit-based packet scheduling
is supported on the PPPoE interfaces that reference this underlying interface.
Interfaces that set the
encapsulation
attribute support the PPPoE Active Discovery
Grant (PADG) and PPPoE Active Discovery Credit (PADC) messages in the same
way that the attribute provides active support for the PPPoE Active Discovery
Quality (PADQ) message.
The
credit interval
parameter controls how frequently the router generates credit
announcement messages. For PPPoE this corresponds to the interval between
PADG credit announcements for each session.
For example:
[edit interfaces ge-0/0/1]
unit 0 {
encapsulation ppp-over-ether;
radio-router {
credit {
interval 10;
}
bandwidth 80;
threshold 5;
}
}
NOTE:
The
resource-component-variables
attribute has been deprecated, but has an
alias to the
radio-router
variable to minimize impact on existing routers that may
have been configured previously.
To display PPPoE credit-flow information:
user@host>
show pppoe interface detail
pp0.51 Index 73
State: Session up, Session ID: 3,
Service name: None,
Configured AC name: None, Session AC name: None,
Remote MAC address: 00:22:83:84:2e:81,
Session uptime: 00:05:48 ago,
Auto-reconnect timeout: Never, Idle timeout: Never,
Underlying interface: ge-0/0/4.1 Index 72
PADG Credits: Local: 12345, Remote: 6789, Scale factor: 128 bytes
PADQ Current bandwidth: 750 Kbps, Maximum 1000 Kbps
Quality: 85, Resources 65, Latency 100 msec.
Dynamic bandwidth: 3 Kbps
New Features in JUNOS Release 10.1 for SRX Series Services Gateways and J Series Services Routers
■
115
New Features in JUNOS Release 10.1 for SRX Series Services Gateways and J Series Services Routers