Which statement is true about this script?

The following UNIX shell script was created to generate a configuration for the Cisco GGSN.
Which statement is true about this script?
#!/bin/sh
echo “gprs access-point-list AC”
x=1000
y=1501
while [ $x -lt $y ]; do
 echo ” access-point $x”
 echo ” access-point-name AutomationApn$x”
 echo ” access-type real”
 echo ” access-mode non-transparent”
 echo ” service-mode operational”
 echo ” vrf CHARGING”
 echo ” aaa-group accounting AAAactServer”
 echo ” aaa-group authentication AAAautServer”

 echo ” charging profile any 6 override”
 echo ” aggregate auto”
 echo ” gtp response-message wait-accounting”
 echo ” gtp pdp-context timeout idle 600 uplink”
 echo ” exit”
 echo ” !”
 x=`expr $x + 1`
done
echo “!”

The following UNIX shell script was created to generate a configuration for the Cisco GGSN.
Which statement is true about this script?
#!/bin/sh
echo “gprs access-point-list AC”
x=1000
y=1501
while [ $x -lt $y ]; do
 echo ” access-point $x”
 echo ” access-point-name AutomationApn$x”
 echo ” access-type real”
 echo ” access-mode non-transparent”
 echo ” service-mode operational”
 echo ” vrf CHARGING”
 echo ” aaa-group accounting AAAactServer”
 echo ” aaa-group authentication AAAautServer”

 echo ” charging profile any 6 override”
 echo ” aggregate auto”
 echo ” gtp response-message wait-accounting”
 echo ” gtp pdp-context timeout idle 600 uplink”
 echo ” exit”
 echo ” !”
 x=`expr $x + 1`
done
echo “!”

A.
The first access point to be configured will be 1000, unless the user calls the script with a
parameter of a different number.

B.
The line “gprs access-point-list AC” will be printed without the quotes 500 times.

C.
This is a Perl script.

D.
The last access-point-name will be AutomationApn1500.



Leave a Reply 0

Your email address will not be published. Required fields are marked *