Checking historical operation records on an S series switch

23

By default, an S series switch (except the S1700) saves a maximum of 10 historical commands for each user. You can run the history-command max-size size-value command in the user interface view to reset the number of historical commands that can be saved. The maximum number is 256.

You can also run the display history-command [ all-users ] command in any view to check historical commands stored on a switch.
Note:
If all-users is not specified in this command, the historical commands entered by the current user are displayed.
If all-users is specified in this command, the historical commands entered by all users are displayed. (Only users at level 3 or a higher level can specify this parameter in this command.)

Other related questions:
How to check historical login records of L2TP VPN users on the AR
The AR does not support query of historical login records of L2TP VPN users.

How to use logs to view operation records on S series switches
To record operation commands in logs on S series switches (except the S1700), run the following command: info-center source SHELL channel logbuffer log level debugging state on You can then run the display logbuffer command to view the commands executed after you log in to the device.

Check DHCP information on S series switches
Method to check DHCP information on S series switches: - Run the display ip pool [ name ip-pool-name [ start-ip-address [ end-ip-address ] | all | conflict | expired | used ] ] command to check address allocation in interface address pool mode. - Run the display ip pool [ name ip-pool-name [ start-ip-address [ end-ip-address ] | all | conflict | expired | used ] ] command to check address allocation in global address pool mode. - Run the display dhcp server database command to check the names and directories of files in which DHCP data is saved. - Run the display nat-policy template [ template-name ] command to check the configuration of the DHCP Option template. - Run the display dhcp relay { all | interface interface-type interface-number } command to check DHCP server or DHCP server group information on the interface configured with the DHCP relay function. - Run the display dhcp server group [ group-name ] command to check the configuration of the DHCP server group. - Run the display dhcp client command to check information about DHCP clients. - Run the display dhcp server statistics command to check statistics on received and sent DHCP packet by the switch used as the DHCP server. - Run the display dhcp relay statistics command to check statistics on received and sent DHCP packet by the switch used as the DHCP relay agent. - Run the display dhcp client statistics [ interface interface-type interface-number ] command to check statistics on received and sent DHCP packet by the switch used as the DHCP client. - Run the display dhcp statistics command to check statistics on received and sent DHCP packet by the switch.

Checking configurations of an S series switch
You can run the following commands to check configuratio of an S series switch (except the S1700): 1. Run the display current-configuration command to check the current valid configurations. This command does not display parameters that use default settings. 2. Run the display saved-configuration command to check the configuration file to be used for the next startup. 3. Run the display startup command to check the system software, backup system software, configuration file, license file, patch file, and voice file for the current and next startup.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top