Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show dot1x accounting attribute

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show dot1x accounting attribute

Description

Display the RADIUS accounting attributes sent by the switch, operating as the network access server (NAS), to the RADIUS accounting server. RADIUS accounting attributes convey information that is used to account for a service provided to an authenticated user. The user session statistics are recorded by the accounting server in an accounting log file.

RADIUS accounting attributes are included in Accounting-Request messages sent from the switch to the accounting server. Attribute information is created only if the data for the attribute is available.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show dot1x accounting-attributes command. Output fields are listed in the approximate order in which they appear.

Table 1: show dot1x accounting attribute Output Fields

Field Name

Field Description

Accounting attributes

Shows the value for the RADIUS accounting attributes sent from the NAS to the server. An attribute is displayed only if data is available for that attribute value. The following RADIUS accounting attributes are supported:

  • User-Name—The name of the authenticated user.

  • NAS-Port—The physical port number of the NAS which is authenticating the user.

  • Framed-IP-Address—The IP address of the authenticated user.

  • Filter-ID—The name of the filter list for the authenticated user.

  • Framed-MTU—The maximum transmission unit that can be configured for user.

  • Client-System-Name—This is a vendor-specific attribute (VSA) used to indicate the client host name. Supported for LLDP-capable devices only.

  • Session-Timeout—The maximum number of seconds that a session will stay active before termination of the session or prompt.

  • Called-Station-ID—Allows the NAS to send the phone number that the user called, using Dialed Number Identification (DNIS) or similar technology.

  • Calling-Station-ID—Allows the NAS to send the phone number that the call came from, using Dialed Number Identification (DNIS) or similar technology.

  • NAS-Identifier—Contains a string identifying the NAS originating the Accounting-Request.

  • Acct-Status-Type—Indicates whether this Accounting-Request marks the beginning of the user session (Start) or the end (Stop). Can also be used for an interim update (Interim-Update).

  • Acct-Authentic—Indicates whether the user was authenticated locally (Local), by the RADIUS server (RADIUS), or by another remote authentication protocol (Remote).

  • Acct-Session-ID—A unique ID for a specific accounting session that can be used to match start and stop records for a session in the log file.

  • Event-Timestamp—Records the time an event occurred.

  • NAS-Port-ID—The port of the NAS that is authenticating the user.

  • Framed-IPv6-Address—The IPv6 address of the authenticated user.

Sample Output

show dot1x accounting-attributes

content_copy zoom_out_map
user@switch> show dot1x accounting-attributes

Accounting Attribute:
      Calling Station Id:               88-e0-f3-1f-c5-e0
      Called station Id:                00-10-94-00-00-02
      Framed Ipv6 Address               :2001:db8:0:1:2a0:a514:0:24d
      Accounting Session ID:            8O2.1x812f00250002dcc6
      Client System Name:               AVX149485
      Session-Timeout:                  120s
      Framed-MTU: 	                     492
      Acct-Authentic:                   RADIUS
      Nas-Port-ID                       ge-0/0/5.0

Release Information

Command introduced in JUNOS Release 16.1 .

footer-navigation