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 [2025/10/15 15:30] – [authentification par mac] pteu | informatique:extreme_networks [2026/06/26 08:41] (current) – [SSL] pteu | ||
|---|---|---|---|
| Line 299: | Line 299: | ||
| # 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 515: | ||
| .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 1298: | ||
| [...] | [...] | ||
| </ | </ | ||
| + | |||
| + | =====DHCP snooping===== | ||
| + | |||
| + | Le DHCP snooping est un service de sécurité qui permet de spécifier à un switch où (sur quel port) est situé le serveur DHCP légitime, afin qu'il bloque les flux DHCP illicites émanant des ports utilisateur. On ne l' | ||
| + | |||
| + | Le DHCP snooping s' | ||
| + | |||
| + | On peut choisir l' | ||
| + | |||
| + | <code bash> | ||
| + | # définir un serveur DHCP par VLAN (limité à 8) | ||
| + | configure trusted-servers vlan v2 add server 192.168.1.253 trust-for dhcp-server | ||
| + | # alternative: | ||
| + | configure trusted-port 1 trust-for dhcp-server | ||
| + | |||
| + | # activer la protection sur les ports utilisateur et bloquer pour 1h l' | ||
| + | enable ip-security dhcp-snooping vlan v2 port 2-48 violation-action drop-packet block-mac duration 3600 snmp-trap | ||
| + | </ | ||
| + | |||
| + | Vérifications | ||
| + | <code bash> | ||
| + | show ip-security dhcp-snooping vlan v2-Commerciaux | ||
| + | show configuration ipSecurity | ||
| + | </ | ||
| + | |||
| + | Logs typiques : | ||
| + | <code bash> | ||
| + | 03/03/2026 15:56:41.76 < | ||
| + | 03/03/2026 15:56:41.76 < | ||
| + | </ | ||
| =====Spanning-tree===== | =====Spanning-tree===== | ||
informatique/extreme_networks.1760542216.txt.gz · Last modified: 2025/10/15 15:30 by pteu