[Contents] [Prev] [Next] [Index] [Report an Error]

# aaa tunnel calling-number-format

#### Syntax

aaa tunnel calling-number-format
{ descriptive [ include-agent-circuit-id ] [ include-agent-remote-id ] |
fixed [ stacked ] |
fixed-adapter-embedded [ stacked ] |
fixed-adapter-new-field [ stacked ] |
include-agent-circuit-id [ include-agent-remote-id ] |
include-agent-remote-id }

no aaa tunnel calling-number-format

#### Release Information

Command introduced before JUNOSe Release 7.1.0.
include-agent-circuit-id and include-agent-remote-id keywords added in JUNOSe Release 8.1.0.

stacked keyword added in JUNOSe Release 9.3.0.

fixed-adapter-embedded and fixed-adapter-new-field keywords added in JUNOSe Release 10.0.0.

#### Description

Configures the format used by the E Series L2TP access concentrator (LAC) to generate the L2TP Calling Number attribute value pair (AVP) 22 that it passes to the L2TP network server (LNS). Available formats include different fixed formats and several formats that include either or both of the agent-circuit-id (suboption 1) and agent-remote-id (suboption 2) suboptions of the PPPoE intermediate agent tags. The no version restores the default calling number format, descriptive.

#### Options

- descriptive—Formats calling number AVP in descriptive format that includes only interface information
- descriptive include-agent-circuit-id—Formats calling number AVP in descriptive format to include interface information and the agent-circuit-id suboption
- descriptive include-agent-circuit-id include-agent-remote-id—Formats calling number AVP in descriptive format to include interface information and both the agent-circuit-id and agent-remote-id suboptions
- descriptive include-agent-remote-id—Formats calling number AVP in descriptive format to include interface information and the agent-remote-id
- fixed—Formats calling number AVP to use a fixed format of up to 15 characters consisting of all ASCII fields, similar to the fixed format of RADIUS attribute 31 (Calling-Station-Id):
  - Format for ATM interfaces:
    systemName (up to 4 bytes) slot (2 bytes) port (1 byte) VPI (3 bytes)
    VCI (5 bytes)
  - Format for Ethernet interfaces:
    systemName (up to 4 bytes) slot (2 bytes) port (1 byte) VLAN (8 bytes)
  - Format for serial interfaces:
    systemName (up to 4 bytes) slot (2 bytes) port (1 byte) 0 (8 bytes)
  - In the case of PPP terminated from LNS, the Calling-Station-Id attribute is the value passed as the calling-station AVP.
- fixed-adapter-embedded—Formats calling number AVP to use a fixed format of up to 15 characters consisting of all ASCII fields with a 1-byte slot field, 1-byte adapter field, and 1-byte port field:
  - Format for ATM interfaces:
    systemName (up to 4 bytes) slot (1 byte) adapter (1 byte) port (1 byte)
    VPI (3 bytes) VCI (5 bytes)
  - Format for Ethernet interfaces:
    systemName (up to 4 bytes) slot (1 byte) adapter (1 byte) port (1 byte)
    VLAN (8 bytes)
  - Format for serial interfaces:
    systemName (up to 4 bytes) slot (1 byte) adapter (1 byte) port (1 byte)
    0 (8 bytes)
  - For E120 and E320 routers, adapter is the number of the bay in which the I/O adapter (IOA) resides, either 0 (representing the right IOA bay on the E120 router and the upper IOA bay on the E320 router) or 1 (representing the left IOA bay on the E120 router or the lower IOA bay on the E320 router). For ERX7xx models, ERX14xx models, and ERX310 routers, which do not use IOAs, adapter is always shown as 0.
  - Slot numbers 0 through 16 are shown as ASCII characters in the 1-byte slot field.
- fixed-adapter-new-field—Formats calling number AVP to use a fixed format of up to 17 characters consisting of all ASCII fields with a 2-byte slot field, 1-byte adapter field, and 2-byte port field:
  - Format for ATM interfaces:
    systemName (up to 4 bytes) slot (2 bytes) adapter (1 byte) port (2 bytes)
    VPI (3 bytes) VCI (5 bytes)
  - Format for Ethernet interfaces:
    systemName (up to 4 bytes) slot (2 bytes) adapter (1 byte) port (2 bytes) VLAN (8 bytes)
  - Format for serial interfaces:
    systemName (up to 4 bytes) slot (2 bytes) adapter (1 byte) port (2 bytes)
    0 (8 bytes)
  - For E120 routers and E320 routers, adapter is the number of the bay in which the IOA resides, either 0 or 1. For ERX7xx models, ERX14xx models, and ERX310 routers, which do not use IOAs, adapter is always shown as 0.
  - Slot numbers 0 through 16 are shown as integers in the 2-byte slot field.
- include-agent-circuit-id—Formats calling number AVP to include only the agent-circuit-id suboption
- include-agent-circuit-id include-agent-remote-id—Formats calling number AVP to include both the agent-circuit-id and agent-remote-id suboptions
- include-agent-remote-id—Formats calling number AVP to include only the agent-remote-id suboption
- stacked—Includes a 4-byte stacked VLAN (S-VLAN) ID in the fixed, fixed-adapter-embedded, and fixed-adapter-new-field calling number AVP formats for Ethernet interfaces; by default, these formats do not include the S-VLAN ID unless you specify the optional stacked keyword:
  - Format for Ethernet interfaces that use fixed:
    systemName (up to 4 bytes) slot (2 bytes) port (1 byte) S-VLAN (4 bytes) VLAN (4 bytes)
  - Format for Ethernet interfaces that use fixed-adapter-embedded:
    systemName (up to 4 bytes) slot (1 byte) adapter (1 byte) port (1 byte) S-VLAN (4 bytes) VLAN (4 bytes)
  - Format for Ethernet interfaces that use fixed-adapter-new-field:
    systemName (up to 4 bytes) slot (2 bytes) adapter (1 byte) port (2 bytes) S-VLAN (4 bytes) VLAN (4 bytes)

#### Mode

Global Configuration

[Contents] [Prev] [Next] [Index] [Report an Error]