Table Of Contents
New Gatekeeper Commands
server trigger
Submode Commands
info-only
shutdown
destination-info
redirect-reason
remote-ext-address
endpoint-type
supported-prefix
server registration-port
show gatekeeper servers
debug gatekeeper servers
New Gatekeeper Commands
The following commands have been added to the Cisco IOS software to allow users to statically configure triggers on the Cisco IOS Gatekeeper:
•
server trigger, along with a series of trigger subcommands.
In addition, the following commands have been added in support of the new Gatekeeper functions:
•
server trigger
•
show gatekeeper servers
•
debug gatekeeper servers
Note
As with all IOS commands, you can abbreviate the Cisco IOS Gatekeeper trigger registration commands. To abbreviate a command, simply enter the first few characters of the command and press tab. To obtain online help for a command, enter the first few characters of the command followed by a question mark.
server trigger
To configure triggers for external applications, use the server trigger command.
server trigger {arq | lcf | lrj | lrq | rrq | urq} gkid priority server-id server-ip_address
server-port
no server trigger {arq | lcf | lrj | lrq | rrq | urq} gkid priority
no server trigger all
The no form of this command removes the trigger definition from the Cisco IOS Gatekeeper. The no server trigger all command removes all statically configured triggers.
Syntax Description
arq | lcf | lrj | lrq | rrq | urq
|
The RAS messages for which you can create triggers on the Cisco IOS Gatekeeper. You can specify only one message type per server trigger command. There is a different trigger submode for each message type. Each trigger submode has its own set of applicable commands.
|
gkid
|
The identifier of the Cisco IOS Gatekeeper.
|
priority
|
The priority for this particular trigger. Possible values are 1 through 20. 1 is the highest.
|
server-id
|
The identifier of the external application.
|
server-ip_address
|
The IP address of the server on which the external application is running.
|
server-port
|
The port on which the server listens for messages from the Cisco IOS Gatekeeper.
|
Command Mode
Gatekeeper configuration
Submode Commands
The following subcommands can be used in any of the trigger submodes:
•
info-only
•
shutdown
The following subcommands can be used in specific trigger submodes to configure certain types of trigger conditions:
•
destination-info
•
redirect-reason
•
remote-ext-address
•
endpoint-type
•
supported-prefix
info-only
To indicate to the Cisco IOS Gatekeeper that messages that meet the specified trigger parameters should be sent as notifications only and that the Cisco IOS Gatekeeper should not wait for a response from the external application, use the info-only subcommand.
info-only
Syntax Description
info-only
|
Informational only. No need to wait for acknowledgment.
|
Command Mode
Any of the Cisco IOS Gatekeeper trigger submodes
shutdown
To temporarily disable a trigger, use the shutdown subcommand. Cisco IOS Gatekeepers will not consult triggers in shutdown state when determining whether a message should be forwarded to an external application.
shutdown
Syntax Description
shutdown
|
Changes the administrative state of a trigger to shutdown.
|
Command Mode
Any of the Cisco IOS Gatekeeper trigger submodes
destination-info
To configure a trigger that is based on a particular destination, use the destination-info subcommand.
destination-info {e164 | email-id | h323-id} value
Syntax Description
e164
|
Indicates that the destination address is an E.164 address.
|
email-id
|
Indicates that the destination address is an e-mail ID.
|
h323-id
|
Indicates that the destination address is an H.323 ID.
|
value
|
Specifies the value against which to compare the destination address in the RAS messages. For E.164 addresses, the following wildcards can be used:
• A trailing series of periods, each of which represents a single character.
• A trailing asterisk, which represents one or more characters.
|
Command Mode
Cisco IOS Gatekeeper ARQ, LRQ LCF and LRJ trigger submodes
redirect-reason
To configure a trigger that is based on a specific redirect reason, use the redirect-reason subcommand.
redirect-reason value
Syntax Description
value
|
Specifies the value against which to compare the redirect-reason in the RAS messages. Possible values are 0-65535. Currently used redirect reasons are:
• 0—Unknown reason
• 1—Call forwarding busy or called DTE busy
• 2—Call forwarded no reply
• 4—Call deflection
• 9—Called DTE out of order
• 10—Call forwarding by the call DTE
• 15—Call forwarding unconditionally
|
Command Mode
Cisco IOS Gatekeeper ARQ and LRQ trigger submodes
remote-ext-address
To configure a trigger that is based on a specific remote extension address, use the remote-ext-address subcommand.
remote-ext-address value
Syntax Description
e164
|
Indicates that the remote extension address is an E.164 address.
|
value
|
Specifies the value against which to compare the destination address in the RAS messages. The following wildcards can be used:
• A trailing series of periods, each of which represents a single character.
• A trailing asterisk, which represents one or more characters.
|
Command Mode
Cisco IOS Gatekeeper LCF trigger submode
endpoint-type
To configure a trigger that is based on a specific endpoint, use the endpoint-type subcommand.
endpoint-type value
Syntax Description
value
|
Specifies the value against which to compare the endpoint-type in the RAS messages. The possible values are:
• gatekeeper—The endpoint is an H.323 gatekeeper.
• h320-gateway—The endpoint is an H.320 gateway.
• mcu—The endpoint is an MCU.
• other-gateway—The endpoint is a type of gateway not specified on this list.
• proxy—The endpoint is an H.323 proxy.
• terminal—The endpoint is an H.323 terminal.
• voice-gateway—The endpoint is a voice type gateway.
|
Command Mode
Cisco IOS Gatekeeper RRQ and URQ trigger submodes
supported-prefix
To configure a trigger that is based on a specific supported prefix, use the supported-prefix subcommand.
supported-prefix value
Syntax Description
value
|
Specifies the value against which to compare the supported prefix in the RAS messages. The possible values are any E.164 pattern used as a gateway technology prefix. The value string can contain any of the following: 0123456789#*,
|
Command Mode
Cisco IOS Gatekeeper RRQ and URQ trigger submodes
server registration-port
To define a listener port to be used by the external applications to establish connections to the gatekeeper on this router, use the server registration-port command.
[no] server registration-port port_number
The no form of this command forces the gatekeeper on this router to close the listener port so that it cannot receive any additional registrations. However, existing connections between the gatekeeper and external application are left open.
Syntax Description
port_number
|
The port on which the Cisco IOS Gatekeeper should listen for registration messages from external applications.
|
Command Mode
Gatekeeper configuration
show gatekeeper servers
To display a list of the triggers (whether dynamically registered from the external applications or statically configured from the command-line interface), use the show gatekeeper servers command.
show gatekeeper servers [gkid]
Syntax Description
gkid
|
Specifies the ID of the gatekeeper. If you specify a gatekeeper ID, only the information about the external applications that are registered with the specified gatekeeper is displayed. If you do not specify a gatekeeper ID, information about all the external applications that are registered with any of the Cisco IOS Gatekeepers on this router is displayed.
|
Command Mode
EXEC mode
Example 6-1 show gatekeeper servers Output
router#show gatekeeper servers gk102
GATEKEEPER SERVERS STATUS
=========================
Gatekeeper Server listening port: 20000
Server IP address: 1.14.93.28:42387
Server type: dynamically registered
Connection Status: active
Server IP address: 1.14.93.43:3820
Server type: CLI-configured
Connection Status: inactive
Server IP address: 1.14.93.28:42387
Server type: dynamically registered
Connection Status: active
Destination Info: M:nilkant@zone14.com
Destination Info: E:1800.......
Redirect Reason: Call forwarded no reply
Redirect Reason: Call deflection
debug gatekeeper servers
To turn debugging on, use the debug gatekeeper servers command. This command traces all the message exchanges between the Cisco IOS Gatekeeper and the external application. It also displays any errors that occur in sending messages to the external application or in parsing messages from the external application.
debug gatekeeper servers
[no] debug gatekeeper servers
The no format of this command turns debugging off.
Syntax Description
servers
|
Enable the logging of messages between the Cisco IOS Gatekeeper and the external application as well as logging of errors in the processing of messages received from the external application.
|
Command Mode
EXEC mode
Example 6-2 debug gatekeeper servers Output
router#debug gatekeeper servers
############ begin screen trace
00:08:47:GK:processing server msg:
00:08:47:GK TMSG encoded to write buffer:
00:11:16:GK TMSG encoded to write buffer:
Transaction-Id:6121529400000001
00:11:16:GK:processing server msg:
Transaction-Id:6121529400000001
00:11:45:GK TMSG encoded to write buffer:
Transaction-Id:6121529400000002
00:11:45:GK:processing server msg:
Transaction-Id:6121529400000002
############ end screen trace