- Using Cisco Unified SIP Proxy Software
- Documentation Roadmap for Cisco Unified SIP Proxy Release 9.0
- Cisco Unified SIP Proxy Module EXEC Commands
- Cisco Unified SIP Proxy EXEC Commands
- Cisco Unified SIP Proxy Configuration Commands
- Cisco Unified SIP Proxy SIP Commands
- Cisco Unified SIP Proxy SIP Server Commands
- Cisco Unified SIP Proxy Radius Server Commands
- Cisco Unified SIP Proxy Trigger Commands
- Cisco Unified SIP Proxy Route Commands
- Cisco Unified SIP Proxy Policy Commands
- Cisco Unified SIP Proxy Accounting Commands
- Cisco Unified SIP Proxy Security Commands
- Module Commands for Cisco Unified SIP Proxy
Using Cisco Unified SIP Proxy Software
This chapter provides helpful tips for understanding and configuring Cisco Unified SIP Proxy software using the command-line interface (CLI). It contains the following sections:
Understanding Command Modes
The Cisco Unified SIP Proxy CLI commands have a structure very similar to that of Cisco IOS CLI commands. However, the Cisco Unified SIP Proxy CLI commands do not affect Cisco IOS configurations. After you have logged in to the Cisco Unified SIP Proxy module, the command environment is no longer the Cisco IOS environment.
The Cisco Unified SIP Proxy module command environment is divided into four modes:
- Module EXEC—This is the mode that you are in after you log in to the Cisco Unified SIP Proxy network or service module. The module EXEC commands affect the system's parameters in different ways. Some commands only display or clear parameter values, stop or start the entire system, or start troubleshooting procedures. However, unlike Cisco IOS EXEC mode, the module EXEC mode has a few commands that change parameter values. These changes are stored in the module’s memory, rather than in the startup configuration, so that the system has some minimum information available if a catastrophic event, such as a power or disk failure, occurs.
- Configuration—This mode permits you to make system configuration changes for the module, which are stored in the running configuration. If you later save the running configuration to the startup configuration, the changes made with the configuration commands are restored when the software is rebooted.
- Cisco Unified SIP Proxy EXEC—This is the mode that you are in after you log in to the Cisco Unified SIP Proxy command environment. Cisco Unified SIP Proxy EXEC commands affect the system’s parameters in different ways. This mode includes commands that allow you to display the Cisco Unified SIP Proxy configuration for diagnostic and troubleshooting purposes.
- Cisco Unified SIP Proxy Configuration—This Cisco Unified SIP Proxy Configuration—This mode permits you to make configuration changes to the Cisco Unified SIP Proxy. Unlike other Linux-based applications that are supported on the Cisco Integrated Services Routers, Cisco Unified SIP Proxy does not use the concept of a running configuration. Instead, the Cisco Unified SIP Proxy uses the concepts of the “candidate configuration” and the “active configuration.”
– Candidate configuration: When you make configuration changes for the Cisco Unified SIP Proxy, these changes are stored in the candidate configuration. While in the candidate configuration state, these configuration parameters do not take effect.
– Active configuration: The active configuration includes all configuration parameters that are currently effective on the Cisco Unified SIP Proxy.
Note Module EXEC and configuration modes do use the concept of a running configuration. Only the Cisco Unified SIP Proxy modes do not use this concept.
To enable configuration changes to take effect, you must enter the commit command. After you enter the commit command, all configuration changes in the candidate configuration become part of the active configuration. Separate commands in Cisco Unified SIP Proxy configuration mode allow you to display the current candidate and active configurations. In Cisco Unified SIP Proxy EXEC mode only the active configuration can be displayed.
Cisco Unified SIP Proxy configuration mode has some subconfiguration levels. The global configuration mode changes the command environment from EXEC to configuration. You can modify many software parameters at this level. However, certain configuration commands change the environment to more specific configuration modes where modifications to the system are entered. For example, the trigger condition command changes the environment from config to config-trigger. At this point, you can enter or modify application parameter values.
The commands available to you at any given time depend on the mode that you are currently in. Entering a question mark (?) at the CLI prompt displays a list of commands available for each command mode. The descriptions in this command reference indicate each command’s environment mode.
Table 1 describes how to access and exit various common command modes of the Cisco Unified SIP Proxy software. It also shows examples of the prompts displayed for each mode.
Entering the Command Environment
Use this procedure to enter the different modes in the command environment.
Prerequisites
SUMMARY STEPS
3. Enter the user ID and password of the router.
4. service-module integrated-service-engine slot/port session
DETAILED STEPS
Getting Help
Entering a question mark at the CLI prompt displays a list of commands available for each command mode. You can also get a list of keywords and arguments associated with any command by using the context-sensitive help feature.
To get help specific to a command mode, a command, a keyword, or an argument, use one of the commands in Table 2 .
Using the no and default Forms of Commands
Where available, use the no form of a command to disable a function. Use the command without the no keyword to reenable a disabled function or to enable a function that is disabled by default. The command reference entry for each command provides the complete syntax for the configuration commands and describes what the no form of a command does.
Configuration commands can also have a default form, which returns the command settings to the default values. In those cases where a command is disabled by default, using the default form has the same result as using the no form of the command. However, some commands are enabled by default and have variables set to certain default values. In these cases, the default form of the command enables the command and sets the variables to their default values. Where available, the command reference entry describes the effect of the default form of a command if the command functions differently than the no form.
Saving Configuration Changes
Starting in module EXEC mode, use the following command to copy the running configuration in flash memory to another location:
startup-config | tftp:tftp-server-address} filename
When you copy the running configuration to the startup configuration, enter the command on one line. In the following example, the running configuration is copied to the startup configuration as file start. In this instance, enter the command on a single line.
When you copy the running configuration to an FTP or TFTP server, this command becomes interactive and the system prompts you for information. You cannot enter the parameters on one line. The following example illustrates this process. In the following example, the running configuration is copied to an FTP server, which requires a user ID and password. The IP address of the FTP server is 172.16.231.193. The running configuration is copied to the configs directory as a file called saved_start.
Committing Configuration Changes
Unlike other Linux-based applications supported on Cisco Integrated Services Routers, Cisco Unified SIP Proxy requires that you use the commit command for selected commands before the configuration changes take effect. If you do not use the commit command, any changes to these commands are not reflected in the active configuration.
The requirement for issuing the commit command applies to the following configuration commands (and the commands in their respective submodes):
- policy lookup
- policy normalization
- policy time
- route group
- route table
- route table file
- server-group sip group
When you exit Cisco Unified SIP Proxy configuration mode, you are asked whether you want to commit your changes. If you answer no, all your changes are discarded.
Identifying Supported Platforms
Cisco IOS software is packaged in feature sets consisting of software images that support specific platforms. Specific software images are required to support the Cisco Unified SIP Proxy module hardware. The feature sets available for a specific platform depend on which Cisco IOS software images are included in a version. To identify the set of software images available in a specific version or to find out if a feature is available in a given Cisco IOS software image, use Cisco Feature Navigator. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. You do not need an account on Cisco.com.
Commercial Open Source Licensing
Some components of the software created for Cisco Unified SIP Proxy Release 9.0 are provided through open source or commercial licensing. These components and the associated copyright statements can be found at http://www.cisco.com/en/US/docs/voice_ip_comm/cusp/rel9_0/licensing/ipcentral.pdf.