Commande CL IBM i (AS/400)
CHGBPA
Modifier attributs BOOTP
Change BOOTP Attributes
En bref
La commande Modification des attributs du serveur BOOTP (CHGBPA) permet de modifier les attributs du protocole d'amorçage (BOOTP). The Change BOOTP Server Attributes (CHGBPA) command is used to change the Bootstrap Protocol (BOOTP) attributes.
CHGBPA se lit CHG
(Modifier) + BPA.
Sur IBM i, le nom d'une commande associe presque toujours un verbe et un objet.
Syntaxe minimale
CHGBPA
Paramètres
-
AUTOSTARTDémarrage automatique du serveur Autostart server
Astuce : dans une session 5250, tapez CHGBPA puis F4 pour
l'invite de saisie, et F1 sur un paramètre pour son aide.
Aide IBM i de la commande
Texte du F1, IBM i 7.5 en français
(bibliothèque QSYS)
Où s'exécute : Tous les environnements (*ALL)
Compatible multitâche : Non
La commande Modification des attributs du serveur BOOTP (CHGBPA) permet de modifier les attributs du protocole d'amorçage (BOOTP). Les modifications prennent effet au prochain démarrage du serveur BOOTP, par la commande Démarrage de TCP/IP (STRTCP) ou par la commande Démarrage de serveur TCP/IP (STRTCPSVR). The Change BOOTP Server Attributes (CHGBPA) command is used to change the Bootstrap Protocol (BOOTP) attributes. The changes take effect the next time the BOOTP server is started either by the Start TCP/IP (STRTCP) command or by the Start TCP/IP Server (STRTCPSVR) command.
Restrictions:
Vous devez posséder le droit spécial *IOSYSCFG pour utiliser cette commande. You must have *IOSYSCFG special authority to use this command.
Paramètres
| Mot-clé | Description | Valeurs possibles | Remarques |
|---|---|---|---|
| AUTOSTART | Démarrage automatique du serveurAutostart server | *YES, *NO, *SAME | Facultatif, positionnel 1 |
Démarrage automatique du serveur (AUTOSTART)Autostart server (AUTOSTART)
L'attribut AUTOSTART détermine si le serveur BOOTP démarre automatiquement lorsque TCP/IP est démarré par la commande STRTCP, ou lorsque la commande STRTCPSVR SERVER(*AUTOSTART) est émise. The AUTOSTART attribute determines whether or not the BOOTP server starts automatically when TCP/IP is started using the STRTCP command, or when the STRTCPSVR SERVER(*AUTOSTART) command is issued.
Cet attribut n'est utilisé par la commande STRTCPSVR que si STRTCPSVR *AUTOSTART est indiqué. STRTCPSVR *BOOTP ou STRTCPSVR *ALL tente de démarrer le serveur BOOTP quelle que soit la valeur de l'attribut AUTOSTART. This attribute is only used by the STRTCPSVR command if STRTCPSVR *AUTOSTART is specified. STRTCPSVR *BOOTP or STRTCPSVR *ALL will attempt to start the BOOTP server regardless of the value of the AUTOSTART attribute.
Remarque :Vous ne pouvez pas donner la valeur *YES à l'attribut BOOTP AUTOSTART si la valeur DHCP AUTOSTART est *YES. Un serveur BOOTP et un serveur DHCP ne peuvent pas s'exécuter simultanément sur la même machine. Un message d'erreur est émis si vous tentez de donner la valeur *YES à la fois aux valeurs AUTOSTART de BOOTP et de DHCP. Remarque :You cannot set the BOOTP AUTOSTART attribute to *YES if the DHCP AUTOSTART value is set to *YES. A BOOTP and DHCP server cannot run simultaneously on the same machine. You will get an error message if you attempt to set both the BOOTP and DHCP AUTOSTART values to *YES.
- *SAME
- La valeur AUTOSTART ne change pas si elle avait été définie précédemment. Sinon, *NO est utilisé. The AUTOSTART value does not change if it was previously set. Otherwise, *NO is used.
- *YES
- Indiquez la valeur *YES si vous souhaitez que le serveur BOOTP démarre automatiquement chaque fois que TCP/IP est démarré par la commande STRTCP, ou chaque fois que les serveurs TCP/IP sont démarrés par la commande STRTCPSVR *AUTOSTART. Specify a value of *YES if you want the BOOTP server to start automatically each time TCP/IP is started by the STRTCP command, or each time the TCP/IP servers are started by the STRTCPSVR *AUTOSTART command.
- *NO
- Specify *NO if you do not want the BOOTP server to start automatically each time TCP/IP is started by the STRTCP command, or each time the TCP/IP servers are started by the STRTCPSVR *AUTOSTART command.
Lorsque la valeur est *NO, seule la commande STRTCPSVR *BOOTP ou la commande STRTCPSVR *ALL démarre le serveur BOOTP. When the value is set to *NO, only the STRTCPSVR *BOOTP command or the STRTCPSVR *ALL command will start the BOOTP server.
Si vous n'avez pas l'intention d'utiliser le serveur BOOTP, donnez la valeur *NO à AUTOSTART. If you do not intend to use the BOOTP server, set AUTOSTART to *NO.
Exemples
CHGBPA AUTOSTART(*YES)
Cette commande indique que la prochaine fois que la commande STRTCP sera émise pour démarrer TCP/IP et démarrer automatiquement les applications TCP/IP, le serveur BOOTP sera démarré automatiquement. This command indicates that the next time the STRTCP command is issued to start up TCP/IP and to automatically start the TCP/IP applications, the BOOTP server will be automatically started.
Messages d'erreur
Aucun
© Copyright IBM Corp. Texte d'aide reproduit à des fins de formation.