Aller au contenu

CHGOSPFA

Modifier attributs OSPF

Change OSPF Attributes

En bref

La commande Modification des attributs OSPF (CHGOSPFA) permet de modifier les informations globales OSPF (Open Shortest Path First), telles que l'identificateur du routeur ou le type de comparaison. The Change OSPF Attributes command (CHGOSPFA) allows you to change the OSPF (Open Shortest Path First) global information, such as the router identifier or the comparison type.

CHGOSPFA se lit CHG (Modifier) + OSPFA. Sur IBM i, le nom d'une commande associe presque toujours un verbe et un objet.

Syntaxe minimale

CHGOSPFA

Paramètres

  • ROUTER Identificateur du routeur Router identifier
  • CMPTYPE Type de comparaison Comparison type
  • BDYRTG Routage en périphérie Boundary routing
  • AUTOSTART Démarrage automatique du serveur Autostart server
  • SUBAGTMON Moniteur de sous-agent Subagent monitor
  • SNMPUSR Nom d'utilisateur SNMP

Astuce : dans une session 5250, tapez CHGOSPFA 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 OSPF (CHGOSPFA) permet de modifier les informations globales OSPF (Open Shortest Path First), telles que l'identificateur du routeur ou le type de comparaison. The Change OSPF Attributes command (CHGOSPFA) allows you to change the OSPF (Open Shortest Path First) global information, such as the router identifier or the comparison type.

Restrictions:

  • Vous devez posséder le droit spécial de configuration du système d'entrée-sortie (*IOSYSCFG) pour exécuter cette commande. You must have input/output system configuration (*IOSYSCFG) special authority to run this command.

Paramètres

Mot-clé Description Valeurs possibles Remarques
ROUTER Identificateur du routeurRouter identifier Valeur caractère, *SAME, *DFT Facultatif, positionnel 1
CMPTYPE Type de comparaisonComparison type *SAME, *TYPE1, *TYPE2 Facultatif
BDYRTG Routage en périphérieBoundary routing *SAME, *NO, *YES Facultatif
AUTOSTART Démarrage automatique du serveurAutostart server *SAME, *NO, *YES Facultatif
SUBAGTMON Moniteur de sous-agentSubagent monitor *SAME, *YES, *NO Facultatif
SNMPUSR Nom d'utilisateur SNMP Valeur caractère, *NONE Facultatif

Identificateur du routeur (ROUTER)Router identifier (ROUTER)

Indique l'identificateur unique qu'un réseau OSPF reconnaît comme participant au domaine de routage. L'identificateur du routeur doit être représenté au format décimal pointé. Specifies the unique identifier that an OSPF network will recognize as participating of the routing domain. The router identifier must be represented in dotted-decimal format.

*SAME
L'identificateur de routeur du système précédemment défini ne change pas ; sinon, *DFT est utilisé. The router identifier for the system that was previously set does not change; otherwise, *DFT is used.
valeur-caractère
Indique une valeur en décimal pointé comme identificateur du routeur. L'identificateur du routeur doit être indiqué sous la forme d'une adresse Internet IPv4 nnn.nnn.nnn.nnn, où nnn est un nombre décimal compris entre 0 et 255. Specifies a dotted-decimal value as router identifier. The router identifier must be specified as an IPv4 internet address in the form nnn.nnn.nnn.nnn, where nnn is a decimal number ranging from 0 through 255.
*DFT
OMPROUTED utilise le nom du système/nom de domaine pour obtenir l'identificateur du routeur. OMPROUTED will take the system name/domain name to obtain the the router identifier.

Type de comparaison (CMPTYPE)Comparison type (CMPTYPE)

Indique comment le serveur OMPROUTED doit traiter les métriques ou coûts externes. Specifies how the OMPROUTED server should treat the external metrics or costs.

*SAME
La valeur de type de comparaison précédemment définie ne change pas ; sinon, *TYPE2 est utilisé. The comparison type value that was previously set does not change; otherwise, *TYPE2 is used.
*TYPE2
Le coût externe de type 2 est supérieur à tout coût de liaison interne dans le système autonome. Le coût externe de type 2 évite de devoir convertir les métriques externes en coût de liaison interne. The Type 2 external cost is greater than any internal link cost in the Autonomous System. Type 2 external cost avoids the need to convert the external metrics to the internal link cost.
*TYPE1
La métrique externe de type 1 est similaire au coût de liaison. The Type 1 external metric is similar to the link cost.

Routage en périphérie (BDYRTG)Boundary routing (BDYRTG)

Indique si la capacité de routage en périphérie de système autonome est activée. Si elle est activée, cette capacité permet au serveur OMPROUTED d'importer dans le domaine OSPF des routes apprises par d'autres méthodes, comme RIP ou configurées statiquement. Specifies whether or not autonomous system boundary routing capability is enabled. If enabled, this capability allows the OMPROUTED server to import routes learned from other methods, like RIP or statically configured, into the OSPF domain.

*SAME
La valeur de l'option de routage en périphérie précédemment définie ne change pas ; sinon, *NO est utilisé. The boundary routine option value that was previously set does not change; otherwise, *NO is used.
*NO
La capacité de routage en périphérie est désactivée. Boundary routing capability is disable.
*YES
La capacité de routage en périphérie est activée. Boundary routing capability is enable.

Démarrage automatique du serveur (AUTOSTART)Autostart server (AUTOSTART)

Indique s'il faut démarrer automatiquement le serveur OMPROUTED lorsque TCP/IP est démarré par l'exécution de la commande Démarrage de TCP/IP (STRTCP) ou de la commande Démarrage de serveur TCP/IP (STRTCPSVR) avec SERVER(*AUTOSTART) indiqué. Lorsque OMPROUTED est démarré par l'exécution de la commande STRTCPSVR avec SERVER(*OMPROUTED), ce paramètre est ignoré ; le serveur OMPROUTED est démarré quelle que soit la valeur de ce paramètre. Specifies whether to start the OMPROUTED server automatically when TCP/IP is started by running the Start TCP/IP (STRTCP) command, or the Start TCP/IP Server (STRTCPSVR) command with SERVER(*AUTOSTART) specified. When OMPROUTED is started by running the STRTCPSVR command with SERVER(*OMPROUTED), this parameter is ignored; the OMPROUTED server is started regardless of the value of this parameter.

*SAME
La valeur de démarrage automatique précédemment définie ne change pas ; sinon, *YES est utilisé. The autostart value that was previously set does not change; otherwise, *YES is used.
*YES
Démarre automatiquement le serveur OMPROUTED. Automatically start the OMPROUTED server.
*NO
Ne démarre pas automatiquement le serveur OMPROUTED. Do not automatically start the OMPROUTED server.

Moniteur de sous-agent (SUBAGTMON)Subagent monitor (SUBAGTMON)

Indique s'il faut activer le sous-agent SNMP (Simple Network Manager Protocol) OSPF pour collecter les informations d'état et de configuration OSPF IPv4 auprès du serveur OMPROUTED. Specifies whether or not to enable the OSPF SNMP (Simple Network Manager Protocol) subagent to collect IPv4 OSPF state and configuration information from the OMPROUTED server.

*SAME
La valeur du moniteur de sous-agent précédemment définie ne change pas ; sinon, *YES est utilisé. The subagent monitor value that was previously set does not change; otherwise, *YES is used.
*YES
Le moniteur de sous-agent est activé. The subagent monitor is enabled.
*NO
Le moniteur de sous-agent est désactivé. The subagent monitor is disable.

Exemples

CHGOSPFA ROUTER('1.1.1.1')

Cette commande modifie le routeur OSPF du système qui sera identifié dans le domaine de routage OSPF. This command changes the OSPF router for the system that will be identified in the OSPF routing domain.

Messages d'erreur

Messages *ESCAPE *ESCAPE Messages

TCP8050
Le droit *IOSYSCFG est requis pour utiliser &1. *IOSYSCFG authority required to use &1.
TCP6522
Les attributs OSPF n'ont pas été modifiés correctement, pour le code anomalie &1 OSPF attributes have not been changed successfully because of reason code &1

© Copyright IBM Corp. Texte d'aide reproduit à des fins de formation.