Gateway terminal configuration mode

From DocWiki

Revision as of 14:10, 12 September 2012 by Tataj (Talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Entering config t on the command line, causes the gateway to enter Terminal Configuration mode. In this mode you can add, delete, and change lines in the running configuration.

Many sections of the gateway configuration contain similar "subsections." For example, in the application section of the gateway's configuration, you have the definitions for several applications. If you wish to change a specific line of a specific application's definition using config t mode, first you would need to enter the sub-modes needed to identify the exact line you wish to change.

For example, suppose you dumped the contents of the change file for the getting started exercises into the configuration file and then used sh run to examine the new configuration results. In the application section, you saw the following definition for HelloWorld and realized that the IP address should have been "141" not "142"

application service helloworld flash:CVPSelfService.tcl

param CVPPrimaryVXMLServer
paramspace english language en
paramspace english index 0
paramspace english location flash
paramspace english prefix en
param CVPSelfService-port 7000
param CVPSelfService-app HelloWorld

You would need to enter the following commands to change just that line of the gateway configuration:

  1. config t
    Enter configuration terminal mode from enable mode.
  2. application
    Switch to the "application" sub-mode. The system appends "-app" to the prompt, example: ccub-doc-gw4 <config-app>#
  3. service helloworld
    There are several "application" definitions; you enter a deeper sub-mode that deals only with the definition for helloworld. The prompt changes to: ccub-doc-gw4 <config-app-param># and you can now add the actual parameter information.
  4. param CVPPrimaryVXMLServer
    Enter the new configuration line and the system will overwrite the previous line.
  5. <Ctrl-z>
    Leave configuration mode.
  6. sh run
    Examine the revised running configuration and be sure the definition for the helloworld application is now correct.

Back: Troubleshooting Tips for Getting Started with CVP

Rating: 0.0/5 (0 votes cast)

Personal tools