Displaying The Contents Of A Logical File - Cisco 4215 - Intrusion Detection Sys Sensor Configuration Manual

Configuration guide
Hide thumbs Also See for 4215 - Intrusion Detection Sys Sensor:
Table of Contents

Advertisement

Chapter 12
Working With Configuration Files
--MORE--
Filter the output of the host settings to include the regular expression "ip":
Step 4
sensor# configure terminal
sensor(config)# service host
sensor(config-hos)# show settings | include ip
sensor(config-hos)#

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:
Operators and viewers can only display the current configuration. Only administrators can view hidden
Note
fields such as passwords.
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. For the procedure for using the terminal command, see
Properties, page
To display the contents of a logical file, follow these steps:
Log in to the CLI using an account with administrator privileges.
Step 1
Display the contents of the current configuration file:
Step 2
sensor# more current-config
Generating current config:
The current configuration is displayed.
! ------------------------------
! Version 5.0(0.22)
! Current configuration last modified Fri Dec 17 21:38:23 2004
78-16527-01
username: cisco default:
-----------------------------------------------
-----------------------------------------------
never-block-hosts (min: 0, max: 250, current: 1)
-----------------------------------------------
ip-address: 10.89.146.112
-----------------------------------------------
-----------------------------------------------
never-block-networks (min: 0, max: 250, current: 1)
-----------------------------------------------
ip-address: 88.88.88.0/24
host-ip: 10.89.149.185/25,10.89.149.254 default: 10.1.9.201/24,10.1.9.1
keyword—Either the current-config or the backup-config.
current-config—The current running configuration. This configuration becomes persistent as
the commands are entered.
backup-config—The storage location for the configuration backup file.
13-3.
Cisco Intrusion Prevention System Sensor CLI Configuration Guide for IPS 5.0
Displaying the Contents of a Logical File
Modifying Terminal
12-13

Advertisement

Table of Contents
loading

Table of Contents