> - Downloads
> - l2tp policy
> - Related Topics
> - Setting a Statistics Baseline for Policies

> # l2tp policy

> #### Syntax

> l2tp policy { input | output } policyName [ statistics
> { enabled | disabled } [ merge ]

> no l2tp policy { input | output }

> #### Release Information

> Command introduced before JUNOSe Release 7.1.0.
> merge keyword added in JUNOSe Release 7.2.0.

> #### Description

> Assigns an L2TP policy list to a profile, which then assigns the policy to an interface. If you enter the l2tp policy command and the policy list does not exist, the router creates a policy list with no rules, the default. Attaching this policy list to an interface filters all packets on that interface. You must specify the input or output keyword to assign the policy list to the ingress or egress of the interface. The no version removes the association between a policy list and a profile.

> #### Options

> - input—Applies policy to data arriving at the interface
> - output—Applies policy to data leaving the interface
> - policyName—Name of the policy; maximum of 40 characters
> - statistics—Enables or disables collection of policy routing statistics
>   - enabled—Enables collection of policy routing statistics
>   - disabled—Disables collection of policy routing statistics
> - merge—Enables merging of multiple policies to form a single policy

> #### Mode

> Profile Configuration

> #### Published: 2009-10-09

> Copyright © 2009, Juniper Networks, Inc. All rights reserved. Trademark Notice.