informatique:extreme_networks
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| informatique:extreme_networks [2026/03/04 14:51] – [DHCP snooping] pteu | informatique:extreme_networks [2026/10/19 15:41] (current) – [BGP] Vérifier les attributs envoyés pteu | ||
|---|---|---|---|
| Line 22: | Line 22: | ||
| =====Licences===== | =====Licences===== | ||
| - | Certaines fonctionnalités sont restreintes à un certain niveau de licence. | + | Certaines fonctionnalités sont restreintes à un certain niveau de licence. A partir du voucher, générer la clé de licence sur le portail Extreme [[https:// |
| - | Procédure pour changer la licence d'un stack : | + | Dans le cas d'un switch universel, de modèle 5000 : une fois la clé de licence récupérée, |
| + | <code bash> | ||
| + | tftp get serveur-tftp vr VR-Mgmt lservlcXXXXXXX-XXXPRD-5000-PRMR.lic | ||
| + | install license file lservlcXXXXXXX-XXXPRD-5000-PRMR.lic | ||
| + | |||
| + | # vérification: | ||
| + | show licenses | ||
| + | Enabled License Level: | ||
| + | Premier | ||
| + | Enabled Feature Packs: | ||
| + | None | ||
| + | </ | ||
| + | |||
| + | Procédure pour changer la licence d'un stack (dans le cas de switch non-universels, | ||
| <code bash> | <code bash> | ||
| # on enlève la restriction de licence sur le slot4 (s'il y en a une) | # on enlève la restriction de licence sur le slot4 (s'il y en a une) | ||
| Line 48: | Line 61: | ||
| </ | </ | ||
| + | Dans le cas | ||
| =====Système===== | =====Système===== | ||
| Line 120: | Line 133: | ||
| Supported: | Supported: | ||
| Wavelength: | Wavelength: | ||
| + | |||
| + | |||
| + | # plus précis | ||
| + | show port 5 transceiver information detail | ||
| + | Port : 5 | ||
| + | |||
| + | Media Type : LX (Unsupported) | ||
| + | SKU : N/A | ||
| + | Vendor Name : OEM | ||
| + | Vendor Date : 06/19/17 | ||
| + | Vendor Revision | ||
| + | Part Number | ||
| + | Serial Number | ||
| + | Power Up Counter | ||
| + | Wavelength | ||
| + | |||
| + | Temp (Celsius) | ||
| + | Low Warn Threshold | ||
| + | Low Alarm Threshold : -10.00 | ||
| + | |||
| + | Voltage AUX-1/Vcc (Volts) : 3.29 | ||
| + | Low Warn Threshold | ||
| + | Low Alarm Threshold : 3.00 High Alarm Threshold : 3.60 | ||
| + | |||
| + | |||
| + | Tx Power (dBm) : -5.71 | ||
| + | Low Warn Threshold | ||
| + | Low Alarm Threshold : -10.00 | ||
| + | Tx DDM : N/A Tx DDM Last Gasp : | ||
| + | |||
| + | Rx Power (dBm) : -5.88 | ||
| + | Low Warn Threshold | ||
| + | Low Alarm Threshold : -21.02 | ||
| + | Rx DDM : N/A Rx DDM Last Gasp : | ||
| + | |||
| + | Tx Bias Current (mA) : 16.40 Status | ||
| + | Low Warn Threshold | ||
| + | Low Alarm Threshold : 1.00 High Alarm Threshold : 90.00 | ||
| + | ================================================================================= | ||
| + | N/A - parameter not applicable to transceiver connected to the port | ||
| + | -inf - negative infinity, parameter not defined | ||
| </ | </ | ||
| Line 299: | Line 353: | ||
| # Lister les clés configurées sur le switch: | # Lister les clés configurées sur le switch: | ||
| show sshd2 user-key | show sshd2 user-key | ||
| + | </ | ||
| + | |||
| + | |||
| + | ====Iimporter un certificat SSL==== | ||
| + | |||
| + | Pour mettre en place du rsyslog TLS ou un certificat pour l' | ||
| + | |||
| + | Importer la CA au format PEM texte (le fichier doit commencer par la ligne "< | ||
| + | <code bash> | ||
| + | download ssl 10.0.0.1 certificate trusted-ca ca.pem | ||
| + | </ | ||
| + | Celui-ci doit avoir les bons flags, notamment dans les extensions X509v3: | ||
| + | * **Basic Constraints**: | ||
| + | * **Subject key identifier** | ||
| + | * **Authority key identifier** | ||
| + | * **Key Usage**: Digital signature, Certificate Sign | ||
| + | |||
| + | Importer le certificat du commutateur : | ||
| + | <code bash> | ||
| + | download ssl 10.0.0.1 certificate ssl-cert commutateur.pem | ||
| + | Warning: | ||
| + | SSL Certificate and Key do not match. | ||
| + | Please load new Key now. | ||
| + | New Certificate will be usable after restart of thttpd process.. | ||
| + | ! | ||
| + | download ssl 10.0.0.1 certificate privkey commutateur.key | ||
| </ | </ | ||
| Line 489: | Line 569: | ||
| .1.3.6.1.2.1.1.1.0 description système/ | .1.3.6.1.2.1.1.1.0 description système/ | ||
| .1.3.6.1.2.1.1.3.0 | .1.3.6.1.2.1.1.3.0 | ||
| + | ! | ||
| + | .1.3.6.1.2.1.17.7.1.4.2.1.3 liste des VLANs sur le switch | ||
| + | ! | ||
| .1.3.6.1.4.1.1916.1.1.1.34.1.10.3 idem | .1.3.6.1.4.1.1916.1.1.1.34.1.10.3 idem | ||
| .1.3.6.1.4.1.1916.1.1.1.13.0 primary system image | .1.3.6.1.4.1.1916.1.1.1.13.0 primary system image | ||
| Line 1270: | Line 1352: | ||
| [...] | [...] | ||
| </ | </ | ||
| + | |||
| + | ====PoE==== | ||
| + | |||
| + | <code bash> | ||
| + | show inline-power | ||
| + | Inline Power System Information | ||
| + | Configured | ||
| + | Power Usage Threshold | ||
| + | Disconnect Precedence | ||
| + | Inline Power budget | ||
| + | | ||
| + | Firmware Status | ||
| + | Operational | ||
| + | |||
| + | |||
| + | show inline-power info ports 1 | ||
| + | Port State | ||
| + | (mA) | ||
| + | 1 | ||
| + | </ | ||
| =====DHCP snooping===== | =====DHCP snooping===== | ||
| Line 1809: | Line 1911: | ||
| ====BGP==== | ====BGP==== | ||
| - | Le BGP n' | + | Le BGP n' |
| Exemple de configuration BGP simple et exhaustive : | Exemple de configuration BGP simple et exhaustive : | ||
| Line 1818: | Line 1920: | ||
| configure vr VR-Default del ports 15 | configure vr VR-Default del ports 15 | ||
| configure vr VR-BGP add ports 15 | configure vr VR-BGP add ports 15 | ||
| - | # activation du BGP sur le VR-BGP | + | # activation du BGP sur le VR-BGP |
| configure vr VR-BGP add protocol bgp | configure vr VR-BGP add protocol bgp | ||
| Line 1854: | Line 1956: | ||
| On peux ajouter une protection par mot de passe MD5 : | On peux ajouter une protection par mot de passe MD5 : | ||
| <code bash> | <code bash> | ||
| - | configure bgp neighbor 10.55.6.92 password | + | configure bgp neighbor 10.55.6.92 password |
| </ | </ | ||
| Line 1870: | Line 1972: | ||
| then { deny; } | then { deny; } | ||
| } | } | ||
| + | |||
| + | # vérification de la routemap | ||
| + | check policy BGP-in | ||
| # application de la routemap | # application de la routemap | ||
| Line 1877: | Line 1982: | ||
| Après la MAJ d'une policy, pour qu' | Après la MAJ d'une policy, pour qu' | ||
| <code bash> | <code bash> | ||
| - | check policy BGP-in.pol | + | check policy BGP-in.pol |
| - | refresh policy BGP-in | + | refresh policy BGP-in |
| configure bgp soft-reconfiguration | configure bgp soft-reconfiguration | ||
| </ | </ | ||
| Line 1935: | Line 2040: | ||
| Les commandes précédentes n' | Les commandes précédentes n' | ||
| </ | </ | ||
| + | |||
| + | ===Envoyer des attributs=== | ||
| + | |||
| + | Pour envoyer/ | ||
| + | <conf bash> | ||
| + | configure bgp neighbor 10.0.0.2 send-community both | ||
| + | </ | ||
| + | |||
| + | Puis, créer une condition dans la policy (ici **BGP-out.pol**) BGP out du voisin souhaité : | ||
| + | <code bash BGP-out.pol> | ||
| + | @description routemap BGP out vers 10.0.0.2 | ||
| + | # on envoie la commu uniquement pour l'une ou l' | ||
| + | entry send-commu { | ||
| + | if match any { | ||
| + | nlri 10.31.6.8/ | ||
| + | nlri 10.31.7.8/ | ||
| + | } | ||
| + | then { | ||
| + | community set " | ||
| + | permit; } | ||
| + | } | ||
| + | </ | ||
| + | Puis, vérifier la syntaxe et rafraîchir la policy (ou l' | ||
| + | <code bash> | ||
| + | check policy BGP-out | ||
| + | refresh policy BGP-out | ||
| + | # ou | ||
| + | #configure bgp neighbor 10.0.0.2 route-policy out BGP-out | ||
| + | </ | ||
| + | |||
| + | Et forcer la MAJ vers les voisins : | ||
| + | <code bash> | ||
| + | configure bgp soft-reconfiguration | ||
| + | </ | ||
| + | |||
| + | Vérifier les attributs envoyés (ici vers le voisin " | ||
| + | <code bash> | ||
| + | show bgp neighbor " | ||
| + | |||
| + | Advertised Routes: | ||
| + | Route: 10.31.6.8/ | ||
| + | Origin IGP, Next-Hop 10.0.65.3, MED 0 | ||
| + | As-PATH: 64512 | ||
| + | Community: 123456789 | ||
| + | Ext Community: rt: | ||
| + | |||
| + | BGP Route Statistics Matching the Display Criteria | ||
| + | Advertised Routes : 1 | ||
| + | </ | ||
| ===Suppression de la conf BGP=== | ===Suppression de la conf BGP=== | ||
informatique/extreme_networks.1772635918.txt.gz · Last modified: 2026/03/04 14:51 by pteu