
| Niveau | Couche | Exemple |
|---|---|---|
| 3 | Infrastructure | Routeur 12000(QOS,VOIP) / Switch MPLS… |
| 2 | Distribution | Routeurs 1700/1800/2600… |
| 3 | Accès | Hub / Switcch 1950/2750/3750… |
enable
show version
show date
show interface
show line
hostname
clock set H:M:S Day Month Year
conf t enable secret Pa$$w0rd
conf t enable password Pa$$w0rd
conf t no ip domain lookup
banner motd #
Restriced Access
******************************
* Routeur 1 test *
******************************
#
clear line 6
copy running-config startup-config
ou
write
erase startup-config
conf t config-register 0x2102
conf t line console 0
exec-timeout 0 120
logging synchronous
password Pa$$w0rd login
conf t line vty 0 4
password Pa$$w0rd
conf t interface fastEthernet 0
ip address 192.168.1.1 255.255.255.0
description interface LAN f0
no shutdown
conf t interface serial 0
ip address 10.0.0.1 255.0.0.0
description interface WAN s0
no shutdown
Utiliser un logiciel pour celui-ci pour obtenir un serveur TFTP.
copy run tftp://192.168.1.50
copy start tftp://192.168.1.50
copy tftp run $IP $fichier
copy tftp start $IP $fichier
Pour récupérer le mode privilégié sans le password, il faut :
| 0x2142 | 0x2102 |
|---|---|
| ROM | ROM |
| IOS > RAM | IOS > RAM |
| startup-config | Mode console |
| NVRAM > RAM | … |
| Mode console | … |
reset
en copy start run conf t enable secret Pa$$w0rd conf-register 0x2102 copy run start reload
show cdp neighbors
show cdp entry *
show cdp traffic
show cdp interface
conf t int f0 cdp enable
conf t int f0 no cdp enable
no cdp run