Cisco Systems H.323 manual Prov-stasrcver=version,dstver=version

Models: H.323

1 199
Download 199 pages 45.03 Kb
Page 120
Image 120

Appendix A MML User Interface and Command Reference

prov-sta

prov-sta

The prov-stacommand establishes a provisioning session. The data files are copied from the source version to the destination version.

prov-sta::srcver=version,dstver=version

Syntax Description

 

srcver=version

Selects a specific configuration version as the source for configuration

 

 

 

 

 

 

changes. The srcver variable represents a directory that exists in

 

 

 

 

 

 

$GWBASE/var/prov/. In place of the configuration version, you can also

 

 

 

 

 

 

enter:

 

 

 

 

 

 

new—Specifies a new default session configuration; no existing source

 

 

 

 

 

 

configuration is used.

 

 

 

 

 

 

active—Selects the active configuration as the source for configuration

 

 

 

 

 

 

changes.

 

 

 

 

 

 

 

 

 

 

 

 

 

dstver=version

Specifies the output version directory for the configuration session results.

 

 

 

 

 

 

The dstver variable represents a directory stored in $GWBASE/var/prov/.

 

 

 

 

 

 

 

 

 

 

 

 

 

Usage Guidelines

 

If the source and destination filenames are the same, the new configuration overwrites the old

 

 

 

 

 

configuration. It is a good practice to copy an existing configuration instead of overwriting it so that you

 

 

 

 

 

can return to a known configuration if there are problems with the new one.

 

 

 

 

 

If the source provisioning session has not been verified, the message “Note: This provisioning session

 

 

 

 

 

has not been verified” is displayed, but the session starts normally.

 

 

 

 

 

If you try to start with a provisioning session that does not exist, an error is displayed, along with a list

 

 

 

 

 

of available sessions.

 

 

 

 

 

The MML command in the following example starts a provisioning session named nowt and creates a

Examples

 

 

 

 

 

 

new configuration named blah:

 

 

 

 

 

gw mml> prov-sta::srcver=nowt,dstver=blah

 

 

 

 

 

H323 Signaling Interface Sun Jan 7 13:32:07 2000

 

 

 

 

 

M DENY

 

 

 

 

 

 

 

 

The provisioning session called "nowt" does not exist.

 

 

 

 

 

The following configurations are available:

 

 

 

 

 

sanfran2 uk9 final

 

 

 

 

 

 

 

 

telco mgcpvia miki

 

 

 

 

 

 

 

 

transit dave matt

 

 

 

 

 

 

 

 

The MML command in the following example starts a provisioning session and creates a new

 

 

 

 

 

configuration named ver1:

 

 

 

 

 

gw mml> PROV-STA::SRCVER="new", DSTVER="ver1"

 

 

 

 

 

H323 Signaling Interface Sun Jan 7 13:32:07 2001

 

 

 

 

 

M SUCC

 

 

 

 

 

 

 

 

Successfully started provisioning session "ver1" from "new".

 

 

 

 

 

The MML command in the following example starts a provisioning session, opens the existing

 

 

 

 

 

configuration named ver1, and overwrites that configuration:

 

 

 

 

 

gw mml> PROV-STA::SRCVER="ver1", DSTVER="ver1"

 

 

 

Cisco H.323 Signaling Interface User Guide

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

A-20

 

 

 

 

OL-4806-01 Rev. A14

 

 

 

 

 

 

 

Page 120
Image 120
Cisco Systems H.323 manual Prov-stasrcver=version,dstver=version