WAN Manager SPI Programming Guide
WAN Manager Commands and Responses
WAN Manager SPI Programming Guide—540013-001
5-29
ALTER PATH
ALTER PATH
This command changes the IP address of an existing path.
The ALTER PATH command has this syntax:
conc-name.clip-num.path-name
conc-name is the name of the SWAN concentrator as specified in the ADD
ADAPTER command.
clip-num is the CLIP number in which the path is being altered.
path-name is the name of the Ethernet path. The possible values for the path
name are A or B. A indicates the A Ethernet path. B indicates the B Ethernet path.
You can also use wild cards such as an asterisk (*) or question mark (?), in any
combination (for example, $ZZWAN.#*, $ZZWAN.#S*, $ZZWAN.#S01.*, and
$ZZWAN.#S01.?.?) to select more than one object matching the pattern.
ip-address
is the IP address assigned to the PATH object in the form nnn.nnn.nnn.nnn where
nnn is a decimal number in the range 0 through 255.
SCF Example
ALTER PATH $ZZWAN.#S18.1.A, IP ADDRESS 192.168.010.121
ALTER PATH $ZZWAN.#conc-name.clip-num.path-name
, IPADDRESS ip-address
Tokens in Command Buffer
ZSPI-TKN-COMMAND: ZCOM-CMD-ALTER
ZSPI-TKN-OBJECT-TYPE: ZCOM-OBJ-PATH
ZCOM-TKN-OBJNAME: $ZZWAN.#conc-name.clip-num.{ A | B }
ZWAN-TKN-IP-ADDRESS: INT(32) OF ip-address !r
Tokens in Response Buffer
ZSPI-TKN-DATALIST:*
ZCOM-TKN-OBJNAME: $ZZWAN.#conc-name.clip-num.{ A | B }
ZCOM-TKN-OBJTYPE: ZCOM-OBJ-PATH
ZSPI-TKN-RETCODE: ZCOM-ERR-OK
ZSPI-TKN-ENDLIST:-