Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents

show security user-identification local-authentication-table

date_range 18-Nov-24

Syntax

content_copy zoom_out_map
show security user-identification local-authentication-table [ ( all [brief | extensive]) |ip-address ip-address | role role-name | start value | count value | user user-name] 

Description

This command displays the content of the local authentication table by IP address.

all

(Optional) All entries displayed from the beginning of the table or from the specified starting entry.

brief

(Default) Uses a tabular format and truncates longer entries: username—displays up to 13 characters, roles—displays up to 32 characters.

extensive

(Optional) Displays the full names and all items.

count value

(Optional) The total number of entries to display.

ip-address ip-address

(Optional) The IP address of the entry to display.

role role-name

(Optional) The role name of the entries to display.

start value

(Optional) The first entry to display.

user user-name

(Optional) The username of the entry to display.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show security user-identification local-authentication-table command. Output fields are listed in the approximate order in which they appear.

Table 1: show security user-identification local-authentication-table Output Fields

Field Name

Field Description

Total entries

The number of entries in the table.

IP address

IP address of the associated user.

Note:

Only one user can be associated with an IP address.

Username

User associated with the specified IP address. Username is case insensitive in local authenitcation table.

Roles

A comma-separated list of all roles associated with this IP address and user. Role names are case insensitive in local authentication table.

Sample Output

show security user-identification local-authentication-table all

content_copy zoom_out_map
user@host> show security user-identification local-authentication-table all 
Total entries: 3
Source IP       Username     Roles
192.0.2.1       user1        role1                           
203.0.113.2     user1        role2                           
198.51.100.3    user3        role1, role2

show security user-identification local-authentication-table ip-address

content_copy zoom_out_map
user@host> show security user-identification local-authentication-table ip-address 203.0.113.2
Ip-address: 203.0.113.2
    Username: user2
    Roles: role2, role3, role1

show security user-identification local-authentication-table start

content_copy zoom_out_map
user@host> show security user-identification local-authentication-table start 2 count 2
Total entries: 2
    Ip-address: 203.0.113.2
    Username: user2
    Roles: role2, role3, role1

    Ip-address: 198.51.100.3    Username: user3
    Roles: role2, role3

show security user-identification local-authentication-table role

content_copy zoom_out_map
user@host> show security user-identification local-authentication-table role qa3456
Total entries: 3
    Ip-address: 203.0.113.2
    Username: dev-grp-3
    Roles: qa432, qa3456, qa84, qa794

    Ip-address: 198.51.100.3
    Username: dev-qa
    Roles: qa3456, qa3985, qa23

    Ip-address: 203.0.113.2
    Username: brandall
    Roles: qa3456

Release Information

Command introduced in Junos OS Release 12.1.

footer-navigation