DSPOSPF
Afficher OSPF
Display OSPF
En bref
La commande Afficher l'état et la configuration OSPF (DSPOSPF) permet d'afficher la configuration OSPF en cours ou l'état du protocole de routage. The Display OSPF State and Configuration (DSPOSPF) command can show the current OSPF configuration or the state of the routing protocol.
DSPOSPF se lit DSP
(Afficher) + OSPF.
Sur IBM i, le nom d'une commande associe presque toujours un verbe et un objet.
Syntaxe minimale
DSPOSPF
Paramètres
-
IPVERSIONVersion OSPF OSPF Version -
OPTIONOption -
CONFIGInformations de configuration Configuration information -
STATEInformations d'état State information -
IFCInterface -
NGHVoisin Neighbor -
LSAAnnonce d'état de lien Link state advertisement
Astuce : dans une session 5250, tapez DSPOSPF 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 : Environnements interactifs (*INTERACT *IPGM *IREXX *EXEC)
Compatible multitâche : Non
La commande Afficher l'état et la configuration OSPF (DSPOSPF) permet d'afficher la configuration OSPF en cours ou l'état du protocole de routage. Les informations de configuration en cours comprennent les interfaces OSPF, les voisins, les zones et les liens virtuels. Les informations d'état en cours comprennent l'état des voisins, les adjacences établies, le contenu de la base de données d'états de liens et les routes OSPF. The Display OSPF State and Configuration (DSPOSPF) command can show the current OSPF configuration or the state of the routing protocol. Current configuration information includes OSPF interfaces, neighbors, areas, and virtual links. Current state information includes neighbor state, adjacencies formed, link state database contents, and OSPF routes.
Paramètres
| Mot-clé | Description | Valeurs possibles | Remarques |
|---|---|---|---|
| IPVERSION | Version OSPFOSPF Version | *IPV4, *IPV6 | Facultatif, positionnel 1 |
| OPTION | Option | *CFG, *STATE | Facultatif, positionnel 2 |
| CONFIG | Informations de configurationConfiguration information | *GLOBAL, *AREA, *IFC, *NBCIFC, *NGH, *VRTLNK | Facultatif |
| STATE | Informations d'étatState information | *IFC, *NGH, *LSA, *RTE | Facultatif |
| IFC | Interface | Valeur caractère, *ALL | Facultatif |
| NGH | VoisinNeighbor | Valeur caractère, *ALL | Facultatif |
| LSA | Annonce d'état de lienLink state advertisement | Valeur caractère, *EXTERNAL | Facultatif |
Version OSPF (IPVERSION)OSPF Version (IPVERSION)
Indique la version de l'état et de la configuration OSPF à afficher. Specifies which version of OSPF state and configuration information to display.
- *IPV4
- Affiche l'état et la configuration OSPF pour IPv4. Display OSPF state and configuration for IPv4.
- *IPV6
- Affiche l'état et la configuration OSPF pour IPv6. Display OSPF state and configuration for IPv6.
Option (OPTION)
Indique le type d'informations OSPF à afficher. Specifies the type of OSPF information to be displayed.
- *CFG
- Affiche les informations de configuration OSPF en cours. Display current OSPF configuration information.
- *STATE
- Affiche les informations d'état OSPF en cours. Display current OSPF state information.
Informations de configuration (CONFIG)Configuration information (CONFIG)
Indique les options de configuration OSPF à afficher. Specifies which OSPF configuration options are to be displayed.
- *GLOBAL
- Affiche les informations OSPF globales, telles que l'identificateur du routeur et l'activation ou non du protocole de routage OSPF. Display the global OSPF information such as router identifier and whether or not the OSPF routing protocol has been enabled.
- *AREA
- Affiche les zones OSPF configurées. Display the configured OSPF areas.
- *IFC
- Affiche les interfaces OSPF configurées. Display the configured OSPF interfaces.
- *NBCIFC
- Affiche les interfaces OSPF sans diffusion configurées. Display the configured OSPF nonbroadcast interfaces.
- *NGH
- Affiche les voisins OSPF configurés. Display the configured OSPF neighbors.
- *VRTLNK
- Affiche les liens virtuels OSPF configurés. Display the configured OSPF virtual links.
Informations d'état (STATE)State information (STATE)
Indique les options d'état OSPF à afficher. Specifies which OSPF state options are to be displayed.
- *IFC
- Affiche l'état en cours des interfaces OSPF. Display the current state of OSPF interfaces.
- *NGH
- Affiche l'état en cours des voisins OSPF. Display the current state of OSPF neighbors.
- *LSA
- Affiche le contenu de la base de données d'états de liens. Display the contents of the link-state database.
- *RTE
- Affiche les routes OSPF générées vers les autres routeurs. Display the generated OSPF routes to other routers.
Interface (IFC)
Affiche les informations d'état en cours des interfaces OSPF. Display the current state information of OSPF interfaces.
- *ALL
- Cette option affiche l'état de toutes les interfaces OSPF configurées. This option display the state of all configured OSPF interfaces.
- valeur-caractère
- Specify the internet address of a particular OSPF interface.
Une adresse Internet IPv4 est indiquée sous la forme nnn.nnn.nnn.nnn, où nnn est un nombre décimal compris entre 0 et 255. Une adresse Internet IPv6 est indiquée sous la forme n:n:n:n:n:n:n:n, où n est un nombre hexadécimal compris entre 0 et X'ffff'. La valeur "::" indique qu'un ou plusieurs groupes de 16 bits sont à zéro. An IPv4 internet address is specified in the form nnn.nnn.nnn.nnn where nnn is a decimal number between 0 and 255. An IPv6 internet address is specified in the form n:n:n:n:n:n:n:n where n is a hexadecimal number in the range from 0 through X'ffff'. The value "::" indicates that one or more groups of 16 bits are zero.
L'identificateur d'interface peut également être un nom d'alias d'une interface logique. The interface identifier can also be an alias name of an logical interface.
Voisin (NGH)Neighbor (NGH)
Affiche l'état en cours des voisins OSPF. Display the current state of OSPF neighbors.
- *ALL
- Affiche l'état de tous les voisins OSPF configurés. Display the state of all configured OSPF neighbors.
- valeur-caractère
- Specifies the internet address of a particular OSPF neighbor.
Une adresse Internet IPv4 est indiquée sous la forme nnn.nnn.nnn.nnn, où nnn est un nombre décimal compris entre 0 et 255. Une adresse Internet IPv6 est indiquée sous la forme n:n:n:n:n:n:n:n, où n est un nombre hexadécimal compris entre 0 et X'ffff'. La valeur "::" indique qu'un ou plusieurs groupes de 16 bits sont à zéro. An IPv4 internet address is specified in the form nnn.nnn.nnn.nnn where nnn is a decimal number between 0 and 255. An IPv6 internet address is specified in the form n:n:n:n:n:n:n:n where n is a hexadecimal number in the range from 0 through X'ffff'. The value "::" indicates that one or more groups of 16 bits are zero.
Annonce d'état de lien (LSA)Link state advertisement (LSA)
Indique s'il faut afficher les annonces d'état de lien externes ou la base de données d'états de liens pour une zone particulière. Specifies whether to display the external link state advertisements or the link-state database for a particular area.
- *EXTERNAL
- Affiche les annonces d'état de lien externes. Display the external link state advertisements.
- valeur-caractère
- Indiquez l'adresse Internet de la zone sous la forme a.a.a.a, où a est un nombre décimal compris entre 1 et 255. Specify the internet address for the area in the form a.a.a.a where a is a decimal number between 1 and 255.
Exemples
Exemple 1 : Affichage des informations globales OSPF pour IPv4 Example 1:Displaying Global Information of OSPF for IPv4
DSPOSPF IPVERSION(*IPV4) OPTION(*CFG) CONFIG(*GLOBAL)
Cette commande affiche le panneau de configuration globale en cours d'IPv4 OSPF, tel que l'identificateur du routeur, l'activation ou non du protocole OSPF et l'activation ou non du système en tant que routeur de frontière autonome. This command displays the current global configuration panel of IPv4 OSPF, such as router identifier, whether or not the OSPF protocol is enabled, and whether the system has been enabled or not as an autonomous boundary router.
Exemple 2 : Affichage des interfaces OSPF IPv4 configurées en cours Example 2:Displaying Current Configured IPv4 OSPF Interfaces
DSPOSPF IPVERSION(*IPV4) OPTION(*CFG) CONFIG(*IFC)
Cette commande affiche le panneau des interfaces OSPF IPv4 configurées en cours. Ce panneau indique, pour chaque interface OSPF, les valeurs des intervalles de temps pour l'envoi des paquets hello et le processus d'échange de base de données. This command displays the current configured IPv4 OSPF interfaces panel. This panel shows, for each OSPF interface, the values of the time intervals for sending of hello packets and the database exchange process.
Exemple 3 : Affichage des zones OSPF IPv4 actuellement configurées Example 3:Displaying Currently Configured IPv4 OSPF Areas
DSPOSPF IPVERSION(*IPV4) OPTION(*CFG) CONFIG(*AREA)
Cette commande affiche les zones OSPF IPv4 actuellement configurées auxquelles ce système appartient. This command displays the currently configured IPv4 OSPF areas within which this system belongs.
Messages d'erreur
Messages *ESCAPE *ESCAPE Messages
- TCP6512
- L'état et la configuration OSPF ne peuvent pas être extraits car le serveur OMPROUTED n'est pas actif. OSPF state and configuration can not be retrieved because OMPROUTED server is not active.
- TCP9999
- Erreur système interne dans le programme &1. Internal system error in program &1.
© Copyright IBM Corp. Texte d'aide reproduit à des fins de formation.