lastlogin
lastlogin
Description: Show user last login time
Command Mode: exec : Exec Mode
Command Path:
# lastlogin
The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
Description: Show user last login time
Command Mode: exec : Exec Mode
Command Path:
# lastlogin
Description: Device Host Name
Syntax:
|
privacy |
Privacy |
|
privacyVal |
privacyVal |
Command Mode: configure : Configuration Mode
Command Path:
# configure [['terminal', 't']]
(config)# license smart hostname privacy <privacyVal>
Description: Certificate of CSSM, CSSM Satellite or Transport Gateway
Syntax:
|
used-by |
Used By |
|
Callhome or SA Certificate |
Callhome or SA Certificate |
|
<certificate> |
Content of certificate |
Command Mode: configure : Configuration Mode
Command Path:
# configure [['terminal', 't']]
(config)# license smart import certificate used-by <Callhome or SA Certificate> <certificate>
Description: Remove certificate
Syntax:
|
certificate |
Certificate of CSSM, CSSM Satellite or Transport Gateway |
|
<certificate> |
Content of certificate |
Command Mode: configure : Configuration Mode
Command Path:
# configure [['terminal', 't']]
(config)# license smart remove certificate <certificate>
Description: Renew authorization of Smart Licenses in use
Command Mode: configure : Configuration Mode
Command Path:
# configure [['terminal', 't']]
(config)# license smart renew auth
Description: Renew registration with Smart Licensing
Command Mode: configure : Configuration Mode
Command Path:
# configure [['terminal', 't']]
(config)# license smart renew id
Description: Cancel a smart license reservation request
Command Mode: configure : Configuration Mode
Command Path:
# configure [['terminal', 't']]
(config)# license smart reservation cancel
Description: Enable Permanent License Reservation
Command Mode: configure : Configuration Mode
Command Path:
# configure [['terminal', 't']]
(config)# license smart reservation enable
Description: Install a smart license authorization code
Syntax:
|
<key> |
The authorization key from the CSSM |
Command Mode: configure : Configuration Mode
Command Path:
# configure [['terminal', 't']]
(config)# license smart reservation install <key>
Description: Request a license reservation
Syntax:
|
universal |
Request a universal license reservation |
Command Mode: configure : Configuration Mode
Command Path:
# configure [['terminal', 't']]
(config)# license smart reservation request universal
Description: Return permanent license
Command Mode: configure : Configuration Mode
Command Path:
# configure [['terminal', 't']]
(config)# license smart reservation return
Description: Return permanent license install code
Syntax:
|
<authorization code> |
The authorization code |
Command Mode: configure : Configuration Mode
Command Path:
# configure [['terminal', 't']]
(config)# license smart reservation return_auth <authorization code>
Description: Enable audit logs to the policy
Command Mode: syslog : Syslog policy configuration mode
Command Path:
# configure [['terminal', 't']]
(config)# syslog <common>
(config-syslog)# logging audit
Description: Add description for syslog common
Syntax:
|
WORD |
Description (Max Size 128) surrounded by single quotes |
Command Mode: syslog : Syslog policy configuration mode
Command Path:
# configure [['terminal', 't']]
(config)# syslog <common>
(config-syslog)# logging description <WORD>
Description: Enable event logs to the policy
Command Mode: syslog : Syslog policy configuration mode
Command Path:
# configure [['terminal', 't']]
(config)# syslog <common>
(config-syslog)# logging event
Description: Enable fault logs to the policy
Command Mode: syslog : Syslog policy configuration mode
Command Path:
# configure [['terminal', 't']]
(config)# syslog <common>
(config-syslog)# logging fault
Description: Logging server group configuration
Syntax:
|
WORD |
Logging server-group name (Max Size 64) |
Command Mode: syslog : Syslog policy configuration mode
Command Path:
# configure [['terminal', 't']]
(config)# syslog <common>
(config-syslog)# logging server-group <WORD>
Description: Enable session logs to the policy
Command Mode: syslog : Syslog policy configuration mode
Command Path:
# configure [['terminal', 't']]
(config)# syslog <common>
(config-syslog)# logging session
Description: Configure minimum severity level for logs generated
Syntax:
|
alerts |
Alerts |
|
critical |
Critical |
|
debugging |
Debugging |
|
emergencies |
Emergencies |
|
errors |
Errors |
|
information |
Information |
|
notifications |
Notifications |
|
warnings |
Warnings |
Command Mode: syslog : Syslog policy configuration mode
Command Path:
# configure [['terminal', 't']]
(config)# syslog <common>
(config-syslog)# logging severity alerts|critical|debugging|emergencies|errors|information|notifications|warnings
Description: Syslog send message command
Syntax:
|
severity |
The severity level for the logs |
|
severity |
severity |
|
dest-grp |
Remote destination group |
|
WORD |
Logging server-group name (Max Size 64) |
|
server |
Remote destination name |
|
Remote Dest Name |
The hostname or ipaddress |
|
Syslog message |
Message sent to syslog server |
Command Mode: exec : Exec Mode
Command Path:
# logit severity <severity> dest-grp <WORD> server <Remote Dest Name> <Syslog message>
Description: Source node
Syntax:
|
severity |
The severity level for the logs |
|
severity |
severity |
|
dest-grp |
Remote destination group |
|
WORD |
Logging server-group name (Max Size 64) |
|
server |
Remote destination name |
|
Remote Dest Name |
The hostname or ipaddress |
|
Syslog message |
Message sent to syslog server |
|
Source node |
leaf or spine node. Number range from=0 to=9223372036854775807 |
Command Mode: exec : Exec Mode
Command Path:
# logit severity <severity> dest-grp <WORD> server <Remote Dest Name> <Syslog message> node <Source node>