# radius calling-station-format

#### Syntax

radius calling-station-format { delimited | fixed-format [ stacked ] | fixed-format-adapter-embedded [ stacked ] | fixed-format-adapter-new-field [ stacked ] }

no radius calling-station-format

#### Release Information

Command introduced before JunosE Release 7.1.0.
fixed-format-adapter-embedded and fixed-format-adapter-new-field keywords added in JunosE Release 8.1.0.

stacked keyword added in JunosE Release 9.3.0.

#### Description

On a virtual router, specifies the format of RADIUS attribute 31, Calling-Station-Id, when the PPP user is terminated at the non-LNS E Series router. Depending on the keyword you use, the virtual router uses the specified format for each interface type, replacing variables in the format with their actual values for your configuration. The no version restores the default Calling-Station-Id format, delimited.

#### Options

- delimited—Specifies that the RADIUS client uses the delimited format:
  - Format for ATM interfaces:
    delimiter systemName delimiter interfaceDescription delimiter
    VPI delimiter VCI
  - Format for Ethernet interfaces:
    delimiter systemName delimiter interfaceDescription delimiter VLAN
- fixed-format—Specifies that the RADIUS client uses a fixed format of up to 15 characters consisting of all ASCII fields:
  - 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-format-adapter-embedded—Specifies that the RADIUS client uses 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 routers 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, adapter is always shown as 0.
  - Slot numbers 0 through 16 are shown as ASCII characters in the 1-byte slot field.
- fixed-format-adapter-new-field—Specifies that the RADIUS client uses 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, adapter is always shown as 0.
  - Slot numbers 0 through 16 are shown as integers in the 2-byte slot field.
- stacked—Includes a 4-byte stacked VLAN (S-VLAN ID) for Ethernet interfaces when the RADIUS client uses the fixed-format, fixed-format-adapter-embedded, or fixed-format-adapter-new-field format; 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-format:
    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-format-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-format-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