HP TippingPoint Next Generation Firewall manual Using the Command Line Interface

Page 11

1 Using the Command Line Interface

The command line interface (CLI) can be used to configure many aspects of the SMS. It includes wizards, high level commands, and low level commands.

Overview

This chapter explains how to use the SMS CLI.

NOTE: To use the SMS CLI, you must be logged in with an account that has SuperUser rights.

This section includes the following topics:

Usage” on page 1

The help Command” on page 3

Usage

Most SMS commands consist of the following elements:

command — the name of the command you want to issue

object — the name of a collection of related attributes (attribs)

attrib — the name of a data variable or parameter on which you want to run the command

[=value] — optional syntax you can use with the set command and other writable commands to define the value of the attrib you specify. If you do not use this syntax, the system goes into interactive mode and prompts you for the value. See Command Types” on page 1 for more information about interactive commands.

NOTE: To clear the value of any attribute type a period (.) after the equal sign (=) or when prompted.

These elements are case-sensitive. You can use any of the following syntax to run an SMS command:

command

command object

command object.attrib

command object.attrib=value

Other SMS commands use a syntax similar to standard UNIX commands, as shown in the following example:

command -option value

Command Types

SMS commands are either read, write, or read and write. In addition, commands are either interactive, non-interactive, or might support both options.

Interactive commands — automatically prompt you for attribute values if you use the appropriate syntax. Interactive commands also provide you with the current values of their attributes.

Non-interactive commands — are either read-only or require you to specify the values you want to set. For example, the get command is non-interactive because it is read-only. As another example, the date command is non-interactive. If you want to set the date, you must type date value.

Security Management System CLI Reference

1

Image 11
Contents HP TippingPoint Security Management System CLI Reference Unix is a registered trademark of The Open Group Table of Contents SMS Attributes and Objects List of Tables Page About This Guide Document Conventions Document Messages Customer Support Using the Command Line Interface Remote Paths Help Command Lists all commands, objects, and attributes Date ClearCls ConsoleExit FactoryresetDir DnsHelp FtpGet Kbdcfg IfconfigIpconfig Monitor MgmtsettingsKey ListNtp NicsettingsPassword NotifyPing Resolve RebootPing6 QuitRoutes Service-accessRestart ReverseSnmp SetupSet ShutdownSnmp-trap Snmp-requestTime SnmpgetSnmpwalk SshTraceroute TouchUsers Update‘read-only’ VersionWho ViewWeb Cli SMS Attributes and ObjectsCtl To set ctl.upgrade-source , this takes Time that the database was String Read-only Re-initialized High availability Health Indication for Celsius Designation KbdLicense Net LogsFor information on set net, see set on Related Commands 11 net Attributes Description Type Access Range Pkg 13 pkg Attributes Description Type Access Range Pwd Radius RadiusPAP, CHAP, MSCHAP, MSCHAP2 EAPMD5 RouteSmtp Route6SHA DES Attrib used to remove an Snmp trap String Write-only TripleDES Examples Snmp.trap-user Svc To true. To disable, set to false Example Sys 24 time Attributes Description Type Access Range SMS Attributes and Objects
Related manuals
Manual 252 pages 61.66 Kb Manual 68 pages 46.8 Kb Manual 54 pages 53.98 Kb