Examples Of Using Wget - Viavi Xgig User Manual

Table of Contents

Advertisement

Appendix D, Xgig Chassis Trigger/Stop from the Command Line
If the /PASSWORD is specified, the slave user name and password must be enclosed by
and
\"
\"
and separated by a colon. User name and password are case sensitive. Example:
/PASSWORD
\"My Slave:MySlavePassword\"
Note: If the ports within the domain are located in a single chassis other than the master of
the Sync Group AND the
option is not specified, the default user name and
/PASSWORD
password
is used. The master chassis will forward the request to the chassis
JDSU:JDSUsnt
that is associated with the domain.
<MASTER_USERNAME>:
User name to access the Master chassis of the Sync Group. User name and password are case
sensitive. This is a required field.
<MASTER_PASSWORD>
Password to access the Master chassis of the Sync Group. User name and password are case
sensitive. This is a required field.
<HOST>
Xgig Chassis name or IP address of the Master chassis in the Sync Group. This is a required field.

Examples of Using Wget

Stop Example
Assume you wish to stop a domain named "My Domain (1,1,1)" in the Sync Group. This domain
is created as inter-chassis domain with ports located in 2 or more chassis. The following are the
chassis name and the user name and password:
Master chassis name is "MyChassis"
User name to access Master chassis is "MyUserName"
Password to access Master chassis is "MyPassword"
The following command will stop the capture for the domain:
wget -O- "--post-data=Parameters=/Stop \"My Domain (1,1,1)\"" http://MyUserName:MyPassword@MyChassis/
cgi-bin/domaincontrol.pl
Trigger Example
Assume you wish to trigger the domain "My Domain (1,2,1)" in the Sync Group. This domain is
created as an intra-chassis domain with all ports are located in the Master Chassis. The following
are the chassis name and the user name and password:
Master chassis name is "MyChassis"
User name to access Master chassis is "MyUserName"
Password to access Master chassis is "MyPassword"
The following command will trigger the capture for the domain:
wget -O- "--post-data=Parameters=/Trigger \"My Domain (1,2,1)\"" http://MyUserName:MyPassword@MyChassis/
cgi-bin/domaincontrol.pl
Xgig Analyzer User's Guide
443

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents