L Commands

lastlogin

lastlogin

Description: Show user last login time

Command Mode: exec : Exec Mode

Command Path:


# lastlogin

license smart hostname

license smart hostname privacy <privacyVal>

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>

license smart import certificate

license smart import certificate used-by <Callhome or SA Certificate> <certificate>

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>

license smart remove

license smart remove 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>

license smart renew auth

license smart renew auth

Description: Renew authorization of Smart Licenses in use

Command Mode: configure : Configuration Mode

Command Path:


# configure [['terminal', 't']]
(config)# license smart renew auth

license smart renew id

license smart renew id

Description: Renew registration with Smart Licensing

Command Mode: configure : Configuration Mode

Command Path:


# configure [['terminal', 't']]
(config)# license smart renew id

license smart reservation cancel

license smart reservation cancel

Description: Cancel a smart license reservation request

Command Mode: configure : Configuration Mode

Command Path:


# configure [['terminal', 't']]
(config)# license smart reservation cancel

license smart reservation enable

license smart reservation enable

Description: Enable Permanent License Reservation

Command Mode: configure : Configuration Mode

Command Path:


# configure [['terminal', 't']]
(config)# license smart reservation enable

license smart reservation install

license smart reservation install <key>

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>

license smart reservation request

license smart reservation request universal

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

license smart reservation return

license smart reservation return

Description: Return permanent license

Command Mode: configure : Configuration Mode

Command Path:


# configure [['terminal', 't']]
(config)# license smart reservation return

license smart reservation return auth

license smart reservation return_auth <authorization code>

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>

logging audit

logging audit

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

logging description

logging description <WORD>

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>

logging event

logging event

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

logging fault

logging fault

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

logging server-group

logging server-group <WORD>

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>

logging session

logging session

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

logging severity

logging severity alerts|critical|debugging|emergencies|errors|information|notifications|warnings

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

logit

logit severity <severity> dest-grp <WORD> server <Remote Dest Name> <Syslog message>

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>

logit severity dest-grp server node

logit severity <severity> dest-grp <WORD> server <Remote Dest Name> <Syslog message> node <Source node>

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>