FIRST REVIEW—CISCO CONFIDENTIAL
16-20
Cisco Intrusion Prevention System Sensor CLI Configuration Guide for IPS 7.2
OL-29168-01
Chapter16 Working With Configuration Files
Displaying the Contents of a Logical File
Use the more keyword command to display the contents of a logical file, such as the current system
configuration or the saved backup system configuration.
The following options apply:
keyword—Specifies either the current-config or the ba ckup-config:
current-config—Specifies the current running configuration. This configuration becomes
persistent as the commands are ente red.
backup-config—Specifies the storage location for the configuration backup file.
You can disable the more prompt in more current-config or more backup-config by setting the terminal
length to zero using the terminal length 0 command. The more command then displays the entire file
content without pausing.
Displaying the Logical File Contents
To display the contents of a logical file, follow these steps:
Step 1
Log in to the CLI using an account with administrator privileges.
Step 2
Display the contents of the current configuration file.
sensor# more current-config
Generating current config:
The current configuration is displayed.
! ------------------------------
! Current configuration last modified Fri Apr 19 19:01:05 2013
! ------------------------------
! Version 7.2(1)
! Host:
! Realm Keys key1.0
! Signature Definition:
! Signature Update S697.0 2013-02-15
! ------------------------------
service interface
physical-interfaces GigabitEthernet0/0
admin-state enabled
exit
physical-interfaces GigabitEthernet0/1
admin-state enabled
exit
inline-interfaces pair0
interface1 GigabitEthernet0/0
interface2 GigabitEthernet0/1
exit
bypass-mode auto
exit
! ------------------------------
service authentication
exit
! ------------------------------
service event-action-rules rules0
exit
! ------------------------------
service host
network-settings
host-ip 10.106.133.159/23,10.106.132.1
host-name q4360-159
telnet-option enabled
access-list 0.0.0.0/0