
13-24
Cisco Intrusion Prevention System Sensor CLI Configuration Guide for IPS 5.0
78-16527-01
Chapter 13 Administrative Tasks for the Sensor
Displaying Command History
Displaying Command History
Use the
show history
command to obtain a list of the commands you have entered in the current menu.
The maximum number of commands in the list is 50.
To obtain a list of the commands you have used recently, follow these steps:
Step 1
Log in to the CLI.
Step 2
Show the history of the commands you have used in EXEC mode:
sensor#
show history
clear line
configure terminal
show history
Step 3
Show the history of the commands you have used in network access mode:
sensor#
configure terminal
sensor (config)#
service network-access
sensor (config-net)#
show history
show settings
show settings terse
show settings | include profile-name|ip-address
exit
show history
sensor (config-net)#
Displaying Hardware Inventory
Use the
show inventory
command to display PEP information. This command displays the UDI
information that consists of the PID, the VID, and the SN of your sensor.
PEP information provides an easy way to obtain the hardware version and serial number through the CLI.
The
show inventory
command does not apply to the following platforms:
•
IDSM-2
•
NM-CIDS
•
IDS-4210
•
IDS-4215
•
IDS-4235
•
IDS-4250
To display PEP information, follow these steps:
Step 1
Log in to the CLI.
Step 2
Display the PEP information:
sensor#
show inventory
Name: "Chassis", DESCR: "IPS 4255 Intrusion Prevention Sensor"
PID: IPS-4255-K9, VID: V01 , SN: JAB0815R017