informatique:extreme_200
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
informatique:extreme_200 [2019/05/13 13:58] – pteu | informatique:extreme_200 [2021/01/11 11:02] – [Administration] HTTPS pteu | ||
---|---|---|---|
Line 24: | Line 24: | ||
copy nvram: | copy nvram: | ||
</ | </ | ||
+ | |||
+ | ===== Administration===== | ||
+ | |||
+ | ====LLDP==== | ||
LLDP/CDP : actif par défaut ; pour voir les voisins : | LLDP/CDP : actif par défaut ; pour voir les voisins : | ||
Line 29: | Line 33: | ||
show lldp remote-device all | show lldp remote-device all | ||
</ | </ | ||
+ | |||
+ | ====SNMP==== | ||
Activer le SNMP v2 : | Activer le SNMP v2 : | ||
<code bash> | <code bash> | ||
+ | configure | ||
snmp-server sysname " | snmp-server sysname " | ||
snmp-server location " | snmp-server location " | ||
Line 39: | Line 46: | ||
</ | </ | ||
+ | ====HTTPS==== | ||
+ | |||
+ | <code bash> | ||
+ | crypto certificate generate | ||
+ | no ip http secure-protocol TLS1 SSL3 | ||
+ | ip http secure-session hard-timeout 120 | ||
+ | ip http secure-session soft-timeout 60 | ||
+ | ip http secure-server | ||
+ | </ | ||
=====MAJ du firmware===== | =====MAJ du firmware===== | ||
Line 94: | Line 110: | ||
(Extreme 220) (Interface 1/0/2) #exit | (Extreme 220) (Interface 1/0/2) #exit | ||
(Extreme 220) (Config) #exit | (Extreme 220) (Config) #exit | ||
+ | </ | ||
+ | |||
+ | =====Interfaces/ | ||
+ | <code bash> | ||
+ | show port all | ||
+ | | ||
+ | Intf Type | ||
+ | --------- ------ --------- ---------- ---------- ------ ------- ------ -------- | ||
+ | 1/0/1 Enable | ||
+ | 1/0/2 Enable | ||
+ | [..] | ||
+ | 1/ | ||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | show interfaces status all | ||
+ | | ||
+ | Port | ||
+ | --------- | ||
+ | 1/0/1 Up Auto 100 Full Copper | ||
+ | 1/0/2 Up Auto 100 Full Copper | ||
+ | [..] | ||
+ | 1/ | ||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | show interfaces switchport general | ||
+ | Intf PVID Ingress | ||
+ | Filtering | ||
+ | --------- ----- ---------- ---------- --------- --------- --------- --------- | ||
+ | 1/0/2 | ||
+ | 1/0/3 | ||
+ | [..] | ||
+ | 1/ | ||
+ | 101-102, | ||
+ | 122 | ||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | show interfaces switchport access | ||
+ | Intf PVID | ||
+ | --------- ---- | ||
+ | 1/0/1 102 | ||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | show interface ethernet all | ||
+ | Port Bytes Tx Bytes Rx | ||
+ | ------ | ||
+ | 1/0/1 | ||
+ | 1/0/2 | ||
+ | [..] | ||
+ | 1/ | ||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | show poe port info all | ||
+ | High | ||
+ | Intf Power | ||
+ | | ||
+ | ------ ------- -------- -------- ------- | ||
+ | 1/0/1 Yes | ||
+ | 1/0/2 Yes | ||
</ | </ | ||
Line 114: | Line 193: | ||
+ | =====Tips===== | ||
+ | |||
+ | ====Timeout SSH/ | ||
+ | |||
+ | Timeout de session SSH et telnet (1h) : | ||
+ | <code bash> | ||
+ | telnetcon timeout 60 | ||
+ | sshcon timeout 60 | ||
+ | </ | ||
+ | |||
+ | ====Commandes d' | ||
+ | |||
+ | Malgré un compte utilisateur doté des privilèges maximum (privilege-15), | ||
+ | |||
+ | Pour bypasser ce problème il faut créer un groupe auquel on assigne le droit de lancer toutes les commandes ; puis on ajoute l' | ||
+ | <code bash> | ||
+ | configure | ||
+ | # création du groupe de commandes | ||
+ | taskgroup admin-tasks | ||
+ | task read write execute debug aaa | ||
+ | exit | ||
+ | |||
+ | # création du groupe d' | ||
+ | usergroup admin-group | ||
+ | taskgroup admin-tasks | ||
+ | |||
+ | # ajout de l' | ||
+ | username admin2 usergroup admin-group | ||
+ | </ | ||
======OIDs utiles====== | ======OIDs utiles====== | ||
Line 119: | Line 227: | ||
# système | # système | ||
.1.3.6.1.4.1.4413.1.1.1.1.1 | .1.3.6.1.4.1.4413.1.1.1.1.1 | ||
- | .1.3.6.1.4.1.4413.1.1.1.1.4.8 | + | .1.3.6.1.4.1.4413.1.1.1.1.4.1.0 |
- | .1.3.6.1.4.1.4413.1.1.1.1.4.9 | + | .1.3.6.1.4.1.4413.1.1.1.1.4.8 |
+ | .1.3.6.1.4.1.4413.1.1.1.1.4.9 | ||
</ | </ | ||
informatique/extreme_200.txt · Last modified: 2024/02/22 09:30 by pteu