Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NetworkAndCo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hugo Lacherez
NetworkAndCo
Commits
adc54351
Commit
adc54351
authored
2 years ago
by
Al Massati Bilal
Browse files
Options
Downloads
Patches
Plain Diff
Rangement V Finale
parent
5c4b668d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/procedures/procedure-tftp.md
+58
-0
58 additions, 0 deletions
docs/procedures/procedure-tftp.md
with
58 additions
and
0 deletions
docs/procedures/procedure-tftp.md
0 → 100644
+
58
−
0
View file @
adc54351
# Procedure TFTP
## Installation :
apt-get install tftpd-hpa
## Fichier de configuration :
nano /etc/default/tftpd-hpa
## Connexion au switch/routeur en SSH au préalable :
Putty
## Sauvegarder fichier configuration switch/routeur :
copy run tftp
Address or name of remote host []? "IPv4 PC destination"
Destination filename [switch-confg]? "écrire nom du fichier config"
!!
7235 bytes copied in 0.880 secs (8222 bytes/sec)
//confirmation de la création du fichier config nommé ci-dessus dans le repertoire "tftp"//
## Envoyer le fichier de configuration sur switch/routeur
copy tftp run
Address or name of remote host []? "IP PC source du fichier config"
Source filename []? "nom du fichier config concerné dans le repertoire TFTP"
## Problème rencontré :
### Error socket:
Sur les PC:
Ne pas oublier l'adressage :
"ip addr add "IPv4" dev "interface de notre réseau privé"
"ip link set up dev "interface réseau privé"
Créer la passerelle par défaut :
"ip route add default via "IPv4 passerelle" dev "interface réseau privé"
--------------
Récupération config switch:
Créer un VLAN temporaire :
"interface vlan 1"
"ip address "IPv4" "masque"
"no shutdown"
Retourner sur la procédure TFTP ci-dessus
-------------
Récupération routeur:
Créer une passerelle sur un des ports du routeur (gig0/0 par exemple) :
R1#conf t
R1(config)#interface gig0/0
R1(config-if)ip address "IPv4 passerelle" "masque"
R1(config-if)#no shutdown
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment