# avp

#### Syntax

avp avpType action

no avp avpType

#### Release Information

Command introduced in JunosE Release 7.2.0.

#### Description

Configures the L2TP tunnel switching behavior for a specified L2TP AVP type. The no version restores the default L2TP tunnel switching behavior for AVPs of the specified type.

#### Options

- avpType—One of the following L2TP AVPs
  - bearer-type—L2TP Bearer Type AVP 18; by default, the router regenerates this AVP at the outbound LAC session, based on the local policy that is in effect
  - calling-number—L2TP Calling Number AVP 22; by default, the router regenerates this AVP at the outbound LAC session, based on the local policy that is in effect
  - cisco-nas-port—Cisco NAS Port Info AVP 100; by default, the router drops this AVP
- action—One of the following actions that characterize the tunnel switching behavior; currently, only the relay action is supported
  - relay—Causes the router to preserve the value of an incoming AVP of the specified type when packets are switched between an inbound LNS session and an outbound LAC session

#### Mode

L2TP Tunnel Switch Profile Configuration