Top
ServerView Resource Orchestrator V3.4.0 Automatic Quarantining Function User's Guide
FUJITSU Software

D.6.3 Command Files

This section explains the format of command files.

Format

Command for Network Device 
..... 
Command for Network Device

Only include commands for the target network device in the command file.

Information

  • Command format depends on the type of network device.
  • When creating scripts referring to sample scripts, initial commands executed after logging in to a network device depend on the type of network device. So, it is necessary to change the initial commands and their responses in the script.
  • If the structure of a script is same as that of a sample script, commands in the command file are executed after the execution of initial commands.

Creation Example

class-map match-all %classmapname% 
    match source-address ip %ip% 
    match source-port %port% 
    match destination-address ip %Unm_IPv4& LServer_name&network_resource_name % 
    match destination-port %serverport% 
    ... 
interface %ifname% 
    rule access %num% in %classmapname% accept  audit-session-norma audit-match-none 
    ... 
commit 
save startup-config

Point

  • All variable information in a command file is within the conversion range and converted before script execution.

    For the variable information which can be used, refer to "Variable Information Usable in Scripts".

  • When not using any sample scripts (such as when the infrastructure administrator creates their own new script), create command files in the appropriate format for the created script.
  • When scripts do not invoke command files, such as when not using sample scripts, it is no necessary to create a command file.