Configuring CoS for L2TP Tunnels on Ethernet Interfaces
The Layer 2 Tunneling Protocol (L2TP) is often used to carry traffic securely between an L2TP Network Server (LNS) to an L2TP Access Concentrator (LAC). CoS is supported for L2TP session traffic to a LAC on platforms configured as an LNS that include egress IQ2 and IQ2E Ethernet PICs.
This feature is supported on the following platforms:
EX Series switches
M7i and M10i routers
To configure CoS for L2TP on Ethernet interfaces:
Configure L2TP services on the Ethernet interface.
On the Ethernet interface, enable session-aware CoS for L2TP sessions.[[edit interfaces interface-name unit logical-unit-number]user@host# set per-session-scheduler
Configure the traffic manager in the IQ2 or IQ2E PIC to enable per-session CoS support.[edit chassis fpc slot-number pic pic-number]user@host# set traffic-manager mode-session-shaping
(Optional) To fine tune the system, you may also set the traffic-manager mode to session-shaping and configure the value of ingress-shaping-overhead parameter from 50 through 130 depending on your network requirement.[edit chassis fpc slot-number pic pic-number]user@host# set traffic-manager ingress-shaping-overhead value mode-session-shaping
If you deactivate or delete the primary Ethernet interface on which the L2TP tunnel is configured, the tunnel with sessions having CoS is torn down.
After CoS is enabled for L2TP tunnels on Ethernet interface, you can run the show class-of-service l2tp-session command to verify the mapping of CoS with the configured L2TP session.