Initial MARS Appliance Configuration
Initial MARS Appliance Configuration
Completing the initial configuration ensures that the MARS Appliance can communicate with other
devices on the network and prepares it to monitor data from reporting devices. There are six phases to
configuring the MARS Appliance. This chapter includes a checklist for initial configuration and the
procedures required to complete the first five phases. The sixth and final phase of the configuration,
which includes establishing administrative and user accounts, identifying the devices to monitor, and
defining custom inspection rules and reports, is performed using the HTML interface and is detailed in
the User Guide for Cisco Security MARS Local Controller and the User Guide for Cisco Security MARS
Global Controller.
This chapter contains the following sections:
• Checklist for Initial Configuration, page 5-1
• Establishing a Console Connection, page 5-4
• Configuring Basic Network Settings at the Command Line, page 5-6
• Completing the Cable Connections, page 5-11
• Completing the Configuration using MARS web interface, page 5-11
• Updating the Appliance to the Most Recent Software, page 5-17
• Next Steps, page 5-17
Install and Setup Guide for Cisco Security Monitoring Analysis and Response System
78-17019-01 5-1
Chapter 5 Initial MARS Appliance Configuration
Checklist for Initial Configuration
The following checklist describes the tasks required to initially configure your MARS Appliance. Each
task might contain several steps; the tasks and steps within should be performed in order. The checklist
contains references to the specific procedures used to perform each task.
Task
1. Establish a console connection to the appliance.
Initial configuration requires a console connection to access the CLI. You should establish this connection with
the power turned off on the MARS Appliance. Three console connection options exist:
• A direct console connection to the appliance using a keyboard and monitor
• A standard serial console connection between a computer and the appliance using a terminal emulation
package
• An Ethernet console connection between a computer and the appliance using a terminal emulation package
After you configure your console connection, you must power up the appliance.
Result: The appliance is powered up and you can see the command line prompt through your console connection.
For more information, see:
• Establishing a Console Connection, page 5-4
2. Command Line Configuration: Setting the system administrative account’s default password and
configuring the interfaces.
The command line configuration is separated into three tasks, each task being separated by a reboot of the
appliance. The first task involves performing three to four procedures:
• Collect the information required to configure the appliance to operate optimally on your network.
• Log in to the appliance and change the password associated with the system administrative account
(pnadmin).
• Configure the eth0 network interface, specifying the default gateway and IP address and network mask pair
for that interface.
• (Optional) Configure the eth1 network interface, specifying the IP address and network mask pair for that
interface.
Each MARS Appliance has two Ethernet interfaces: eth0 and eth1. The eth0 interface is the dedicated interface
used for collecting event data and logs from your network. The eth1 interface is intended for use in an out-of-band
management (OOBM) network or for a console connection. Therefore, your default gateway and IP address/mask
values should focus on the network connections to be used to monitor the data streams of reporting devices, and
these settings should be applied to eth0.
Note The MARS Appliance does not allow you to configure both of its interfaces on the same network.
Result: The default password is no longer associated with the system administrative account and the appliance is
more secure. Also, the eth0 is configured to communicate on your network. When you complete the IP address
configuration changes for either, the appliance reboots.
For more information, see:
• Configuring Basic Network Settings at the Command Line, page 5-6
• Change the Default Password of the System Administrative Account, page 5-6
• Specify the IP address and Default Gateway for the Eth0 Interface, page 5-7.
• (Optional) Specify the IP Address and Default Gateway for the Eth1 Interface, page 5-8
Install and Setup Guide for Cisco Security Monitoring Analysis and Response System
5-2 78-17019-01
Chapter 5 Initial MARS Appliance Configuration
Checklist for Initial Configuration
Task
3. Command Line Configuration.
The second task of the CLI configuration involves setting the hostname of the appliance. The hostname identifies
which appliance collects a specific log and which appliance fires an inspection rule. This unique identity is
important in an environment where Global Controller is running. To complete this task, you must:
• Log in to the appliance using the system administrative account and the new password.
• Set the hostname of the appliance.
Result: The hostname is configured for the appliance. The appliance reboots.
For more information, see:
• Specify the Appliance Hostname, page 5-9.
4. Command Line Configuration.
The third and final task of the initial CLI configuration involves specifying those settings that help ensure the
integrity of the event correlation and complete your network connection, allowing access to the appliance from
other hosts on the network. After you complete this phase, you can connect to and complete the appliance
configuration using a non-console connection from any host on your network. To complete this task, you must:
• Log in to the appliance using the system administrative account and the new password.
• Set any additional static routes.
• Set the clock.
• Set the NTP server settings.
• Set the DNS domain name.
• Connect the appliance to the network (that is, plug in the Cat 5 cables.)
Result: Now you have network connectivity. You can access the CLI interface using an Secure Shell (SSH) client
on any host that can reach the appliance, and you can log in to the web interface to complete the initial
configuration.
For more information, see:
• Specify the Time Settings, page 5-10
• Set Up Additional Routes, page 5-9
• Completing the Cable Connections, page 5-11
Install and Setup Guide for Cisco Security Monitoring Analysis and Response System
78-17019-01 5-3
Chapter 5 Initial MARS Appliance Configuration
Establishing a Console Connection
Task
5. Complete initial configuration using the web interface.
After you complete the cable connections to the MARS Appliance, define the required network connection
settings, and specify any additional default routes, you can start the web interface configuration process. Verify
the configuration settings of your browser before configuring the MARS Appliance (see Web Browser Client
Requirements, page 3-9).
During this phase, you configure the following:
• Appliance license
• Zone identification (Global Controller only)
• E-mail server identification
• DNS addresses
• E-mail address for the system administrative account (pnadmin)
• TACACS/AAA login prompt settings
Result: You have configured your appliance to communicate on the network, properly correlate events, and issue
system e-mails to a monitored e-mail address.
For more information, see:
• Completing the Configuration using MARS web interface, page 5-11
• Licensing the Appliance, page 5-11
• Verifying and Updating Network Settings, page 5-13
• Specifying the DNS Settings, page 5-15
• Configure E-mail Settings for the System Administrative Account, page 5-16
• Configure TACACS/AAA Login Prompts, page 5-17
6. Upgrade the appliance to the most recent software version.
The software version determines the currency of signatures, system inspection rules, features, and bug fixes. An
important part of your security solution is ensuring that you maintain the most up-to-date software on the MARS
Appliance. This process involves preparing an upgrade strategy and selecting a method, determining your current
version, identifying the most recent version, and downloading and applying all intermediate versions of the
software.
Result: The appliance is running the most recent version of software.
For more information, see:
• Checklist for Upgrading the Appliance Software, page 6-7
Install and Setup Guide for Cisco Security Monitoring Analysis and Response System
5-4 78-17019-01
Chapter 5 Initial MARS Appliance Configuration
Establishing a Console Connection
• Direct Console. Directly attach a keyboard and monitor the appliance. This option provides the
most console feedback of the three console connection options, and it does not require any
additional software, such as a terminal emulator or SSH client.
• Serial Console. Before powering on the appliance, connect a computer to the serial port using the
appropriate cable. For the location of the serial port, see the backplane figure corresponding to your
appliance model in Hardware Descriptions—MARS 20, 20R, 50 200, GCm, and GC, page 1-4.
Configure your terminal emulation communication software (such as Hyper Terminal) to operate
with the following settings:
– Baud = 19200
– Databits = 8
– Parity = None
– Stops = 1
– Flow control = None
• Ethernet Console. Before powering on the appliance, connect a computer to eth1 using a crossover
CAT5 cable, configuring the computer’s local TCP/IP settings to be on the 192.168.0.0 network.
Pick an IP address other than 192.168.0.100 and 192.168.0.101, which are the default addresses
assigned to eth0 and eth1, respectively. The eth1 port is reserved for administrative connections,
such as the Ethernet console. For the location of the eth1 port, see the backplane figure
corresponding to your appliance model in Hardware Descriptions—MARS 20, 20R, 50 200, GCm,
and GC, page 1-4. Configure your terminal emulation communication software (such as Hyper
Terminal) to operate with the following settings:
– Baud = 19200
– Databits = 8
– Parity = None
– Stops = 1
– Flow control = None
Tip You can achieve a boost in web interface performance by configuring eth1 to be the interface by which
the web interface is accessed. Because you can define the default gateway for eth0 only, you must define
static routes for eth1 that ensure the administrative traffic is properly routed.
• SSH Console. After you complete the initial configuration as outlined in Checklist for Initial
Configuration, page 5-1, you can connect to the appliance from any host on your network using a
SSH client. The only constraint is that the host be able to route network traffic to the appliance.
Configure the SSH client to operate with the following options:
– Hostname = Hostname or the IP address assigned to eth0 during the initial configuration.
– Username = pnadmin
– Port = 22
– Terminal = vt100
To establish a console connection to the MARS Appliance, follow these steps:
Step 1 Select from among the direct, serial, or ethernet console connection options and configure according to
the information provided under that description.
Install and Setup Guide for Cisco Security Monitoring Analysis and Response System
78-17019-01 5-5
Chapter 5 Initial MARS Appliance Configuration
Configuring Basic Network Settings at the Command Line
Step 2 Power on the MARS Appliance and the console, and if required by the option, open your terminal
emulation communication software on the console.
The login prompt appears.
Step 3 Enter pnadmin as the username and the password associated with that account.
By default, the password is pnadmin.
Note If you are logging in to the appliance for the first time, you are prompted to change the password
associated with this account. In doing so, you can skip Change the Default Password of the System
Administrative Account, page 5-6.
The [pnadmin]$ prompt appears. You can now perform the initial configuration.
Note The first time you log in to the appliance using a console connection, you are prompted to change the
password. The password you are changing is the password for the system administrative account,
pnadmin.
Install and Setup Guide for Cisco Security Monitoring Analysis and Response System
5-6 78-17019-01
Chapter 5 Initial MARS Appliance Configuration
Configuring Basic Network Settings at the Command Line
To change the password associated with the pnadmin account, follow these steps:
Step 1 Establish a console connection to the MARS Appliance; for options and details see Establishing a
Console Connection, page 5-4.
Note If the MARS Appliance is not configured (that is, it is new or has been re-imaged), the system
displays the system information—including the software version.
Step 2 Log in using the system administrative account and password (pnadmin/pnadmin).
The system displays the [pnadmin]$ prompt.
Step 3 Confirm that the following information is displayed above the [pnadmin]$ prompt:
Last login: Mon May 2 10:22:34 2005 from <host_address>
[pnadmin]$
Note When you boot the system for the first time, it is not configured. Logging in as pnadmin allows you to
configure the system.
Specify the IP address and Default Gateway for the Eth0 Interface
Before you can connect to the appliance and administer it using the web interface or a SSH client, you
must configure the appliance so that it can be reached by other hosts on your network.
Before you specify the interface settings, verify that eth0 is not connected to the network.
Step 1 Establish a console connection to the MARS Appliance; for options and details, see Establishing a
Console Connection, page 5-4.
Step 2 Log in using the system administrative account and the new password specified in Change the Default
Password of the System Administrative Account, page 5-6.
The system displays the [pnadmin]$ prompt.
Install and Setup Guide for Cisco Security Monitoring Analysis and Response System
78-17019-01 5-7
Chapter 5 Initial MARS Appliance Configuration
Configuring Basic Network Settings at the Command Line
Step 3 At the [pnadmin]$ prompt, enter ifconfig eth0 <ip_address> <net_mask>, where ip_address is the IP
address value for this appliance and net_mask is the netmask value for the IP address.
The system displays the following message on the console:
IP addresses change will cause the system to reboot.
Do you want to proceed?
Step 4 To accept the net settings and reboot the appliance, enter yes.
The system displays the following message on the console:
Broadcast message from root (pts/0) <DATE>...
The system is going down for reboot NOW !!
Note It can take several minutes for the appliance to reboot before you can log in again.
Step 5 After the reboot operation completes, repeat Steps 1 and 2 and then continue with Step 6.
Step 6 At the [pnadmin]$ prompt, enter gateway <gateway_address>, where gateway_address is the IP
address of the default gateway for the network to which you plan to attach eth0.
Specify the IP Address and Default Gateway for the Eth1 Interface
If you chose to use eth1 as an administrative interface (SSH or web interface), you must configure it so
it can be reached by other hosts on your network. To ensure that traffic is routed correctly from eth1, you
may also have to define static routes for it. For information on defining static routes on a per-interface
basis, see Set Up Additional Routes, page 5-9.
Before you specify the interface settings, verify that eth1 is not connected to the network.
To specify the IP address and default gateway address, follow these steps:
Step 1 Establish a console connection to the MARS Appliance; for options and details, see Establishing a
Console Connection, page 5-4.
Step 2 Log in using the system administrative account and the new password specified in Change the Default
Password of the System Administrative Account, page 5-6.
The system displays the [pnadmin]$ prompt.
Step 3 At the [pnadmin]$ prompt, enter ifconfig eth1 <ip_address> <net_mask>, where ip_address is the IP
address value for this appliance and net_mask is the netmask value for the IP address.
The system displays the following message on the console:
IP addresses change will cause the system to reboot.
Do you want to proceed?
Step 4 To accept the net settings and reboot the appliance, enter yes.
The system displays the following message on the console:
Broadcast message from root (pts/0) <DATE>...
The system is going down for reboot NOW !!
Install and Setup Guide for Cisco Security Monitoring Analysis and Response System
5-8 78-17019-01
Chapter 5 Initial MARS Appliance Configuration
Configuring Basic Network Settings at the Command Line
Note It can take several minutes for the appliance to reboot before you can log in again.
Step 1 Establish a console connection to the MARS Appliance; for details, see Establishing a Console
Connection, page 5-4.
Step 2 Log in using the system administrative account and the new password specified in Change the Default
Password of the System Administrative Account, page 5-6.
The system displays the [pnadmin]$ prompt.
Step 3 At the [pnadmin]$ prompt, enter hostname <name>, where name is the hostname value for this
appliance.
Tip The name can contain up to 15 letters and numbers, but it cannot contain spaces.
Step 4 To accept the new hostname and reboot the appliance, enter yes.
The system displays the following message on the console:
Broadcast message from root (pts/0) <DATE>...
The system is going down for reboot NOW !!
Note It can take several minutes for the appliance to reboot before you can log in again.
Caution Do not define or modify the gateway IP address using the route command (changes are not persistent).
Instead, use the gateway command.
Install and Setup Guide for Cisco Security Monitoring Analysis and Response System
78-17019-01 5-9
Chapter 5 Initial MARS Appliance Configuration
Configuring Basic Network Settings at the Command Line
Before you can edit the routing table, you must establish a console connection to the MARS Appliance;
for options and details, see Establishing a Console Connection, page 5-4. The following examples show
how to add or delete a static route from the routing table.
To add a route to the host at 192.168.0.101, using gateway 10.1.1.1 via eth0, enter:
route add -host 192.168.0.101 gw 10.1.1.1 dev eth0
Caution You must configure NTP on the Global Controller and on each Local Controller to ensure that rules fired
by the Local Controller are properly propagated to the Global Controller. For more information on
configuring NTP, see ntp, page A-24.
After you have the basic connection settings, you must specify the time, date, and timezone of the
appliance. To do this, you must use the console connection and do the following:
Install and Setup Guide for Cisco Security Monitoring Analysis and Response System
5-10 78-17019-01
Chapter 5 Initial MARS Appliance Configuration
Completing the Cable Connections
Manually specify the date and time for this appliance as follows:
a. Enter date to specify the date in mm/dd/yyyy format.
b. Enter time to specify the time in hh:mm:ss format.
Step 4 Enter reboot to reboot the appliance and re-initialize all the processes using the changed time/date
settings.
Note The license key that you apply to a Global Controller does not propagate to the monitored
Local Controllers. Each MARS Appliance has a unique license key. New appliances often come with a
pre-loaded license; therefore, this step may not be required.
Install and Setup Guide for Cisco Security Monitoring Analysis and Response System
78-17019-01 5-11
Chapter 5 Initial MARS Appliance Configuration
Completing the Configuration using MARS web interface
Step 1 Verify that the appliance is running. See Powering on the Appliance and Verifying Hardware Operation,
page 4-8, for instructions for turning on the power for the MARS.
Step 2 Open your web browser and enter one of the following URL syntaxes in the address bar:
• https://<machine_name>/
• https://<ip_address>/
where machine_name is the name of the appliance as defined in Specify the Appliance Hostname, page
5-9, and ip_address is the address assigned to the interface to which you are attempting to connect (either
eth0 or eth1), as configured in Specify the IP address and Default Gateway for the Eth0 Interface, page
5-7, or Specify the IP Address and Default Gateway for the Eth1 Interface, page 5-8.
You will be prompted to accept the security certificate before you can proceed. After you accept the
certificate, the login page appears.
Note SSL only works with the Cisco Systems self-signed certificates
Step 3 When you see the login page, enter the system administrative account (pnadmin) and the password as
defined in either Establishing a Console Connection, page 5-4, or Change the Default Password of the
System Administrative Account, page 5-6.
Step 4 Select Local from the Type list because pnadmin is the local system administrative account, and click
Login.
Install and Setup Guide for Cisco Security Monitoring Analysis and Response System
5-12 78-17019-01
Chapter 5 Initial MARS Appliance Configuration
Completing the Configuration using MARS web interface
The Local versus Global distinction refers to the type of account you are using to log in to this appliance.
Typically, you log in using an account that is defined on the Local Controller, which corresponds to the
Local option in the Type list. If you are logging in using an account that is defined on the
Global Controller, select Global. When you chose to manage a Local Controller from a
Global Controller, the administrative accounts defined for the Global Controller are pushed down to the
Local Controller.
Note The first time you log in, expect performance to be a little slow due to first-time caching and compilation.
If the MARS license key is not configured, the License Key dialog prompts you to enter this key.
Step 5 Click the link that directs you to enter the license key.
The license key is applied as a label on the appliance chassis. For information on locating this key, refer
to the diagrams in Locating the License Key, page 1-7. You must enter this key to activate the MARS
Appliance before you can use it.
The License Key page displays.
Install and Setup Guide for Cisco Security Monitoring Analysis and Response System
78-17019-01 5-13
Chapter 5 Initial MARS Appliance Configuration
Completing the Configuration using MARS web interface
Note The MARS cannot have spaces in its hostname. The name can contain up to 15 letters and numbers.
• Interface Name
The two network interfaces for the MARS are eth0 and eth1. See Hardware Descriptions—MARS
20, 20R, 50 200, GCm, and GC, page 1-4, for more information.
• IP Address
Identifies the IP address for each interface. These interfaces must reside on different subnets.
• Net Mask
Identifies the network mask values for eth0 and eth1.
• Default Gateway
Identifies the IP address for the default gateway for the eth0 interface.
Note Changing the appliance’s name, IP addresses, or netmask information on this page reboots the appliance
after you click Update.
Step 3 (Global Controller only) In the Zone field, enter the name for a geographical or virtual zone where the
Global Controller resides. One Local Controller can operate in a single zone.
Install and Setup Guide for Cisco Security Monitoring Analysis and Response System
5-14 78-17019-01
Chapter 5 Initial MARS Appliance Configuration
Completing the Configuration using MARS web interface
Step 4 In the IP:Port field under Mail Gateway, enter the IP address and port on which your e-mail gateway
listens. You can enter an IP address, or if the DNS is resolved, you can use the gateway name. This
appliance uses the e-mail gateway to send e-mail notifications. The port number is usually 25 for SMTP.
Step 5 In the E-mail domain name field under Mail Gateway, enter the domain name from which e-mail
notifications will originate.
This value is the fully qualified domain name, such as example.com.
When rule notifications are sent from the appliance, the messages are delivered from the sender:
notifier.<hostname>@<e-mail_domain>, where hostname is the hostname for the appliance and
e-mail_domain is the domain name specified in this field.
When report notifications are sent from the appliance, the messages are delivered from the sender:
<type>.scheduler.<hostname>@<e-mail_domain>, where type is either local or global (depending on
whether the report was defined at the global or local level), hostname is the hostname for the appliance,
and e-mail_domain is the domain name specified in this field.
Step 6 Click Submit to save your changes.
Step 3 In the Primary, Secondary, and Tertiary DNS address fields, enter any DNS addresses necessary.
Step 4 In the Search Domain field, enter the domain and click Add.
Step 5 Click Update to save your changes.
Install and Setup Guide for Cisco Security Monitoring Analysis and Response System
78-17019-01 5-15
Chapter 5 Initial MARS Appliance Configuration
Completing the Configuration using MARS web interface
Note If the DNS configuration is changed from the web interface, you must perform a pnstop and then a
pnstart operation for the new DNS information to be used by the MARS Appliance. For information on
performing these two operations, see Stop Appliance Services via the Console, page 6-5 and Start
Appliance Services via the Console, page 6-5.
Step 3 In the Email field, enter the e-mail alias to be used for this account...
Step 4 Update any other information as needed.
Install and Setup Guide for Cisco Security Monitoring Analysis and Response System
5-16 78-17019-01
Chapter 5 Initial MARS Appliance Configuration
Updating the Appliance to the Most Recent Software
Step 1 Select Admin > System Parameters > TACACS/AAA Server Prompts.
Step 2 In the Default Login Prompt field, enter the text displayed at the prompt when requesting the username
to access the reporting device.
Step 3 In the Default Password Prompt field, enter the text displayed at the prompt when requesting the
password associated with a username.
Step 4 Click Submit to save your changes.
The specified settings are used globally by MARS to recognize prompts by the TACACS/AAA server.
In the event that neither the TACACS/AAA server prompt or the default device prompt is recognized,
MARS does not attempt to connect to the device and an error message is generated.
Next Steps
After you have successfully performed the procedures in this guide, your MARS Appliance is installed
and initially configured. The next step is to use a browser and the web interface to fully configure your
MARS Appliance to provide the STM services you want from this installation.
This configuration includes:
Install and Setup Guide for Cisco Security Monitoring Analysis and Response System
78-17019-01 5-17
Chapter 5 Initial MARS Appliance Configuration
Next Steps
Install and Setup Guide for Cisco Security Monitoring Analysis and Response System
5-18 78-17019-01