Gateway terminal configuration mode
From DocWiki
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 10.86.132.142 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:
- config t
- Enter configuration terminal mode from enable mode.
- application
- Switch to the "application" sub-mode. The system appends "-app" to the prompt, example: ccub-doc-gw4 <config-app>#
- 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.
- param CVPPrimaryVXMLServer 10.86.132.141
- Enter the new configuration line and the system will overwrite the previous line.
- <Ctrl-z>
- Leave configuration mode.
- sh run
- Examine the revised running configuration and be sure the definition for the helloworld application is now correct.