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 [2020/11/26 17:37] – [Tips] Commandes d'admin non disponibles pteu | ||
---|---|---|---|
Line 94: | Line 94: | ||
(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 177: | ||
+ | =====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 211: | ||
# 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