ajout creation VM
|
@ -1,3 +1,3 @@
|
|||
baseURL = 'http://example.org/'
|
||||
languageCode = 'en-us'
|
||||
baseURL = 'https://tssr.manydev.info/'
|
||||
languageCode = 'fr-FR'
|
||||
title = 'My New Hugo Site'
|
||||
|
|
99
content/Windows Serveur/Creation_vm.md
Normal file
|
@ -0,0 +1,99 @@
|
|||
---
|
||||
title: "Création Machine virtuelle"
|
||||
date: 2025-01-24
|
||||
lastmod: 2025-01-24
|
||||
publishdate: 2025-01-24
|
||||
draft: false
|
||||
description: "Création de la machine virtuelle"
|
||||
keyword: ["Windows Server", "Vmware Workstation"]
|
||||
weight: 10
|
||||
---
|
||||
|
||||
Dans ce document je vais vous expliquer comment créer une machine virtuelle pour accueillir un Windows Serveur 2022 sur l'hyperviseur VMware Workstation 17.
|
||||
|
||||
## Création de la machine
|
||||
|
||||
Création d'une nouvelle machine : Choisir "Create a New Virtual Machine".
|
||||
|
||||

|
||||
|
||||
Nous allons choisir une installation custom pour avoir plus le choix sur le paramétrage de la machine.
|
||||
|
||||

|
||||
|
||||
Choix de la compatibilité matériel avec VMWare
|
||||
|
||||

|
||||
|
||||
On ne sélectionne aucun support d'installation pour le moment, on le choisira plus tard au moment de l'installation.
|
||||
|
||||

|
||||
|
||||
Sélection du futur système installé sur la machine virtuelle
|
||||
|
||||

|
||||
|
||||
On choisit le nom de la machine et de l'emplacement du dossier de la machine
|
||||
|
||||

|
||||
|
||||
On choisit le type de démarrage BIOS ou UEFI
|
||||
|
||||

|
||||
|
||||
On choisit le nombre de processeurs
|
||||
|
||||

|
||||
|
||||
On choisit la quantité de mémoire
|
||||
|
||||

|
||||
|
||||
Pour le moment on choisit le type de connexion au réseau de type NAT pour avoir internet sur la machine virtuelle et en même temps être isolé du réseau de la machine hôte.
|
||||
|
||||

|
||||
|
||||
Ici nous prenons le contrôleur de disque proposer par VMware.
|
||||
|
||||

|
||||
|
||||
Choix de l'interface du disque de la machine virtuelle, ici nous prenons NVMe.
|
||||
|
||||

|
||||
|
||||
On décide de créer un nouveau disque virtuel.
|
||||
|
||||

|
||||
|
||||
Nous configurons à 60Go pour avoir de la place, il ne faut pas cocher "Allocate all disk space now" car sinon la place sera directement réservé sur le disque physique.
|
||||
On choisit aussi que le disque ne soit stocker que dans 1 seul fichier(possible uniquement si le système de fichier hôte supporte les grands fichiers).
|
||||
|
||||
|
||||

|
||||
|
||||
Nous prenons le nom par défaut pour le disque virtuel.
|
||||
|
||||

|
||||
|
||||
On arrive sur l'écran qui récapitule tout ce qui a été paramétré depuis le début.
|
||||
|
||||

|
||||
|
||||
Nous pouvons aller sur "Customize Hardware..." pour affiner directement la machine virtuelle
|
||||
|
||||

|
||||
|
||||
Personnellement je supprime tous les composants dont je suis certain de ne pas en avoir l'utilité. Par exemple la carte son. Nous pouvons aussi si nous le voulons ajouter directement une deuxième carte réseau.
|
||||
|
||||

|
||||
|
||||
Maintenant que la machine virtuelle est créée il nous faut installer le système, pour cela nous allons dans les paramètres de la machine dans la partie CD/DVD
|
||||
|
||||

|
||||
|
||||
et on choisit le DVD d'installation de Windows Server 2022
|
||||
|
||||

|
||||
|
||||
Et voilà nous pouvons maintenant passer à l'étape d'installation.
|
||||
|
12
content/Windows Serveur/Installation.md
Normal file
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
title: "Installation"
|
||||
date: 2025-01-24
|
||||
lastmod: 2025-01-24
|
||||
publishdate: 2025-01-24
|
||||
draft: false
|
||||
description: "Comment installer Windows Serveur 2022 sur une machine virtuelle"
|
||||
keyword: ["Windows Serveur"]
|
||||
weight: 20
|
||||
---
|
||||
|
||||
|
16
content/Windows Serveur/_index.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
title: "Windows Serveur"
|
||||
date: 2025-01-24
|
||||
lastmod: 2025-01-24
|
||||
publishdate: 2025-01-24
|
||||
draft: false
|
||||
description: ""
|
||||
keyword: ["Windows Serveur"]
|
||||
weight: 10
|
||||
---
|
||||
|
||||
## [Création Machine virtuelle](/windows-serveur/creation_vm/)
|
||||
Création de la machine virtuelle
|
||||
|
||||
## [Installation](/windows-serveur/installation/)
|
||||
Comment installer Windows Serveur 2022 sur une machine virtuelle.
|
|
@ -43,11 +43,11 @@ ou
|
|||
Configuration SSH
|
||||
=================
|
||||
|
||||
## prérequi
|
||||
- renomer l'équipement
|
||||
## prérequis
|
||||
- renommer l'équipement
|
||||
- mettre mot de passe "enable"
|
||||
|
||||
## définir un nom de domain
|
||||
## définir un nom de domaine
|
||||
Switch(conf)# ip domain-name *nom-de-domaine*
|
||||
|
||||
## activer la version 2 de SSH
|
||||
|
@ -62,7 +62,7 @@ Configuration SSH
|
|||
## Ajout d'un time out
|
||||
Switch(conf)# ip ssh time-out {nbsec}
|
||||
|
||||
## ajout d'un nombre de tentative
|
||||
## ajout d'un nombre de tentatives
|
||||
Switch(conf)# ip ssh authentication-retries {nb tentative}
|
||||
|
||||
## configuration du maximum de conenxion simultanné
|
|
@ -43,7 +43,7 @@ ne pas oublier d'allumer l'interface générale
|
|||
### désactiver le résumer des routes
|
||||
Router(conf-router)# no auto-summary
|
||||
|
||||
### désactiver l'envoie des mise à jours de la table de routage vers interface non voulue
|
||||
### désactiver l'envoie des mises à jour de la table de routage vers interface non voulue
|
||||
Router(conf-router)# passive-interface *interface*
|
||||
|
||||
### propagation route par défaut
|
||||
|
@ -73,7 +73,7 @@ avec *rid* de forme adresse IP
|
|||
Router(conf-router)# network *réseau* *masque inverse* area *id réseau*
|
||||
masque inverse = masque réseau - 255.255.255.255 octet par octet
|
||||
|
||||
### désactiver l'envoie des mise à jours de la table de routage vers interface non voulue
|
||||
### désactiver l'envoie des mises à jour de la table de routage vers interface non voulue
|
||||
Router(conf-router)# passive-interface *interface*
|
||||
|
||||
### commande pour vérifier configuration ospf Interface
|
||||
|
@ -91,7 +91,7 @@ Configuration d'un DHCP
|
|||
Router> enable
|
||||
Router# configure terminal
|
||||
Router(config)# ip dhcp pool *Nom*
|
||||
Router(dhcp-config)# network *reseau* *Masque*
|
||||
Router(dhcp-config)# network *réseau* *Masque*
|
||||
Router(dhcp-config)# dns-server *ip_dns*
|
||||
Router(dhcp-config)# default-router *Gateway*
|
||||
|
||||
|
@ -126,7 +126,7 @@ Configuration ACL
|
|||
Router(config)# interface {interface}
|
||||
Router(config-if)# ip access-group *nom de l'acl* {in|out}
|
||||
|
||||
## sécurisation des ligne vty par ACL
|
||||
## sécurisation des lignes vty par ACL
|
||||
Router> enable
|
||||
Router# configure terminal
|
||||
Router(config)# access-list *numero* permit host *ip adresse*
|
||||
|
|
|
@ -9,7 +9,7 @@ keyword: ["cisco"]
|
|||
weight: 10
|
||||
---
|
||||
|
||||
## [Commande Générale](/cisco/commande-générale/)
|
||||
## [Commande Générale](/cisco/commande_generale/)
|
||||
Commande utile que l'équipement soit un switch ou un routeur
|
||||
|
||||
## [Switch](/cisco/Switch/)
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
---
|
||||
title: "Premier Test"
|
||||
date: 2025-01-22T12:02:03+01:00
|
||||
draft: true
|
||||
---
|
||||
|
||||
Test de post
|
|
@ -1,6 +1,6 @@
|
|||
description = "TSSR"
|
||||
|
||||
languageCode = "fr-fr"
|
||||
languageCode = "fr-FR"
|
||||
DefaultContentLanguage = "fr"
|
||||
title = "Aide pour les TSSR"
|
||||
theme = "hugo-theme-techdoc"
|
||||
|
|
|
@ -1,82 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="fr-fr">
|
||||
<head><meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<title>404 Page not found - Aide pour les TSSR</title>
|
||||
<meta name="generator" content="Hugo 0.141.0">
|
||||
<link href="//index.xml" rel="alternate" type="application/rss+xml">
|
||||
<link rel="canonical" href="/404.html">
|
||||
<link rel="stylesheet" href="/css/theme.min.css">
|
||||
<link rel="stylesheet" href="/css/chroma.min.css">
|
||||
<script defer src="//js/fontawesome6/all.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery.easing@1.4.1/jquery.easing.min.js" integrity="sha256-H3cjtrm/ztDeuhCN9I4yh4iN2Ybx/y1RM7rMmAesA0k=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js" integrity="sha256-4XodgW4TwIJuDtf+v6vDJ39FVxI0veC/kSCCmnFp7ck=" crossorigin="anonymous"></script>
|
||||
<script src="/js/bundle.js"></script><style>
|
||||
:root {}
|
||||
</style>
|
||||
<meta property="og:url" content="/404.html">
|
||||
<meta property="og:site_name" content="Aide pour les TSSR">
|
||||
<meta property="og:title" content="404 Page not found">
|
||||
<meta property="og:locale" content="fr_fr">
|
||||
<meta property="og:type" content="website">
|
||||
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:title" content="404 Page not found">
|
||||
|
||||
<meta itemprop="name" content="404 Page not found"></head>
|
||||
<body><div class="container"><header>
|
||||
<h1>Aide pour les TSSR</h1><span class="version">Version 1.0.0</span>
|
||||
</header>
|
||||
<div class="global-menu">
|
||||
<nav>
|
||||
<ul>
|
||||
<li id="Accueil" class=""><a href="/"><i class='fa fa-heart'></i> Accueil</a></li>
|
||||
<li class=""><a href="/about/">About</a></li></ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div class="content-container">
|
||||
<main><h1>404 Not Found</h1><footer><p class="powered">Powered by <a href="https://gohugo.io">Hugo</a>. Theme by <a href="https://themes.gohugo.io/hugo-theme-techdoc/">TechDoc</a>. Designed by <a href="https://github.com/thingsym/hugo-theme-techdoc">Thingsym</a>.</p>
|
||||
</footer>
|
||||
</main>
|
||||
<div class="sidebar">
|
||||
|
||||
<nav class="slide-menu">
|
||||
<ul>
|
||||
<li class=""><a href="/">Home</a></li>
|
||||
|
||||
<li class=" has-sub-menu"><a href="/cisco/">Cisco<span class="mark closed">+</span></a>
|
||||
|
||||
<ul class="sub-menu">
|
||||
<li class=""><a href="/cisco/commande-g%C3%A9n%C3%A9rale/">Commande Générale</a></li>
|
||||
<li class=""><a href="/cisco/switch/">Switch</a></li>
|
||||
<li class=""><a href="/cisco/routeur/">Routeur</a></li>
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
|
||||
|
||||
<div class="sidebar-footer"></div>
|
||||
</div>
|
||||
|
||||
</div><a href="#" id="backtothetop-fixed" class="backtothetop"
|
||||
data-backtothetop-duration="600"
|
||||
data-backtothetop-easing="easeOutQuart"
|
||||
data-backtothetop-fixed-fadeIn="1000"
|
||||
data-backtothetop-fixed-fadeOut="1000"
|
||||
data-backtothetop-fixed-bottom="10"
|
||||
data-backtothetop-fixed-right="20">
|
||||
<span class="fa-layers fa-fw">
|
||||
<i class="fas fa-circle"></i>
|
||||
<i class="fas fa-arrow-circle-up"></i>
|
||||
</span></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,99 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="fr-fr">
|
||||
<head><meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<title>About - Aide pour les TSSR</title>
|
||||
<meta name="generator" content="Hugo 0.141.0">
|
||||
<link href="//index.xml" rel="alternate" type="application/rss+xml">
|
||||
<link rel="canonical" href="/about/">
|
||||
<link rel="stylesheet" href="/css/theme.min.css">
|
||||
<link rel="stylesheet" href="/css/chroma.min.css">
|
||||
<script defer src="//js/fontawesome6/all.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery.easing@1.4.1/jquery.easing.min.js" integrity="sha256-H3cjtrm/ztDeuhCN9I4yh4iN2Ybx/y1RM7rMmAesA0k=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js" integrity="sha256-4XodgW4TwIJuDtf+v6vDJ39FVxI0veC/kSCCmnFp7ck=" crossorigin="anonymous"></script>
|
||||
<script src="/js/bundle.js"></script><style>
|
||||
:root {}
|
||||
</style>
|
||||
<meta property="og:url" content="/about/">
|
||||
<meta property="og:site_name" content="Aide pour les TSSR">
|
||||
<meta property="og:title" content="About">
|
||||
<meta property="og:description" content="About du site">
|
||||
<meta property="og:locale" content="fr_fr">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="article:published_time" content="2025-01-22T13:14:15+01:00">
|
||||
<meta property="article:modified_time" content="2025-01-22T13:14:15+01:00">
|
||||
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:title" content="About">
|
||||
<meta name="twitter:description" content="About du site">
|
||||
|
||||
<meta itemprop="name" content="About">
|
||||
<meta itemprop="description" content="About du site">
|
||||
<meta itemprop="datePublished" content="2025-01-22T13:14:15+01:00">
|
||||
<meta itemprop="dateModified" content="2025-01-22T13:14:15+01:00">
|
||||
<meta itemprop="wordCount" content="3"></head>
|
||||
<body><div class="container"><header>
|
||||
<h1>Aide pour les TSSR</h1><span class="version">Version 1.0.0</span>
|
||||
</header>
|
||||
<div class="global-menu">
|
||||
<nav>
|
||||
<ul>
|
||||
<li id="Accueil" class=""><a href="/"><i class='fa fa-heart'></i> Accueil</a></li>
|
||||
<li class=""><a href="/about/">About</a></li></ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div class="content-container">
|
||||
<main><h1>About</h1>
|
||||
<p>About du site</p>
|
||||
<div class="edit-meta">
|
||||
Last updated on 22 Jan 2025
|
||||
|
||||
|
||||
<br>
|
||||
Published on 22 Jan 2025
|
||||
<br></div><nav class="pagination"><a class="nav nav-next" href="/cisco/" title="Cisco">Next - Cisco <i class="fas fa-arrow-right" aria-hidden="true"></i></a>
|
||||
</nav><footer><p class="powered">Powered by <a href="https://gohugo.io">Hugo</a>. Theme by <a href="https://themes.gohugo.io/hugo-theme-techdoc/">TechDoc</a>. Designed by <a href="https://github.com/thingsym/hugo-theme-techdoc">Thingsym</a>.</p>
|
||||
</footer>
|
||||
</main>
|
||||
<div class="sidebar">
|
||||
|
||||
<nav class="slide-menu">
|
||||
<ul>
|
||||
<li class=""><a href="/">Home</a></li>
|
||||
|
||||
<li class=" has-sub-menu"><a href="/cisco/">Cisco<span class="mark closed">+</span></a>
|
||||
|
||||
<ul class="sub-menu">
|
||||
<li class=""><a href="/cisco/commande-g%C3%A9n%C3%A9rale/">Commande Générale</a></li>
|
||||
<li class=""><a href="/cisco/switch/">Switch</a></li>
|
||||
<li class=""><a href="/cisco/routeur/">Routeur</a></li>
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
|
||||
|
||||
<div class="sidebar-footer"></div>
|
||||
</div>
|
||||
|
||||
</div><a href="#" id="backtothetop-fixed" class="backtothetop"
|
||||
data-backtothetop-duration="600"
|
||||
data-backtothetop-easing="easeOutQuart"
|
||||
data-backtothetop-fixed-fadeIn="1000"
|
||||
data-backtothetop-fixed-fadeOut="1000"
|
||||
data-backtothetop-fixed-bottom="10"
|
||||
data-backtothetop-fixed-right="20">
|
||||
<span class="fa-layers fa-fw">
|
||||
<i class="fas fa-circle"></i>
|
||||
<i class="fas fa-arrow-circle-up"></i>
|
||||
</span></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,85 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="fr-fr">
|
||||
<head><meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<title>Categories - Aide pour les TSSR</title>
|
||||
<meta name="generator" content="Hugo 0.141.0">
|
||||
<link href="//index.xml" rel="alternate" type="application/rss+xml">
|
||||
<link rel="canonical" href="/categories/">
|
||||
<link rel="stylesheet" href="/css/theme.min.css">
|
||||
<link rel="stylesheet" href="/css/chroma.min.css">
|
||||
<script defer src="//js/fontawesome6/all.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery.easing@1.4.1/jquery.easing.min.js" integrity="sha256-H3cjtrm/ztDeuhCN9I4yh4iN2Ybx/y1RM7rMmAesA0k=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js" integrity="sha256-4XodgW4TwIJuDtf+v6vDJ39FVxI0veC/kSCCmnFp7ck=" crossorigin="anonymous"></script>
|
||||
<script src="/js/bundle.js"></script><style>
|
||||
:root {}
|
||||
</style>
|
||||
<meta property="og:url" content="/categories/">
|
||||
<meta property="og:site_name" content="Aide pour les TSSR">
|
||||
<meta property="og:title" content="Categories">
|
||||
<meta property="og:locale" content="fr_fr">
|
||||
<meta property="og:type" content="website">
|
||||
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:title" content="Categories">
|
||||
|
||||
<meta itemprop="name" content="Categories"></head>
|
||||
<body><div class="container"><header>
|
||||
<h1>Aide pour les TSSR</h1><span class="version">Version 1.0.0</span>
|
||||
</header>
|
||||
<div class="global-menu">
|
||||
<nav>
|
||||
<ul>
|
||||
<li id="Accueil" class=""><a href="/"><i class='fa fa-heart'></i> Accueil</a></li>
|
||||
<li class=""><a href="/about/">About</a></li></ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div class="content-container">
|
||||
<main><h1>Categories</h1><div class="edit-meta">
|
||||
|
||||
<br></div><nav class="pagination"><a class="nav nav-next" href="/cisco/" title="Cisco">Next - Cisco <i class="fas fa-arrow-right" aria-hidden="true"></i></a>
|
||||
</nav><footer><p class="powered">Powered by <a href="https://gohugo.io">Hugo</a>. Theme by <a href="https://themes.gohugo.io/hugo-theme-techdoc/">TechDoc</a>. Designed by <a href="https://github.com/thingsym/hugo-theme-techdoc">Thingsym</a>.</p>
|
||||
</footer>
|
||||
</main>
|
||||
<div class="sidebar">
|
||||
|
||||
<nav class="slide-menu">
|
||||
<ul>
|
||||
<li class=""><a href="/">Home</a></li>
|
||||
|
||||
<li class=" has-sub-menu"><a href="/cisco/">Cisco<span class="mark closed">+</span></a>
|
||||
|
||||
<ul class="sub-menu">
|
||||
<li class=""><a href="/cisco/commande-g%C3%A9n%C3%A9rale/">Commande Générale</a></li>
|
||||
<li class=""><a href="/cisco/switch/">Switch</a></li>
|
||||
<li class=""><a href="/cisco/routeur/">Routeur</a></li>
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
|
||||
|
||||
<div class="sidebar-footer"></div>
|
||||
</div>
|
||||
|
||||
</div><a href="#" id="backtothetop-fixed" class="backtothetop"
|
||||
data-backtothetop-duration="600"
|
||||
data-backtothetop-easing="easeOutQuart"
|
||||
data-backtothetop-fixed-fadeIn="1000"
|
||||
data-backtothetop-fixed-fadeOut="1000"
|
||||
data-backtothetop-fixed-bottom="10"
|
||||
data-backtothetop-fixed-right="20">
|
||||
<span class="fa-layers fa-fw">
|
||||
<i class="fas fa-circle"></i>
|
||||
<i class="fas fa-arrow-circle-up"></i>
|
||||
</span></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,11 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Categories on Aide pour les TSSR</title>
|
||||
<link>/categories/</link>
|
||||
<description>Recent content in Categories on Aide pour les TSSR</description>
|
||||
<generator>Hugo</generator>
|
||||
<language>fr-fr</language>
|
||||
<atom:link href="/categories/index.xml" rel="self" type="application/rss+xml" />
|
||||
</channel>
|
||||
</rss>
|
|
@ -1,160 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="fr-fr">
|
||||
<head><meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<title>Commande Générale - Aide pour les TSSR</title>
|
||||
<meta name="generator" content="Hugo 0.141.0">
|
||||
<link href="//index.xml" rel="alternate" type="application/rss+xml">
|
||||
<link rel="canonical" href="/cisco/commande-g%C3%A9n%C3%A9rale/">
|
||||
<link rel="stylesheet" href="/css/theme.min.css">
|
||||
<link rel="stylesheet" href="/css/chroma.min.css">
|
||||
<script defer src="//js/fontawesome6/all.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery.easing@1.4.1/jquery.easing.min.js" integrity="sha256-H3cjtrm/ztDeuhCN9I4yh4iN2Ybx/y1RM7rMmAesA0k=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js" integrity="sha256-4XodgW4TwIJuDtf+v6vDJ39FVxI0veC/kSCCmnFp7ck=" crossorigin="anonymous"></script>
|
||||
<script src="/js/bundle.js"></script><style>
|
||||
:root {}
|
||||
</style>
|
||||
<meta property="og:url" content="/cisco/commande-g%C3%A9n%C3%A9rale/">
|
||||
<meta property="og:site_name" content="Aide pour les TSSR">
|
||||
<meta property="og:title" content="Commande Générale">
|
||||
<meta property="og:description" content="nommer l’équipement Switch> enable Switch# configure terminal Switch(conf)# hostname Host protéger l’accès console Switch(conf)# line {console|aux|tty|vty} {0-xx} [1-x] Switch(conf-line)# password *mot de passe* Switch(conf-line)# login mot de passe “enable” Switch(conf)# enable {password|secret} *mot de passe* Activer le chiffrement des mdp Switch(conf)# service password-encryption sauvegarde de la configuation en cours vers démarrage Switch# copy running-config startup-config ou Switch# write
|
||||
désactivation de la recherche DNS dans l’interface Switch(conf)# no ip domain-lookup Voir la configuration en cours Switch# Show running-config Voir la configuration du fichier sauvegarde sur la NVRAM Switch# Show startup-config Configuration SSH prérequi renomer l’équipement mettre mot de passe “enable” définir un nom de domain Switch(conf)# ip domain-name *nom-de-domaine* activer la version 2 de SSH Switch(conf)# ip ssh version 2 générer clés ssh Switch(conf)# crypto key generate rsa general-keys modulus *1024* créer un utilisateur local Switch(conf)# username *login* {secret|password} *mot-de-passe* Ajout d’un time out Switch(conf)# ip ssh time-out {nbsec} ajout d’un nombre de tentative Switch(conf)# ip ssh authentication-retries {nb tentative} configuration du maximum de conenxion simultanné Switch(conf)# ip ssh maxstartups {2-128}">
|
||||
<meta property="og:locale" content="fr_fr">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="article:section" content="cisco">
|
||||
<meta property="article:published_time" content="2025-01-24T00:00:00+00:00">
|
||||
<meta property="article:modified_time" content="2025-01-24T00:00:00+00:00">
|
||||
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:title" content="Commande Générale">
|
||||
<meta name="twitter:description" content="nommer l’équipement Switch> enable Switch# configure terminal Switch(conf)# hostname Host protéger l’accès console Switch(conf)# line {console|aux|tty|vty} {0-xx} [1-x] Switch(conf-line)# password *mot de passe* Switch(conf-line)# login mot de passe “enable” Switch(conf)# enable {password|secret} *mot de passe* Activer le chiffrement des mdp Switch(conf)# service password-encryption sauvegarde de la configuation en cours vers démarrage Switch# copy running-config startup-config ou Switch# write
|
||||
désactivation de la recherche DNS dans l’interface Switch(conf)# no ip domain-lookup Voir la configuration en cours Switch# Show running-config Voir la configuration du fichier sauvegarde sur la NVRAM Switch# Show startup-config Configuration SSH prérequi renomer l’équipement mettre mot de passe “enable” définir un nom de domain Switch(conf)# ip domain-name *nom-de-domaine* activer la version 2 de SSH Switch(conf)# ip ssh version 2 générer clés ssh Switch(conf)# crypto key generate rsa general-keys modulus *1024* créer un utilisateur local Switch(conf)# username *login* {secret|password} *mot-de-passe* Ajout d’un time out Switch(conf)# ip ssh time-out {nbsec} ajout d’un nombre de tentative Switch(conf)# ip ssh authentication-retries {nb tentative} configuration du maximum de conenxion simultanné Switch(conf)# ip ssh maxstartups {2-128}">
|
||||
|
||||
<meta itemprop="name" content="Commande Générale">
|
||||
<meta itemprop="description" content="nommer l’équipement Switch> enable Switch# configure terminal Switch(conf)# hostname Host protéger l’accès console Switch(conf)# line {console|aux|tty|vty} {0-xx} [1-x] Switch(conf-line)# password *mot de passe* Switch(conf-line)# login mot de passe “enable” Switch(conf)# enable {password|secret} *mot de passe* Activer le chiffrement des mdp Switch(conf)# service password-encryption sauvegarde de la configuation en cours vers démarrage Switch# copy running-config startup-config ou Switch# write
|
||||
désactivation de la recherche DNS dans l’interface Switch(conf)# no ip domain-lookup Voir la configuration en cours Switch# Show running-config Voir la configuration du fichier sauvegarde sur la NVRAM Switch# Show startup-config Configuration SSH prérequi renomer l’équipement mettre mot de passe “enable” définir un nom de domain Switch(conf)# ip domain-name *nom-de-domaine* activer la version 2 de SSH Switch(conf)# ip ssh version 2 générer clés ssh Switch(conf)# crypto key generate rsa general-keys modulus *1024* créer un utilisateur local Switch(conf)# username *login* {secret|password} *mot-de-passe* Ajout d’un time out Switch(conf)# ip ssh time-out {nbsec} ajout d’un nombre de tentative Switch(conf)# ip ssh authentication-retries {nb tentative} configuration du maximum de conenxion simultanné Switch(conf)# ip ssh maxstartups {2-128}">
|
||||
<meta itemprop="datePublished" content="2025-01-24T00:00:00+00:00">
|
||||
<meta itemprop="dateModified" content="2025-01-24T00:00:00+00:00">
|
||||
<meta itemprop="wordCount" content="170"></head>
|
||||
<body><div class="container"><header>
|
||||
<h1>Aide pour les TSSR</h1><span class="version">Version 1.0.0</span>
|
||||
</header>
|
||||
<div class="global-menu">
|
||||
<nav>
|
||||
<ul>
|
||||
<li id="Accueil" class=""><a href="/"><i class='fa fa-heart'></i> Accueil</a></li>
|
||||
<li class=""><a href="/about/">About</a></li></ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div class="content-container">
|
||||
<main><h1>Commande Générale</h1>
|
||||
<h2 id="nommer-léquipement">nommer l’équipement</h2>
|
||||
<pre><code>Switch> enable
|
||||
Switch# configure terminal
|
||||
Switch(conf)# hostname Host
|
||||
</code></pre>
|
||||
<h2 id="protéger-laccès-console">protéger l’accès console</h2>
|
||||
<pre><code>Switch(conf)# line {console|aux|tty|vty} {0-xx} [1-x]
|
||||
Switch(conf-line)# password *mot de passe*
|
||||
Switch(conf-line)# login
|
||||
</code></pre>
|
||||
<h2 id="mot-de-passe-enable">mot de passe “enable”</h2>
|
||||
<pre><code>Switch(conf)# enable {password|secret} *mot de passe*
|
||||
</code></pre>
|
||||
<h2 id="activer-le-chiffrement-des-mdp">Activer le chiffrement des mdp</h2>
|
||||
<pre><code>Switch(conf)# service password-encryption
|
||||
</code></pre>
|
||||
<h2 id="sauvegarde-de-la-configuation-en-cours-vers-démarrage">sauvegarde de la configuation en cours vers démarrage</h2>
|
||||
<pre><code>Switch# copy running-config startup-config
|
||||
</code></pre>
|
||||
<p>ou
|
||||
Switch# write</p>
|
||||
<h2 id="désactivation-de-la-recherche-dns-dans-linterface">désactivation de la recherche DNS dans l’interface</h2>
|
||||
<pre><code>Switch(conf)# no ip domain-lookup
|
||||
</code></pre>
|
||||
<h2 id="voir-la-configuration-en-cours">Voir la configuration en cours</h2>
|
||||
<pre><code>Switch# Show running-config
|
||||
</code></pre>
|
||||
<h2 id="voir-la-configuration-du-fichier-sauvegarde-sur-la-nvram">Voir la configuration du fichier sauvegarde sur la NVRAM</h2>
|
||||
<pre><code>Switch# Show startup-config
|
||||
</code></pre>
|
||||
<h1 id="configuration-ssh">Configuration SSH</h1>
|
||||
<h2 id="prérequi">prérequi</h2>
|
||||
<ul>
|
||||
<li>renomer l’équipement</li>
|
||||
<li>mettre mot de passe “enable”</li>
|
||||
</ul>
|
||||
<h2 id="définir-un-nom-de-domain">définir un nom de domain</h2>
|
||||
<pre><code>Switch(conf)# ip domain-name *nom-de-domaine*
|
||||
</code></pre>
|
||||
<h2 id="activer-la-version-2-de-ssh">activer la version 2 de SSH</h2>
|
||||
<pre><code>Switch(conf)# ip ssh version 2
|
||||
</code></pre>
|
||||
<h2 id="générer-clés-ssh">générer clés ssh</h2>
|
||||
<pre><code>Switch(conf)# crypto key generate rsa general-keys modulus *1024*
|
||||
</code></pre>
|
||||
<h2 id="créer-un-utilisateur-local">créer un utilisateur local</h2>
|
||||
<pre><code>Switch(conf)# username *login* {secret|password} *mot-de-passe*
|
||||
</code></pre>
|
||||
<h2 id="ajout-dun-time-out">Ajout d’un time out</h2>
|
||||
<pre><code>Switch(conf)# ip ssh time-out {nbsec}
|
||||
</code></pre>
|
||||
<h2 id="ajout-dun-nombre-de-tentative">ajout d’un nombre de tentative</h2>
|
||||
<pre><code>Switch(conf)# ip ssh authentication-retries {nb tentative}
|
||||
</code></pre>
|
||||
<h2 id="configuration-du-maximum-de-conenxion-simultanné">configuration du maximum de conenxion simultanné</h2>
|
||||
<pre><code>Switch(conf)# ip ssh maxstartups {2-128}
|
||||
</code></pre>
|
||||
<div class="edit-meta">
|
||||
Last updated on 24 Jan 2025
|
||||
|
||||
|
||||
<br>
|
||||
Published on 24 Jan 2025
|
||||
<br></div><nav class="pagination"><a class="nav nav-prev" href="/cisco/" title="Cisco"><i class="fas fa-arrow-left" aria-hidden="true"></i> Prev - Cisco</a>
|
||||
<a class="nav nav-next" href="/cisco/switch/" title="Switch">Next - Switch <i class="fas fa-arrow-right" aria-hidden="true"></i></a>
|
||||
</nav><footer><p class="powered">Powered by <a href="https://gohugo.io">Hugo</a>. Theme by <a href="https://themes.gohugo.io/hugo-theme-techdoc/">TechDoc</a>. Designed by <a href="https://github.com/thingsym/hugo-theme-techdoc">Thingsym</a>.</p>
|
||||
</footer>
|
||||
</main>
|
||||
<div class="sidebar">
|
||||
|
||||
<nav class="slide-menu">
|
||||
<ul>
|
||||
<li class=""><a href="/">Home</a></li>
|
||||
|
||||
<li class="parent has-sub-menu"><a href="/cisco/">Cisco<span class="mark opened">-</span></a>
|
||||
|
||||
<ul class="sub-menu">
|
||||
<li class="active"><a href="/cisco/commande-g%C3%A9n%C3%A9rale/">Commande Générale</a></li>
|
||||
<li class=""><a href="/cisco/switch/">Switch</a></li>
|
||||
<li class=""><a href="/cisco/routeur/">Routeur</a></li>
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
|
||||
|
||||
<div class="sidebar-footer"></div>
|
||||
</div>
|
||||
|
||||
</div><a href="#" id="backtothetop-fixed" class="backtothetop"
|
||||
data-backtothetop-duration="600"
|
||||
data-backtothetop-easing="easeOutQuart"
|
||||
data-backtothetop-fixed-fadeIn="1000"
|
||||
data-backtothetop-fixed-fadeOut="1000"
|
||||
data-backtothetop-fixed-bottom="10"
|
||||
data-backtothetop-fixed-right="20">
|
||||
<span class="fa-layers fa-fw">
|
||||
<i class="fas fa-circle"></i>
|
||||
<i class="fas fa-arrow-circle-up"></i>
|
||||
</span></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,108 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="fr-fr">
|
||||
<head><meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<title>Cisco - Aide pour les TSSR</title>
|
||||
<meta name="generator" content="Hugo 0.141.0">
|
||||
<link href="//index.xml" rel="alternate" type="application/rss+xml">
|
||||
<link rel="canonical" href="/cisco/">
|
||||
<link rel="stylesheet" href="/css/theme.min.css">
|
||||
<link rel="stylesheet" href="/css/chroma.min.css">
|
||||
<script defer src="//js/fontawesome6/all.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery.easing@1.4.1/jquery.easing.min.js" integrity="sha256-H3cjtrm/ztDeuhCN9I4yh4iN2Ybx/y1RM7rMmAesA0k=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js" integrity="sha256-4XodgW4TwIJuDtf+v6vDJ39FVxI0veC/kSCCmnFp7ck=" crossorigin="anonymous"></script>
|
||||
<script src="/js/bundle.js"></script><style>
|
||||
:root {}
|
||||
</style>
|
||||
<meta property="og:url" content="/cisco/">
|
||||
<meta property="og:site_name" content="Aide pour les TSSR">
|
||||
<meta property="og:title" content="Cisco">
|
||||
<meta property="og:description" content="Commande Générale Commande utile que l’équipement soit un switch ou un routeur
|
||||
Switch Commande spécifique pour les switchs
|
||||
Routeur Commande spécifique pour les routeurs">
|
||||
<meta property="og:locale" content="fr_fr">
|
||||
<meta property="og:type" content="website">
|
||||
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:title" content="Cisco">
|
||||
<meta name="twitter:description" content="Commande Générale Commande utile que l’équipement soit un switch ou un routeur
|
||||
Switch Commande spécifique pour les switchs
|
||||
Routeur Commande spécifique pour les routeurs">
|
||||
|
||||
<meta itemprop="name" content="Cisco">
|
||||
<meta itemprop="description" content="Commande Générale Commande utile que l’équipement soit un switch ou un routeur
|
||||
Switch Commande spécifique pour les switchs
|
||||
Routeur Commande spécifique pour les routeurs">
|
||||
<meta itemprop="datePublished" content="2025-01-24T00:00:00+00:00">
|
||||
<meta itemprop="dateModified" content="2025-01-24T00:00:00+00:00">
|
||||
<meta itemprop="wordCount" content="24"></head>
|
||||
<body><div class="container"><header>
|
||||
<h1>Aide pour les TSSR</h1><span class="version">Version 1.0.0</span>
|
||||
</header>
|
||||
<div class="global-menu">
|
||||
<nav>
|
||||
<ul>
|
||||
<li id="Accueil" class=""><a href="/"><i class='fa fa-heart'></i> Accueil</a></li>
|
||||
<li class=""><a href="/about/">About</a></li></ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div class="content-container">
|
||||
<main><h1>Cisco</h1><h2 id="commande-généraleciscocommande-générale"><a href="/cisco/commande-g%C3%A9n%C3%A9rale/">Commande Générale</a></h2>
|
||||
<p>Commande utile que l’équipement soit un switch ou un routeur</p>
|
||||
<h2 id="switchciscoswitch"><a href="/cisco/Switch/">Switch</a></h2>
|
||||
<p>Commande spécifique pour les switchs</p>
|
||||
<h2 id="routeurciscorouteur"><a href="/cisco/Routeur">Routeur</a></h2>
|
||||
<p>Commande spécifique pour les routeurs</p>
|
||||
<div class="edit-meta">
|
||||
Last updated on 24 Jan 2025
|
||||
|
||||
|
||||
<br>
|
||||
Published on 24 Jan 2025
|
||||
<br></div><nav class="pagination"><a class="nav nav-prev" href="/" title="Accueil"><i class="fas fa-arrow-left" aria-hidden="true"></i> Prev - Accueil</a>
|
||||
<a class="nav nav-next" href="/cisco/commande-g%C3%A9n%C3%A9rale/" title="Commande Générale">Next - Commande Générale <i class="fas fa-arrow-right" aria-hidden="true"></i></a>
|
||||
</nav><footer><p class="powered">Powered by <a href="https://gohugo.io">Hugo</a>. Theme by <a href="https://themes.gohugo.io/hugo-theme-techdoc/">TechDoc</a>. Designed by <a href="https://github.com/thingsym/hugo-theme-techdoc">Thingsym</a>.</p>
|
||||
</footer>
|
||||
</main>
|
||||
<div class="sidebar">
|
||||
|
||||
<nav class="slide-menu">
|
||||
<ul>
|
||||
<li class=""><a href="/">Home</a></li>
|
||||
|
||||
<li class=" active has-sub-menu"><a href="/cisco/">Cisco<span class="mark closed">+</span></a>
|
||||
|
||||
<ul class="sub-menu">
|
||||
<li class=""><a href="/cisco/commande-g%C3%A9n%C3%A9rale/">Commande Générale</a></li>
|
||||
<li class=""><a href="/cisco/switch/">Switch</a></li>
|
||||
<li class=""><a href="/cisco/routeur/">Routeur</a></li>
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
|
||||
|
||||
<div class="sidebar-footer"></div>
|
||||
</div>
|
||||
|
||||
</div><a href="#" id="backtothetop-fixed" class="backtothetop"
|
||||
data-backtothetop-duration="600"
|
||||
data-backtothetop-easing="easeOutQuart"
|
||||
data-backtothetop-fixed-fadeIn="1000"
|
||||
data-backtothetop-fixed-fadeOut="1000"
|
||||
data-backtothetop-fixed-bottom="10"
|
||||
data-backtothetop-fixed-right="20">
|
||||
<span class="fa-layers fa-fw">
|
||||
<i class="fas fa-circle"></i>
|
||||
<i class="fas fa-arrow-circle-up"></i>
|
||||
</span></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,33 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Cisco on Aide pour les TSSR</title>
|
||||
<link>/cisco/</link>
|
||||
<description>Recent content in Cisco on Aide pour les TSSR</description>
|
||||
<generator>Hugo</generator>
|
||||
<language>fr-fr</language>
|
||||
<lastBuildDate>Fri, 24 Jan 2025 00:00:00 +0000</lastBuildDate>
|
||||
<atom:link href="/cisco/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Commande Générale</title>
|
||||
<link>/cisco/commande-g%C3%A9n%C3%A9rale/</link>
|
||||
<pubDate>Fri, 24 Jan 2025 00:00:00 +0000</pubDate>
|
||||
<guid>/cisco/commande-g%C3%A9n%C3%A9rale/</guid>
|
||||
<description><h2 id="nommer-léquipement">nommer l&rsquo;équipement</h2>
<pre><code>Switch&gt; enable
Switch# configure terminal
Switch(conf)# hostname Host
</code></pre>
<h2 id="protéger-laccès-console">protéger l&rsquo;accès console</h2>
<pre><code>Switch(conf)# line {console|aux|tty|vty} {0-xx} [1-x]
Switch(conf-line)# password *mot de passe*
Switch(conf-line)# login
</code></pre>
<h2 id="mot-de-passe-enable">mot de passe &ldquo;enable&rdquo;</h2>
<pre><code>Switch(conf)# enable {password|secret} *mot de passe*
</code></pre>
<h2 id="activer-le-chiffrement-des-mdp">Activer le chiffrement des mdp</h2>
<pre><code>Switch(conf)# service password-encryption
</code></pre>
<h2 id="sauvegarde-de-la-configuation-en-cours-vers-démarrage">sauvegarde de la configuation en cours vers démarrage</h2>
<pre><code>Switch# copy running-config startup-config
</code></pre>
<p>ou
Switch# write</p>
<h2 id="désactivation-de-la-recherche-dns-dans-linterface">désactivation de la recherche DNS dans l&rsquo;interface</h2>
<pre><code>Switch(conf)# no ip domain-lookup
</code></pre>
<h2 id="voir-la-configuration-en-cours">Voir la configuration en cours</h2>
<pre><code>Switch# Show running-config
</code></pre>
<h2 id="voir-la-configuration-du-fichier-sauvegarde-sur-la-nvram">Voir la configuration du fichier sauvegarde sur la NVRAM</h2>
<pre><code>Switch# Show startup-config
</code></pre>
<h1 id="configuration-ssh">Configuration SSH</h1>
<h2 id="prérequi">prérequi</h2>
<ul>
<li>renomer l&rsquo;équipement</li>
<li>mettre mot de passe &ldquo;enable&rdquo;</li>
</ul>
<h2 id="définir-un-nom-de-domain">définir un nom de domain</h2>
<pre><code>Switch(conf)# ip domain-name *nom-de-domaine*
</code></pre>
<h2 id="activer-la-version-2-de-ssh">activer la version 2 de SSH</h2>
<pre><code>Switch(conf)# ip ssh version 2
</code></pre>
<h2 id="générer-clés-ssh">générer clés ssh</h2>
<pre><code>Switch(conf)# crypto key generate rsa general-keys modulus *1024*
</code></pre>
<h2 id="créer-un-utilisateur-local">créer un utilisateur local</h2>
<pre><code>Switch(conf)# username *login* {secret|password} *mot-de-passe*
</code></pre>
<h2 id="ajout-dun-time-out">Ajout d&rsquo;un time out</h2>
<pre><code>Switch(conf)# ip ssh time-out {nbsec}
</code></pre>
<h2 id="ajout-dun-nombre-de-tentative">ajout d&rsquo;un nombre de tentative</h2>
<pre><code>Switch(conf)# ip ssh authentication-retries {nb tentative}
</code></pre>
<h2 id="configuration-du-maximum-de-conenxion-simultanné">configuration du maximum de conenxion simultanné</h2>
<pre><code>Switch(conf)# ip ssh maxstartups {2-128}
</code></pre></description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Switch</title>
|
||||
<link>/cisco/switch/</link>
|
||||
<pubDate>Fri, 24 Jan 2025 00:00:00 +0000</pubDate>
|
||||
<guid>/cisco/switch/</guid>
|
||||
<description><h2 id="configurer-la-svi-switch-virtual-interface">Configurer la SVI (Switch Virtual Interface)</h2>
<pre><code>Switch(conf)# interface vlan1
Switch(conf-if)# ip address A.B.C.D M1.M2.M3.M4
Switch(conf-if)# no shutdown
</code></pre>
<h2 id="mettre-en-place-une-passerelle-par-défaut-sur-un-switch">mettre en place une passerelle par défaut sur un switch</h2>
<pre><code>Switch(conf)# ip default-gateway A.B.C.D
</code></pre></description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Routeur</title>
|
||||
<link>/cisco/routeur/</link>
|
||||
<pubDate>Fri, 24 Jan 2025 00:00:00 +0000</pubDate>
|
||||
<guid>/cisco/routeur/</guid>
|
||||
<description></description>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
|
@ -1,96 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="fr-fr">
|
||||
<head><meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<title>Routeur - Aide pour les TSSR</title>
|
||||
<meta name="generator" content="Hugo 0.141.0">
|
||||
<link href="//index.xml" rel="alternate" type="application/rss+xml">
|
||||
<link rel="canonical" href="/cisco/routeur/">
|
||||
<link rel="stylesheet" href="/css/theme.min.css">
|
||||
<link rel="stylesheet" href="/css/chroma.min.css">
|
||||
<script defer src="//js/fontawesome6/all.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery.easing@1.4.1/jquery.easing.min.js" integrity="sha256-H3cjtrm/ztDeuhCN9I4yh4iN2Ybx/y1RM7rMmAesA0k=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js" integrity="sha256-4XodgW4TwIJuDtf+v6vDJ39FVxI0veC/kSCCmnFp7ck=" crossorigin="anonymous"></script>
|
||||
<script src="/js/bundle.js"></script><style>
|
||||
:root {}
|
||||
</style>
|
||||
<meta property="og:url" content="/cisco/routeur/">
|
||||
<meta property="og:site_name" content="Aide pour les TSSR">
|
||||
<meta property="og:title" content="Routeur">
|
||||
<meta property="og:locale" content="fr_fr">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="article:section" content="cisco">
|
||||
<meta property="article:published_time" content="2025-01-24T00:00:00+00:00">
|
||||
<meta property="article:modified_time" content="2025-01-24T00:00:00+00:00">
|
||||
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:title" content="Routeur">
|
||||
|
||||
<meta itemprop="name" content="Routeur">
|
||||
<meta itemprop="datePublished" content="2025-01-24T00:00:00+00:00">
|
||||
<meta itemprop="dateModified" content="2025-01-24T00:00:00+00:00"></head>
|
||||
<body><div class="container"><header>
|
||||
<h1>Aide pour les TSSR</h1><span class="version">Version 1.0.0</span>
|
||||
</header>
|
||||
<div class="global-menu">
|
||||
<nav>
|
||||
<ul>
|
||||
<li id="Accueil" class=""><a href="/"><i class='fa fa-heart'></i> Accueil</a></li>
|
||||
<li class=""><a href="/about/">About</a></li></ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div class="content-container">
|
||||
<main><h1>Routeur</h1>
|
||||
<div class="edit-meta">
|
||||
Last updated on 24 Jan 2025
|
||||
|
||||
|
||||
<br>
|
||||
Published on 24 Jan 2025
|
||||
<br></div><nav class="pagination"><a class="nav nav-prev" href="/cisco/switch/" title="Switch"><i class="fas fa-arrow-left" aria-hidden="true"></i> Prev - Switch</a>
|
||||
<a class="nav nav-next" href="/cisco/commande-g%C3%A9n%C3%A9rale/" title="Commande Générale">Next - Commande Générale <i class="fas fa-arrow-right" aria-hidden="true"></i></a>
|
||||
</nav><footer><p class="powered">Powered by <a href="https://gohugo.io">Hugo</a>. Theme by <a href="https://themes.gohugo.io/hugo-theme-techdoc/">TechDoc</a>. Designed by <a href="https://github.com/thingsym/hugo-theme-techdoc">Thingsym</a>.</p>
|
||||
</footer>
|
||||
</main>
|
||||
<div class="sidebar">
|
||||
|
||||
<nav class="slide-menu">
|
||||
<ul>
|
||||
<li class=""><a href="/">Home</a></li>
|
||||
|
||||
<li class="parent has-sub-menu"><a href="/cisco/">Cisco<span class="mark opened">-</span></a>
|
||||
|
||||
<ul class="sub-menu">
|
||||
<li class=""><a href="/cisco/commande-g%C3%A9n%C3%A9rale/">Commande Générale</a></li>
|
||||
<li class=""><a href="/cisco/switch/">Switch</a></li>
|
||||
<li class="active"><a href="/cisco/routeur/">Routeur</a></li>
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
|
||||
|
||||
<div class="sidebar-footer"></div>
|
||||
</div>
|
||||
|
||||
</div><a href="#" id="backtothetop-fixed" class="backtothetop"
|
||||
data-backtothetop-duration="600"
|
||||
data-backtothetop-easing="easeOutQuart"
|
||||
data-backtothetop-fixed-fadeIn="1000"
|
||||
data-backtothetop-fixed-fadeOut="1000"
|
||||
data-backtothetop-fixed-bottom="10"
|
||||
data-backtothetop-fixed-right="20">
|
||||
<span class="fa-layers fa-fw">
|
||||
<i class="fas fa-circle"></i>
|
||||
<i class="fas fa-arrow-circle-up"></i>
|
||||
</span></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,108 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="fr-fr">
|
||||
<head><meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<title>Switch - Aide pour les TSSR</title>
|
||||
<meta name="generator" content="Hugo 0.141.0">
|
||||
<link href="//index.xml" rel="alternate" type="application/rss+xml">
|
||||
<link rel="canonical" href="/cisco/switch/">
|
||||
<link rel="stylesheet" href="/css/theme.min.css">
|
||||
<link rel="stylesheet" href="/css/chroma.min.css">
|
||||
<script defer src="//js/fontawesome6/all.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery.easing@1.4.1/jquery.easing.min.js" integrity="sha256-H3cjtrm/ztDeuhCN9I4yh4iN2Ybx/y1RM7rMmAesA0k=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js" integrity="sha256-4XodgW4TwIJuDtf+v6vDJ39FVxI0veC/kSCCmnFp7ck=" crossorigin="anonymous"></script>
|
||||
<script src="/js/bundle.js"></script><style>
|
||||
:root {}
|
||||
</style>
|
||||
<meta property="og:url" content="/cisco/switch/">
|
||||
<meta property="og:site_name" content="Aide pour les TSSR">
|
||||
<meta property="og:title" content="Switch">
|
||||
<meta property="og:description" content="Configurer la SVI (Switch Virtual Interface) Switch(conf)# interface vlan1 Switch(conf-if)# ip address A.B.C.D M1.M2.M3.M4 Switch(conf-if)# no shutdown mettre en place une passerelle par défaut sur un switch Switch(conf)# ip default-gateway A.B.C.D">
|
||||
<meta property="og:locale" content="fr_fr">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="article:section" content="cisco">
|
||||
<meta property="article:published_time" content="2025-01-24T00:00:00+00:00">
|
||||
<meta property="article:modified_time" content="2025-01-24T00:00:00+00:00">
|
||||
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:title" content="Switch">
|
||||
<meta name="twitter:description" content="Configurer la SVI (Switch Virtual Interface) Switch(conf)# interface vlan1 Switch(conf-if)# ip address A.B.C.D M1.M2.M3.M4 Switch(conf-if)# no shutdown mettre en place une passerelle par défaut sur un switch Switch(conf)# ip default-gateway A.B.C.D">
|
||||
|
||||
<meta itemprop="name" content="Switch">
|
||||
<meta itemprop="description" content="Configurer la SVI (Switch Virtual Interface) Switch(conf)# interface vlan1 Switch(conf-if)# ip address A.B.C.D M1.M2.M3.M4 Switch(conf-if)# no shutdown mettre en place une passerelle par défaut sur un switch Switch(conf)# ip default-gateway A.B.C.D">
|
||||
<meta itemprop="datePublished" content="2025-01-24T00:00:00+00:00">
|
||||
<meta itemprop="dateModified" content="2025-01-24T00:00:00+00:00">
|
||||
<meta itemprop="wordCount" content="31"></head>
|
||||
<body><div class="container"><header>
|
||||
<h1>Aide pour les TSSR</h1><span class="version">Version 1.0.0</span>
|
||||
</header>
|
||||
<div class="global-menu">
|
||||
<nav>
|
||||
<ul>
|
||||
<li id="Accueil" class=""><a href="/"><i class='fa fa-heart'></i> Accueil</a></li>
|
||||
<li class=""><a href="/about/">About</a></li></ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div class="content-container">
|
||||
<main><h1>Switch</h1>
|
||||
<h2 id="configurer-la-svi-switch-virtual-interface">Configurer la SVI (Switch Virtual Interface)</h2>
|
||||
<pre><code>Switch(conf)# interface vlan1
|
||||
Switch(conf-if)# ip address A.B.C.D M1.M2.M3.M4
|
||||
Switch(conf-if)# no shutdown
|
||||
</code></pre>
|
||||
<h2 id="mettre-en-place-une-passerelle-par-défaut-sur-un-switch">mettre en place une passerelle par défaut sur un switch</h2>
|
||||
<pre><code>Switch(conf)# ip default-gateway A.B.C.D
|
||||
</code></pre>
|
||||
<div class="edit-meta">
|
||||
Last updated on 24 Jan 2025
|
||||
|
||||
|
||||
<br>
|
||||
Published on 24 Jan 2025
|
||||
<br></div><nav class="pagination"><a class="nav nav-prev" href="/cisco/commande-g%C3%A9n%C3%A9rale/" title="Commande Générale"><i class="fas fa-arrow-left" aria-hidden="true"></i> Prev - Commande Générale</a>
|
||||
<a class="nav nav-next" href="/cisco/routeur/" title="Routeur">Next - Routeur <i class="fas fa-arrow-right" aria-hidden="true"></i></a>
|
||||
</nav><footer><p class="powered">Powered by <a href="https://gohugo.io">Hugo</a>. Theme by <a href="https://themes.gohugo.io/hugo-theme-techdoc/">TechDoc</a>. Designed by <a href="https://github.com/thingsym/hugo-theme-techdoc">Thingsym</a>.</p>
|
||||
</footer>
|
||||
</main>
|
||||
<div class="sidebar">
|
||||
|
||||
<nav class="slide-menu">
|
||||
<ul>
|
||||
<li class=""><a href="/">Home</a></li>
|
||||
|
||||
<li class="parent has-sub-menu"><a href="/cisco/">Cisco<span class="mark opened">-</span></a>
|
||||
|
||||
<ul class="sub-menu">
|
||||
<li class=""><a href="/cisco/commande-g%C3%A9n%C3%A9rale/">Commande Générale</a></li>
|
||||
<li class="active"><a href="/cisco/switch/">Switch</a></li>
|
||||
<li class=""><a href="/cisco/routeur/">Routeur</a></li>
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
|
||||
|
||||
<div class="sidebar-footer"></div>
|
||||
</div>
|
||||
|
||||
</div><a href="#" id="backtothetop-fixed" class="backtothetop"
|
||||
data-backtothetop-duration="600"
|
||||
data-backtothetop-easing="easeOutQuart"
|
||||
data-backtothetop-fixed-fadeIn="1000"
|
||||
data-backtothetop-fixed-fadeOut="1000"
|
||||
data-backtothetop-fixed-bottom="10"
|
||||
data-backtothetop-fixed-right="20">
|
||||
<span class="fa-layers fa-fw">
|
||||
<i class="fas fa-circle"></i>
|
||||
<i class="fas fa-arrow-circle-up"></i>
|
||||
</span></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,310 +0,0 @@
|
|||
/* Background */
|
||||
.chroma {
|
||||
color: #f8f8f2;
|
||||
background-color: #272822;
|
||||
}
|
||||
|
||||
/* Error */
|
||||
.chroma .err {
|
||||
color: #960050;
|
||||
background-color: #1e0010;
|
||||
}
|
||||
|
||||
/* LineTableTD */
|
||||
.chroma .lntd {
|
||||
vertical-align: top;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
/* LineTable */
|
||||
.chroma .lntable {
|
||||
border-spacing: 0;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
width: 100%;
|
||||
overflow: auto;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* LineHighlight */
|
||||
.chroma .hl {
|
||||
background-color: #ffffcc;
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* LineNumbersTable */
|
||||
.chroma .lnt {
|
||||
margin-right: 0.4em;
|
||||
padding: 0 0.4em 0 0.4em;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* LineNumbers */
|
||||
.chroma .ln {
|
||||
margin-right: 0.4em;
|
||||
padding: 0 0.4em 0 0.4em;
|
||||
}
|
||||
|
||||
/* Keyword */
|
||||
.chroma .k {
|
||||
color: #66d9ef;
|
||||
}
|
||||
|
||||
/* KeywordConstant */
|
||||
.chroma .kc {
|
||||
color: #66d9ef;
|
||||
}
|
||||
|
||||
/* KeywordDeclaration */
|
||||
.chroma .kd {
|
||||
color: #66d9ef;
|
||||
}
|
||||
|
||||
/* KeywordNamespace */
|
||||
.chroma .kn {
|
||||
color: #f92672;
|
||||
}
|
||||
|
||||
/* KeywordPseudo */
|
||||
.chroma .kp {
|
||||
color: #66d9ef;
|
||||
}
|
||||
|
||||
/* KeywordReserved */
|
||||
.chroma .kr {
|
||||
color: #66d9ef;
|
||||
}
|
||||
|
||||
/* KeywordType */
|
||||
.chroma .kt {
|
||||
color: #66d9ef;
|
||||
}
|
||||
|
||||
/* NameAttribute */
|
||||
.chroma .na {
|
||||
color: #a6e22e;
|
||||
}
|
||||
|
||||
/* NameClass */
|
||||
.chroma .nc {
|
||||
color: #a6e22e;
|
||||
}
|
||||
|
||||
/* NameConstant */
|
||||
.chroma .no {
|
||||
color: #66d9ef;
|
||||
}
|
||||
|
||||
/* NameDecorator */
|
||||
.chroma .nd {
|
||||
color: #a6e22e;
|
||||
}
|
||||
|
||||
/* NameException */
|
||||
.chroma .ne {
|
||||
color: #a6e22e;
|
||||
}
|
||||
|
||||
/* NameFunction */
|
||||
.chroma .nf {
|
||||
color: #a6e22e;
|
||||
}
|
||||
|
||||
/* NameOther */
|
||||
.chroma .nx {
|
||||
color: #a6e22e;
|
||||
}
|
||||
|
||||
/* NameTag */
|
||||
.chroma .nt {
|
||||
color: #f92672;
|
||||
}
|
||||
|
||||
/* Literal */
|
||||
.chroma .l {
|
||||
color: #ae81ff;
|
||||
}
|
||||
|
||||
/* LiteralDate */
|
||||
.chroma .ld {
|
||||
color: #e6db74;
|
||||
}
|
||||
|
||||
/* LiteralString */
|
||||
.chroma .s {
|
||||
color: #e6db74;
|
||||
}
|
||||
|
||||
/* LiteralStringAffix */
|
||||
.chroma .sa {
|
||||
color: #e6db74;
|
||||
}
|
||||
|
||||
/* LiteralStringBacktick */
|
||||
.chroma .sb {
|
||||
color: #e6db74;
|
||||
}
|
||||
|
||||
/* LiteralStringChar */
|
||||
.chroma .sc {
|
||||
color: #e6db74;
|
||||
}
|
||||
|
||||
/* LiteralStringDelimiter */
|
||||
.chroma .dl {
|
||||
color: #e6db74;
|
||||
}
|
||||
|
||||
/* LiteralStringDoc */
|
||||
.chroma .sd {
|
||||
color: #e6db74;
|
||||
}
|
||||
|
||||
/* LiteralStringDouble */
|
||||
.chroma .s2 {
|
||||
color: #e6db74;
|
||||
}
|
||||
|
||||
/* LiteralStringEscape */
|
||||
.chroma .se {
|
||||
color: #ae81ff;
|
||||
}
|
||||
|
||||
/* LiteralStringHeredoc */
|
||||
.chroma .sh {
|
||||
color: #e6db74;
|
||||
}
|
||||
|
||||
/* LiteralStringInterpol */
|
||||
.chroma .si {
|
||||
color: #e6db74;
|
||||
}
|
||||
|
||||
/* LiteralStringOther */
|
||||
.chroma .sx {
|
||||
color: #e6db74;
|
||||
}
|
||||
|
||||
/* LiteralStringRegex */
|
||||
.chroma .sr {
|
||||
color: #e6db74;
|
||||
}
|
||||
|
||||
/* LiteralStringSingle */
|
||||
.chroma .s1 {
|
||||
color: #e6db74;
|
||||
}
|
||||
|
||||
/* LiteralStringSymbol */
|
||||
.chroma .ss {
|
||||
color: #e6db74;
|
||||
}
|
||||
|
||||
/* LiteralNumber */
|
||||
.chroma .m {
|
||||
color: #ae81ff;
|
||||
}
|
||||
|
||||
/* LiteralNumberBin */
|
||||
.chroma .mb {
|
||||
color: #ae81ff;
|
||||
}
|
||||
|
||||
/* LiteralNumberFloat */
|
||||
.chroma .mf {
|
||||
color: #ae81ff;
|
||||
}
|
||||
|
||||
/* LiteralNumberHex */
|
||||
.chroma .mh {
|
||||
color: #ae81ff;
|
||||
}
|
||||
|
||||
/* LiteralNumberInteger */
|
||||
.chroma .mi {
|
||||
color: #ae81ff;
|
||||
}
|
||||
|
||||
/* LiteralNumberIntegerLong */
|
||||
.chroma .il {
|
||||
color: #ae81ff;
|
||||
}
|
||||
|
||||
/* LiteralNumberOct */
|
||||
.chroma .mo {
|
||||
color: #ae81ff;
|
||||
}
|
||||
|
||||
/* Operator */
|
||||
.chroma .o {
|
||||
color: #f92672;
|
||||
}
|
||||
|
||||
/* OperatorWord */
|
||||
.chroma .ow {
|
||||
color: #f92672;
|
||||
}
|
||||
|
||||
/* Comment */
|
||||
.chroma .c {
|
||||
color: #75715e;
|
||||
}
|
||||
|
||||
/* CommentHashbang */
|
||||
.chroma .ch {
|
||||
color: #75715e;
|
||||
}
|
||||
|
||||
/* CommentMultiline */
|
||||
.chroma .cm {
|
||||
color: #75715e;
|
||||
}
|
||||
|
||||
/* CommentSingle */
|
||||
.chroma .c1 {
|
||||
color: #75715e;
|
||||
}
|
||||
|
||||
/* CommentSpecial */
|
||||
.chroma .cs {
|
||||
color: #75715e;
|
||||
}
|
||||
|
||||
/* CommentPreproc */
|
||||
.chroma .cp {
|
||||
color: #75715e;
|
||||
}
|
||||
|
||||
/* CommentPreprocFile */
|
||||
.chroma .cpf {
|
||||
color: #75715e;
|
||||
}
|
||||
|
||||
/* GenericDeleted */
|
||||
.chroma .gd {
|
||||
color: #f92672;
|
||||
}
|
||||
|
||||
/* GenericEmph */
|
||||
.chroma .ge {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* GenericInserted */
|
||||
.chroma .gi {
|
||||
color: #a6e22e;
|
||||
}
|
||||
|
||||
/* GenericStrong */
|
||||
.chroma .gs {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* GenericSubheading */
|
||||
.chroma .gu {
|
||||
color: #75715e;
|
||||
}
|
1
public/css/chroma.min.css
vendored
|
@ -1 +0,0 @@
|
|||
.chroma{background-color:#272822;color:#f8f8f2}.chroma .err{background-color:#1e0010;color:#960050}.chroma .lntd{border:0;margin:0;padding:0;vertical-align:top}.chroma .lntable{border:0;border-spacing:0;display:block;margin:0;overflow:auto;padding:0;width:100%}.chroma .hl{background-color:#ffc;display:block;width:100%}.chroma .lnt{display:block}.chroma .ln,.chroma .lnt{margin-right:.4em;padding:0 .4em}.chroma .k,.chroma .kc,.chroma .kd{color:#66d9ef}.chroma .kn{color:#f92672}.chroma .kp,.chroma .kr,.chroma .kt{color:#66d9ef}.chroma .na,.chroma .nc{color:#a6e22e}.chroma .no{color:#66d9ef}.chroma .nd,.chroma .ne,.chroma .nf,.chroma .nx{color:#a6e22e}.chroma .nt{color:#f92672}.chroma .l{color:#ae81ff}.chroma .dl,.chroma .ld,.chroma .s,.chroma .s2,.chroma .sa,.chroma .sb,.chroma .sc,.chroma .sd{color:#e6db74}.chroma .se{color:#ae81ff}.chroma .s1,.chroma .sh,.chroma .si,.chroma .sr,.chroma .ss,.chroma .sx{color:#e6db74}.chroma .il,.chroma .m,.chroma .mb,.chroma .mf,.chroma .mh,.chroma .mi,.chroma .mo{color:#ae81ff}.chroma .o,.chroma .ow{color:#f92672}.chroma .c,.chroma .c1,.chroma .ch,.chroma .cm,.chroma .cp,.chroma .cpf,.chroma .cs{color:#75715e}.chroma .gd{color:#f92672}.chroma .ge{font-style:italic}.chroma .gi{color:#a6e22e}.chroma .gs{font-weight:700}.chroma .gu{color:#75715e}
|
1305
public/css/theme.css
2
public/css/theme.min.css
vendored
|
@ -1,96 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="fr-fr">
|
||||
<head><meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<title>Accueil - Aide pour les TSSR</title>
|
||||
<meta name="generator" content="Hugo 0.141.0">
|
||||
<link href="//index.xml" rel="alternate" type="application/rss+xml">
|
||||
<link rel="canonical" href="/">
|
||||
<link rel="stylesheet" href="/css/theme.min.css">
|
||||
<link rel="stylesheet" href="/css/chroma.min.css">
|
||||
<script defer src="//js/fontawesome6/all.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery.easing@1.4.1/jquery.easing.min.js" integrity="sha256-H3cjtrm/ztDeuhCN9I4yh4iN2Ybx/y1RM7rMmAesA0k=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js" integrity="sha256-4XodgW4TwIJuDtf+v6vDJ39FVxI0veC/kSCCmnFp7ck=" crossorigin="anonymous"></script>
|
||||
<script src="/js/bundle.js"></script><style>
|
||||
:root {}
|
||||
</style>
|
||||
<meta property="og:url" content="/">
|
||||
<meta property="og:site_name" content="Aide pour les TSSR">
|
||||
<meta property="og:title" content="Accueil">
|
||||
<meta property="og:description" content="Sur ce site vous trouverez toute une documentation qui pourra être utile à un TSSR">
|
||||
<meta property="og:locale" content="fr_fr">
|
||||
<meta property="og:type" content="website">
|
||||
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:title" content="Accueil">
|
||||
<meta name="twitter:description" content="Sur ce site vous trouverez toute une documentation qui pourra être utile à un TSSR">
|
||||
|
||||
<meta itemprop="name" content="Accueil">
|
||||
<meta itemprop="description" content="Sur ce site vous trouverez toute une documentation qui pourra être utile à un TSSR">
|
||||
<meta itemprop="datePublished" content="2025-01-22T00:00:00+00:00">
|
||||
<meta itemprop="dateModified" content="2025-01-22T00:00:00+00:00">
|
||||
<meta itemprop="wordCount" content="15"></head>
|
||||
<body><div class="container"><header>
|
||||
<h1>Aide pour les TSSR</h1><span class="version">Version 1.0.0</span>
|
||||
</header>
|
||||
<div class="global-menu">
|
||||
<nav>
|
||||
<ul>
|
||||
<li id="Accueil" class=""><a href="/"><i class='fa fa-heart'></i> Accueil</a></li>
|
||||
<li class=""><a href="/about/">About</a></li></ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div class="content-container">
|
||||
<main><p>Sur ce site vous trouverez toute une documentation qui pourra être utile à un TSSR</p>
|
||||
<nav class="pagination"><a class="nav nav-next" href="/cisco/" title="Cisco">Next - Cisco <i class="fas fa-arrow-right" aria-hidden="true"></i></a>
|
||||
</nav><div class="edit-meta">
|
||||
Last updated on 22 Jan 2025
|
||||
|
||||
|
||||
<br>
|
||||
Published on 22 Jan 2025
|
||||
<br></div><footer><p class="powered">Powered by <a href="https://gohugo.io">Hugo</a>. Theme by <a href="https://themes.gohugo.io/hugo-theme-techdoc/">TechDoc</a>. Designed by <a href="https://github.com/thingsym/hugo-theme-techdoc">Thingsym</a>.</p>
|
||||
</footer>
|
||||
</main>
|
||||
<div class="sidebar">
|
||||
|
||||
<nav class="slide-menu">
|
||||
<ul>
|
||||
<li class="active"><a href="/">Home</a></li>
|
||||
|
||||
<li class=" has-sub-menu"><a href="/cisco/">Cisco<span class="mark closed">+</span></a>
|
||||
|
||||
<ul class="sub-menu">
|
||||
<li class=""><a href="/cisco/commande-g%C3%A9n%C3%A9rale/">Commande Générale</a></li>
|
||||
<li class=""><a href="/cisco/switch/">Switch</a></li>
|
||||
<li class=""><a href="/cisco/routeur/">Routeur</a></li>
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
|
||||
|
||||
<div class="sidebar-footer"></div>
|
||||
</div>
|
||||
|
||||
</div><a href="#" id="backtothetop-fixed" class="backtothetop"
|
||||
data-backtothetop-duration="600"
|
||||
data-backtothetop-easing="easeOutQuart"
|
||||
data-backtothetop-fixed-fadeIn="1000"
|
||||
data-backtothetop-fixed-fadeOut="1000"
|
||||
data-backtothetop-fixed-bottom="10"
|
||||
data-backtothetop-fixed-right="20">
|
||||
<span class="fa-layers fa-fw">
|
||||
<i class="fas fa-circle"></i>
|
||||
<i class="fas fa-arrow-circle-up"></i>
|
||||
</span></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Accueil on Aide pour les TSSR</title>
|
||||
<link>/</link>
|
||||
<description>Recent content in Accueil on Aide pour les TSSR</description>
|
||||
<generator>Hugo</generator>
|
||||
<language>fr-fr</language>
|
||||
<lastBuildDate>Fri, 24 Jan 2025 00:00:00 +0000</lastBuildDate>
|
||||
<atom:link href="/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Commande Générale</title>
|
||||
<link>/cisco/commande-g%C3%A9n%C3%A9rale/</link>
|
||||
<pubDate>Fri, 24 Jan 2025 00:00:00 +0000</pubDate>
|
||||
<guid>/cisco/commande-g%C3%A9n%C3%A9rale/</guid>
|
||||
<description><h2 id="nommer-léquipement">nommer l&rsquo;équipement</h2>
<pre><code>Switch&gt; enable
Switch# configure terminal
Switch(conf)# hostname Host
</code></pre>
<h2 id="protéger-laccès-console">protéger l&rsquo;accès console</h2>
<pre><code>Switch(conf)# line {console|aux|tty|vty} {0-xx} [1-x]
Switch(conf-line)# password *mot de passe*
Switch(conf-line)# login
</code></pre>
<h2 id="mot-de-passe-enable">mot de passe &ldquo;enable&rdquo;</h2>
<pre><code>Switch(conf)# enable {password|secret} *mot de passe*
</code></pre>
<h2 id="activer-le-chiffrement-des-mdp">Activer le chiffrement des mdp</h2>
<pre><code>Switch(conf)# service password-encryption
</code></pre>
<h2 id="sauvegarde-de-la-configuation-en-cours-vers-démarrage">sauvegarde de la configuation en cours vers démarrage</h2>
<pre><code>Switch# copy running-config startup-config
</code></pre>
<p>ou
Switch# write</p>
<h2 id="désactivation-de-la-recherche-dns-dans-linterface">désactivation de la recherche DNS dans l&rsquo;interface</h2>
<pre><code>Switch(conf)# no ip domain-lookup
</code></pre>
<h2 id="voir-la-configuration-en-cours">Voir la configuration en cours</h2>
<pre><code>Switch# Show running-config
</code></pre>
<h2 id="voir-la-configuration-du-fichier-sauvegarde-sur-la-nvram">Voir la configuration du fichier sauvegarde sur la NVRAM</h2>
<pre><code>Switch# Show startup-config
</code></pre>
<h1 id="configuration-ssh">Configuration SSH</h1>
<h2 id="prérequi">prérequi</h2>
<ul>
<li>renomer l&rsquo;équipement</li>
<li>mettre mot de passe &ldquo;enable&rdquo;</li>
</ul>
<h2 id="définir-un-nom-de-domain">définir un nom de domain</h2>
<pre><code>Switch(conf)# ip domain-name *nom-de-domaine*
</code></pre>
<h2 id="activer-la-version-2-de-ssh">activer la version 2 de SSH</h2>
<pre><code>Switch(conf)# ip ssh version 2
</code></pre>
<h2 id="générer-clés-ssh">générer clés ssh</h2>
<pre><code>Switch(conf)# crypto key generate rsa general-keys modulus *1024*
</code></pre>
<h2 id="créer-un-utilisateur-local">créer un utilisateur local</h2>
<pre><code>Switch(conf)# username *login* {secret|password} *mot-de-passe*
</code></pre>
<h2 id="ajout-dun-time-out">Ajout d&rsquo;un time out</h2>
<pre><code>Switch(conf)# ip ssh time-out {nbsec}
</code></pre>
<h2 id="ajout-dun-nombre-de-tentative">ajout d&rsquo;un nombre de tentative</h2>
<pre><code>Switch(conf)# ip ssh authentication-retries {nb tentative}
</code></pre>
<h2 id="configuration-du-maximum-de-conenxion-simultanné">configuration du maximum de conenxion simultanné</h2>
<pre><code>Switch(conf)# ip ssh maxstartups {2-128}
</code></pre></description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Switch</title>
|
||||
<link>/cisco/switch/</link>
|
||||
<pubDate>Fri, 24 Jan 2025 00:00:00 +0000</pubDate>
|
||||
<guid>/cisco/switch/</guid>
|
||||
<description><h2 id="configurer-la-svi-switch-virtual-interface">Configurer la SVI (Switch Virtual Interface)</h2>
<pre><code>Switch(conf)# interface vlan1
Switch(conf-if)# ip address A.B.C.D M1.M2.M3.M4
Switch(conf-if)# no shutdown
</code></pre>
<h2 id="mettre-en-place-une-passerelle-par-défaut-sur-un-switch">mettre en place une passerelle par défaut sur un switch</h2>
<pre><code>Switch(conf)# ip default-gateway A.B.C.D
</code></pre></description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Routeur</title>
|
||||
<link>/cisco/routeur/</link>
|
||||
<pubDate>Fri, 24 Jan 2025 00:00:00 +0000</pubDate>
|
||||
<guid>/cisco/routeur/</guid>
|
||||
<description></description>
|
||||
</item>
|
||||
<item>
|
||||
<title>About</title>
|
||||
<link>/about/</link>
|
||||
<pubDate>Wed, 22 Jan 2025 13:14:15 +0100</pubDate>
|
||||
<guid>/about/</guid>
|
||||
<description><p>About du site</p></description>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
|
@ -1 +0,0 @@
|
|||
!function(){var t={219:function(){!function(){function t(t){t.currentTarget.setAttribute("class","copy-btn copy"),t.currentTarget.setAttribute("aria-label","Copy this code.")}window.onload=function(){new ClipboardJS(".copy",{target:function(t){return t.nextElementSibling}}).on("success",(function(t){!function(t,o){t.setAttribute("class","copy-btn copy tooltipped"),t.setAttribute("aria-label","Copied!")}(t.trigger),t.clearSelection()})).on("error",(function(t){console.error("Action:",t.action),console.error("Trigger:",t.trigger)}))},document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".copy").forEach((function(o){o.addEventListener("animationend",t)}))}))}()},447:function(){document.addEventListener("DOMContentLoaded",(function(){document.querySelector("main").querySelectorAll("h1, h2, h3, h4, h5, h6").forEach((function(t){if(t.id){var o=document.createElement("a");o.setAttribute("class","headerlink"),o.setAttribute("href","#"+t.id),o.setAttribute("title","Permalink to this headline");var e=document.createElement("i");e.setAttribute("class","fas fa-hashtag"),e.setAttribute("aria-hidden","true"),o.append(e),t.append(o)}}))}))},557:function(){var t;(t=jQuery)(window).on("load.BackToTheTop",(function(){t('a[href^="#"]').BackToTheTop()})),t.fn.BackToTheTop=function(o){var e={duration:300,easing:"swing",offset:0,hash:!0,scrolloffset:0,fadein:"slow",fadeout:"slow",display:"bottom-right",top:0,bottom:0,left:0,right:0,zIndex:999,position:"fixed"};t.extend(e,o),t('a[href^="#"]').on("click.BackToTheTop",(function(){var o=void 0!==t(this).data("backtothetop-scrolltop")?t(this).data("backtothetop-scrolltop"):t(this.hash).offset()?t(this.hash).offset().top:"backtothetop-fixed"==t(this).attr("id")&&"#"==t(this).attr("href")?0:null;if(null!==o){var a=void 0===t(this).data("backtothetop-duration")?e.duration:t(this).data("backtothetop-duration"),i=void 0===t(this).data("backtothetop-easing")?e.easing:t(this).data("backtothetop-easing"),n=void 0===t(this).data("backtothetop-offset")?e.offset:t(this).data("backtothetop-offset"),d=void 0===t(this).data("backtothetop-hash")?e.hash:t(this).data("backtothetop-hash"),r=t(this).attr("href");return t("html,body").animate({scrollTop:o+n},a,i,(function(){!0===d&&window.history.pushState("","",r)})),!1}})),function(){var o=t("a#backtothetop-fixed");if(o){var a=void 0===o.data("backtothetop-fixed-scroll-offset")?e.scrolloffset:o.data("backtothetop-fixed-scroll-offset"),i=void 0===o.data("backtothetop-fixed-fadein")?e.fadein:o.data("backtothetop-fixed-fadein"),n=void 0===o.data("backtothetop-fixed-fadeout")?e.fadeout:o.data("backtothetop-fixed-fadeout"),d=void 0===o.data("backtothetop-fixed-display")?e.display:o.data("backtothetop-fixed-display"),r=void 0===o.data("backtothetop-fixed-top")?e.top:o.data("backtothetop-fixed-top"),c=void 0===o.data("backtothetop-fixed-bottom")?e.bottom:o.data("backtothetop-fixed-bottom"),s=void 0===o.data("backtothetop-fixed-left")?e.left:o.data("backtothetop-fixed-left"),f=void 0===o.data("backtothetop-fixed-right")?e.right:o.data("backtothetop-fixed-right"),h=void 0===o.data("backtothetop-fixed-zindex")?e.zIndex:o.data("backtothetop-fixed-zindex");"top-left"==d?(c="none",f="none"):"top-right"==d?(c="none",s="none"):"bottom-left"==d?(r="none",f="none"):"bottom-right"==d&&(r="none",s="none"),o.css({display:"none"}),t(window).on("scroll.BackToTheTop",(function(){t(this).scrollTop()>a?(o.css({top:r,bottom:c,left:s,right:f,zIndex:h,position:e.position}),"none"==o.css("display")&&o.fadeIn(i)):t(this).scrollTop()<=0+a&&"none"!=o.css("display")&&o.fadeOut(n)}))}}()}},127:function(){document.addEventListener("DOMContentLoaded",(function(){var t=document.querySelector(".nav-prev"),o=document.querySelector(".nav-next");document.addEventListener("keydown",(function(e){t&&"ArrowLeft"===e.key&&(location.href=t.getAttribute("href")),o&&"ArrowRight"===e.key&&(location.href=o.getAttribute("href"))}))}))},738:function(){var t;(t=jQuery)(document).ready((function(){t(".has-sub-menu > a span.mark").on("click",(function(o){t(this).parent().siblings("ul").slideToggle("fast","swing",(function(){var o;o=t(this).is(":visible")?"-":"+",t(this).siblings("a").children("span.mark").text(o)})),o.preventDefault()}))}))}},o={};function e(a){var i=o[a];if(void 0!==i)return i.exports;var n=o[a]={exports:{}};return t[a](n,n.exports,e),n.exports}e(738),e(127),e(557),e(447),e(219)}();
|
6
public/js/fontawesome6/all.min.js
vendored
|
@ -1,92 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="fr-fr">
|
||||
<head><meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<title>Posts - Aide pour les TSSR</title>
|
||||
<meta name="generator" content="Hugo 0.141.0">
|
||||
<link href="//index.xml" rel="alternate" type="application/rss+xml">
|
||||
<link rel="canonical" href="/posts/">
|
||||
<link rel="stylesheet" href="/css/theme.min.css">
|
||||
<link rel="stylesheet" href="/css/chroma.min.css">
|
||||
<script defer src="//js/fontawesome6/all.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery.easing@1.4.1/jquery.easing.min.js" integrity="sha256-H3cjtrm/ztDeuhCN9I4yh4iN2Ybx/y1RM7rMmAesA0k=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js" integrity="sha256-4XodgW4TwIJuDtf+v6vDJ39FVxI0veC/kSCCmnFp7ck=" crossorigin="anonymous"></script>
|
||||
<script src="/js/bundle.js"></script><style>
|
||||
:root {}
|
||||
</style>
|
||||
<meta property="og:url" content="/posts/">
|
||||
<meta property="og:site_name" content="Aide pour les TSSR">
|
||||
<meta property="og:title" content="Posts">
|
||||
<meta property="og:locale" content="fr_fr">
|
||||
<meta property="og:type" content="website">
|
||||
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:title" content="Posts">
|
||||
|
||||
<meta itemprop="name" content="Posts">
|
||||
<meta itemprop="datePublished" content="2025-01-22T12:02:03+01:00">
|
||||
<meta itemprop="dateModified" content="2025-01-22T12:02:03+01:00"></head>
|
||||
<body><div class="container"><header>
|
||||
<h1>Aide pour les TSSR</h1><span class="version">Version 1.0.0</span>
|
||||
</header>
|
||||
<div class="global-menu">
|
||||
<nav>
|
||||
<ul>
|
||||
<li id="Accueil" class=""><a href="/"><i class='fa fa-heart'></i> Accueil</a></li>
|
||||
<li class=""><a href="/about/">About</a></li></ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div class="content-container">
|
||||
<main><h1>Posts</h1><div class="edit-meta">
|
||||
Last updated on 22 Jan 2025
|
||||
|
||||
|
||||
<br>
|
||||
Published on 22 Jan 2025
|
||||
<br></div><nav class="pagination"><a class="nav nav-prev" href="/cisco/routeur/" title="Routeur"><i class="fas fa-arrow-left" aria-hidden="true"></i> Prev - Routeur</a>
|
||||
<a class="nav nav-next" href="/cisco/" title="Cisco">Next - Cisco <i class="fas fa-arrow-right" aria-hidden="true"></i></a>
|
||||
</nav><footer><p class="powered">Powered by <a href="https://gohugo.io">Hugo</a>. Theme by <a href="https://themes.gohugo.io/hugo-theme-techdoc/">TechDoc</a>. Designed by <a href="https://github.com/thingsym/hugo-theme-techdoc">Thingsym</a>.</p>
|
||||
</footer>
|
||||
</main>
|
||||
<div class="sidebar">
|
||||
|
||||
<nav class="slide-menu">
|
||||
<ul>
|
||||
<li class=""><a href="/">Home</a></li>
|
||||
|
||||
<li class=" has-sub-menu"><a href="/cisco/">Cisco<span class="mark closed">+</span></a>
|
||||
|
||||
<ul class="sub-menu">
|
||||
<li class=""><a href="/cisco/commande-g%C3%A9n%C3%A9rale/">Commande Générale</a></li>
|
||||
<li class=""><a href="/cisco/switch/">Switch</a></li>
|
||||
<li class=""><a href="/cisco/routeur/">Routeur</a></li>
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
|
||||
|
||||
<div class="sidebar-footer"></div>
|
||||
</div>
|
||||
|
||||
</div><a href="#" id="backtothetop-fixed" class="backtothetop"
|
||||
data-backtothetop-duration="600"
|
||||
data-backtothetop-easing="easeOutQuart"
|
||||
data-backtothetop-fixed-fadeIn="1000"
|
||||
data-backtothetop-fixed-fadeOut="1000"
|
||||
data-backtothetop-fixed-bottom="10"
|
||||
data-backtothetop-fixed-right="20">
|
||||
<span class="fa-layers fa-fw">
|
||||
<i class="fas fa-circle"></i>
|
||||
<i class="fas fa-arrow-circle-up"></i>
|
||||
</span></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,12 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Posts on Aide pour les TSSR</title>
|
||||
<link>/posts/</link>
|
||||
<description>Recent content in Posts on Aide pour les TSSR</description>
|
||||
<generator>Hugo</generator>
|
||||
<language>fr-fr</language>
|
||||
<lastBuildDate></lastBuildDate>
|
||||
<atom:link href="/posts/index.xml" rel="self" type="application/rss+xml" />
|
||||
</channel>
|
||||
</rss>
|
|
@ -1,30 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
||||
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||
<url>
|
||||
<loc>/cisco/</loc>
|
||||
<lastmod>2025-01-24T00:00:00+00:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/cisco/commande-g%C3%A9n%C3%A9rale/</loc>
|
||||
<lastmod>2025-01-24T00:00:00+00:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/cisco/switch/</loc>
|
||||
<lastmod>2025-01-24T00:00:00+00:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/cisco/routeur/</loc>
|
||||
<lastmod>2025-01-24T00:00:00+00:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/about/</loc>
|
||||
<lastmod>2025-01-22T13:14:15+01:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/posts/</loc>
|
||||
<lastmod>2025-01-22T12:02:03+01:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/</loc>
|
||||
<lastmod>2025-01-22T00:00:00+00:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/categories/</loc>
|
||||
</url><url>
|
||||
<loc>/tags/</loc>
|
||||
</url>
|
||||
</urlset>
|
|
@ -1,85 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="fr-fr">
|
||||
<head><meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<title>Tags - Aide pour les TSSR</title>
|
||||
<meta name="generator" content="Hugo 0.141.0">
|
||||
<link href="//index.xml" rel="alternate" type="application/rss+xml">
|
||||
<link rel="canonical" href="/tags/">
|
||||
<link rel="stylesheet" href="/css/theme.min.css">
|
||||
<link rel="stylesheet" href="/css/chroma.min.css">
|
||||
<script defer src="//js/fontawesome6/all.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery.easing@1.4.1/jquery.easing.min.js" integrity="sha256-H3cjtrm/ztDeuhCN9I4yh4iN2Ybx/y1RM7rMmAesA0k=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js" integrity="sha256-4XodgW4TwIJuDtf+v6vDJ39FVxI0veC/kSCCmnFp7ck=" crossorigin="anonymous"></script>
|
||||
<script src="/js/bundle.js"></script><style>
|
||||
:root {}
|
||||
</style>
|
||||
<meta property="og:url" content="/tags/">
|
||||
<meta property="og:site_name" content="Aide pour les TSSR">
|
||||
<meta property="og:title" content="Tags">
|
||||
<meta property="og:locale" content="fr_fr">
|
||||
<meta property="og:type" content="website">
|
||||
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:title" content="Tags">
|
||||
|
||||
<meta itemprop="name" content="Tags"></head>
|
||||
<body><div class="container"><header>
|
||||
<h1>Aide pour les TSSR</h1><span class="version">Version 1.0.0</span>
|
||||
</header>
|
||||
<div class="global-menu">
|
||||
<nav>
|
||||
<ul>
|
||||
<li id="Accueil" class=""><a href="/"><i class='fa fa-heart'></i> Accueil</a></li>
|
||||
<li class=""><a href="/about/">About</a></li></ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div class="content-container">
|
||||
<main><h1>Tags</h1><div class="edit-meta">
|
||||
|
||||
<br></div><nav class="pagination"><a class="nav nav-next" href="/cisco/" title="Cisco">Next - Cisco <i class="fas fa-arrow-right" aria-hidden="true"></i></a>
|
||||
</nav><footer><p class="powered">Powered by <a href="https://gohugo.io">Hugo</a>. Theme by <a href="https://themes.gohugo.io/hugo-theme-techdoc/">TechDoc</a>. Designed by <a href="https://github.com/thingsym/hugo-theme-techdoc">Thingsym</a>.</p>
|
||||
</footer>
|
||||
</main>
|
||||
<div class="sidebar">
|
||||
|
||||
<nav class="slide-menu">
|
||||
<ul>
|
||||
<li class=""><a href="/">Home</a></li>
|
||||
|
||||
<li class=" has-sub-menu"><a href="/cisco/">Cisco<span class="mark closed">+</span></a>
|
||||
|
||||
<ul class="sub-menu">
|
||||
<li class=""><a href="/cisco/commande-g%C3%A9n%C3%A9rale/">Commande Générale</a></li>
|
||||
<li class=""><a href="/cisco/switch/">Switch</a></li>
|
||||
<li class=""><a href="/cisco/routeur/">Routeur</a></li>
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
|
||||
|
||||
<div class="sidebar-footer"></div>
|
||||
</div>
|
||||
|
||||
</div><a href="#" id="backtothetop-fixed" class="backtothetop"
|
||||
data-backtothetop-duration="600"
|
||||
data-backtothetop-easing="easeOutQuart"
|
||||
data-backtothetop-fixed-fadeIn="1000"
|
||||
data-backtothetop-fixed-fadeOut="1000"
|
||||
data-backtothetop-fixed-bottom="10"
|
||||
data-backtothetop-fixed-right="20">
|
||||
<span class="fa-layers fa-fw">
|
||||
<i class="fas fa-circle"></i>
|
||||
<i class="fas fa-arrow-circle-up"></i>
|
||||
</span></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,11 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Tags on Aide pour les TSSR</title>
|
||||
<link>/tags/</link>
|
||||
<description>Recent content in Tags on Aide pour les TSSR</description>
|
||||
<generator>Hugo</generator>
|
||||
<language>fr-fr</language>
|
||||
<atom:link href="/tags/index.xml" rel="self" type="application/rss+xml" />
|
||||
</channel>
|
||||
</rss>
|
|
@ -1,354 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="fr-fr">
|
||||
<head><meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<title>Cisco - Aide pour les TSSR</title>
|
||||
<meta name="generator" content="Hugo 0.141.0">
|
||||
<link href="//index.xml" rel="alternate" type="application/rss+xml">
|
||||
<link rel="canonical" href="/tutoriel/cisco/">
|
||||
<link rel="stylesheet" href="/css/theme.min.css">
|
||||
<link rel="stylesheet" href="/css/chroma.min.css">
|
||||
<script defer src="//js/fontawesome6/all.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery.easing@1.4.1/jquery.easing.min.js" integrity="sha256-H3cjtrm/ztDeuhCN9I4yh4iN2Ybx/y1RM7rMmAesA0k=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js" integrity="sha256-4XodgW4TwIJuDtf+v6vDJ39FVxI0veC/kSCCmnFp7ck=" crossorigin="anonymous"></script>
|
||||
<script src="/js/bundle.js"></script><style>
|
||||
:root {}
|
||||
</style>
|
||||
<meta property="og:url" content="/tutoriel/cisco/">
|
||||
<meta property="og:site_name" content="Aide pour les TSSR">
|
||||
<meta property="og:title" content="Cisco">
|
||||
<meta property="og:description" content="Configuration de base nommer l’équipement Switch> enable Switch# configure terminal Switch(conf)# hostname Host protéger l’accès console Switch(conf)# line {console|aux|tty|vty} {0-xx} [1-x] Switch(conf-line)# password *mot de passe* Switch(conf-line)# login mot de passe “enable” Switch(conf)# enable {password|secret} *mot de passe* Activer le chiffrement des mdp Switch(conf)# service password-encryption Configurer la SVI (Switch Virtual Interface) Switch(conf)# interface vlan1 Switch(conf-if)# ip address A.B.C.D M1.M2.M3.M4 Switch(conf-if)# no shutdown mettre en place une passerelle par défaut sur un switch Switch(conf)# ip default-gateway A.B.C.D sauvegarde de la configuation en cours vers démarrage Switch# copy running-config startup-config ou">
|
||||
<meta property="og:locale" content="fr_fr">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="article:section" content="tutoriel">
|
||||
<meta property="article:published_time" content="2025-01-22T12:04:10+01:00">
|
||||
<meta property="article:modified_time" content="2025-01-22T12:04:10+01:00">
|
||||
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:title" content="Cisco">
|
||||
<meta name="twitter:description" content="Configuration de base nommer l’équipement Switch> enable Switch# configure terminal Switch(conf)# hostname Host protéger l’accès console Switch(conf)# line {console|aux|tty|vty} {0-xx} [1-x] Switch(conf-line)# password *mot de passe* Switch(conf-line)# login mot de passe “enable” Switch(conf)# enable {password|secret} *mot de passe* Activer le chiffrement des mdp Switch(conf)# service password-encryption Configurer la SVI (Switch Virtual Interface) Switch(conf)# interface vlan1 Switch(conf-if)# ip address A.B.C.D M1.M2.M3.M4 Switch(conf-if)# no shutdown mettre en place une passerelle par défaut sur un switch Switch(conf)# ip default-gateway A.B.C.D sauvegarde de la configuation en cours vers démarrage Switch# copy running-config startup-config ou">
|
||||
|
||||
<meta itemprop="name" content="Cisco">
|
||||
<meta itemprop="description" content="Configuration de base nommer l’équipement Switch> enable Switch# configure terminal Switch(conf)# hostname Host protéger l’accès console Switch(conf)# line {console|aux|tty|vty} {0-xx} [1-x] Switch(conf-line)# password *mot de passe* Switch(conf-line)# login mot de passe “enable” Switch(conf)# enable {password|secret} *mot de passe* Activer le chiffrement des mdp Switch(conf)# service password-encryption Configurer la SVI (Switch Virtual Interface) Switch(conf)# interface vlan1 Switch(conf-if)# ip address A.B.C.D M1.M2.M3.M4 Switch(conf-if)# no shutdown mettre en place une passerelle par défaut sur un switch Switch(conf)# ip default-gateway A.B.C.D sauvegarde de la configuation en cours vers démarrage Switch# copy running-config startup-config ou">
|
||||
<meta itemprop="datePublished" content="2025-01-22T12:04:10+01:00">
|
||||
<meta itemprop="dateModified" content="2025-01-22T12:04:10+01:00">
|
||||
<meta itemprop="wordCount" content="946"></head>
|
||||
<body><div class="container"><header>
|
||||
<h1>Aide pour les TSSR</h1><span class="version">Version 1.0.0</span>
|
||||
</header>
|
||||
<div class="global-menu">
|
||||
<nav>
|
||||
<ul>
|
||||
<li id="Accueil" class=""><a href="/"><i class='fa fa-heart'></i> Accueil</a></li>
|
||||
<li id="twitter" class="twitter-menu-item"><a href="https://twitter.com/thingsym"><b>pre!</b> Twitter <b>post!</b></a></li>
|
||||
<li class=""><a href="/about/">About</a></li></ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div class="content-container">
|
||||
<main><h1>Cisco</h1>
|
||||
<h1 id="configuration-de-base">Configuration de base</h1>
|
||||
<h2 id="nommer-léquipement">nommer l’équipement</h2>
|
||||
<pre><code>Switch> enable
|
||||
Switch# configure terminal
|
||||
Switch(conf)# hostname Host
|
||||
</code></pre>
|
||||
<h2 id="protéger-laccès-console">protéger l’accès console</h2>
|
||||
<pre><code>Switch(conf)# line {console|aux|tty|vty} {0-xx} [1-x]
|
||||
Switch(conf-line)# password *mot de passe*
|
||||
Switch(conf-line)# login
|
||||
</code></pre>
|
||||
<h2 id="mot-de-passe-enable">mot de passe “enable”</h2>
|
||||
<pre><code>Switch(conf)# enable {password|secret} *mot de passe*
|
||||
</code></pre>
|
||||
<h2 id="activer-le-chiffrement-des-mdp">Activer le chiffrement des mdp</h2>
|
||||
<pre><code>Switch(conf)# service password-encryption
|
||||
</code></pre>
|
||||
<h2 id="configurer-la-svi-switch-virtual-interface">Configurer la SVI (Switch Virtual Interface)</h2>
|
||||
<pre><code>Switch(conf)# interface vlan1
|
||||
Switch(conf-if)# ip address A.B.C.D M1.M2.M3.M4
|
||||
Switch(conf-if)# no shutdown
|
||||
</code></pre>
|
||||
<h2 id="mettre-en-place-une-passerelle-par-défaut-sur-un-switch">mettre en place une passerelle par défaut sur un switch</h2>
|
||||
<pre><code>Switch(conf)# ip default-gateway A.B.C.D
|
||||
</code></pre>
|
||||
<h2 id="sauvegarde-de-la-configuation-en-cours-vers-démarrage">sauvegarde de la configuation en cours vers démarrage</h2>
|
||||
<pre><code>Switch# copy running-config startup-config
|
||||
</code></pre>
|
||||
<p>ou</p>
|
||||
<pre><code>Switch# write
|
||||
</code></pre>
|
||||
<h2 id="désactivation-de-la-recherche-dns-dans-linterface">désactivation de la recherche DNS dans l’interface</h2>
|
||||
<pre><code>Switch(conf)# no ip domain-lookup
|
||||
</code></pre>
|
||||
<h2 id="voir-la-configuration-en-cours">Voir la configuration en cours</h2>
|
||||
<pre><code>Switch# Show running-config
|
||||
</code></pre>
|
||||
<h2 id="voir-la-configuration-du-fichier-sauvegarde-sur-la-nvram">Voir la configuration du fichier sauvegarde sur la NVRAM</h2>
|
||||
<pre><code>Switch# Show startup-config
|
||||
</code></pre>
|
||||
<h1 id="configuration-ssh">Configuration SSH</h1>
|
||||
<h2 id="prérequi">prérequi</h2>
|
||||
<ul>
|
||||
<li>renomer l’équipement</li>
|
||||
<li>mettre mot de passe “enable”</li>
|
||||
</ul>
|
||||
<h2 id="définir-un-nom-de-domain">définir un nom de domain</h2>
|
||||
<pre><code>Switch(conf)# ip domain-name *nom-de-domaine*
|
||||
</code></pre>
|
||||
<h2 id="activer-la-version-2-de-ssh">activer la version 2 de SSH</h2>
|
||||
<pre><code>Switch(conf)# ip ssh version 2
|
||||
</code></pre>
|
||||
<h2 id="générer-clés-ssh">générer clés ssh</h2>
|
||||
<pre><code>Switch(conf)# crypto key generate rsa general-keys modulus *1024*
|
||||
</code></pre>
|
||||
<h2 id="créer-un-utilisateur-local">créer un utilisateur local</h2>
|
||||
<pre><code>Switch(conf)# username *login* {secret|password} *mot-de-passe*
|
||||
</code></pre>
|
||||
<h2 id="ajout-dun-time-out">Ajout d’un time out</h2>
|
||||
<pre><code>Switch(conf)# ip ssh time-out {nbsec}
|
||||
</code></pre>
|
||||
<h2 id="ajout-dun-nombre-de-tentative">ajout d’un nombre de tentative</h2>
|
||||
<pre><code>Switch(conf)# ip ssh authentication-retries {nb tentative}
|
||||
</code></pre>
|
||||
<h2 id="configuration-du-maximum-de-conenxion-simultanné">configuration du maximum de conenxion simultanné</h2>
|
||||
<pre><code>Switch(conf)# ip ssh maxstartups {2-128}
|
||||
</code></pre>
|
||||
<h2 id="configurer-ligne-vty">configurer ligne vty</h2>
|
||||
<pre><code>Switch(conf)# line vty 0 15
|
||||
Switch(conf-line)# login local
|
||||
Switch(conf-line)# transport input ssh
|
||||
Switch(conf-line)# no password
|
||||
</code></pre>
|
||||
<h1 id="configuration-vlan-sur-un-switch">Configuration Vlan sur un Switch</h1>
|
||||
<h2 id="définir-un-vlan">Définir un Vlan</h2>
|
||||
<pre><code>Switch> enable
|
||||
Switch# configure terminal
|
||||
Switch(conf)# vlan *numero Vlan*
|
||||
Switch(conf-vlan)# name *nom*
|
||||
Switch(conf-vlan)# exit
|
||||
Switch(conf)#
|
||||
</code></pre>
|
||||
<h2 id="rattacher-un-port-à-un-vlan">Rattacher un port à un VLAN</h2>
|
||||
<pre><code>Switch> enable
|
||||
Switch# configure terminal
|
||||
Switch(conf)# interface *interface*
|
||||
Switch(conf-if)# switchport mode access
|
||||
Switch(conf-if)# switchport access vlan *numero Vlan*
|
||||
Switch(conf-if)# exit
|
||||
Switch(conf)#
|
||||
</code></pre>
|
||||
<h2 id="rattacher-un-ensemble-de-ports-à-un-vlan">Rattacher un ensemble de ports à un VLAN</h2>
|
||||
<pre><code>Switch> enable
|
||||
Switch# configure terminal
|
||||
Switch(conf)# interface range *1ère interface* - *dernière interface*
|
||||
Switch(conf-if)# switchport mode access
|
||||
Switch(conf-if)# switchport access vlan *numero Vlan*
|
||||
Switch(conf-if)# exit
|
||||
Switch(conf)#
|
||||
</code></pre>
|
||||
<h2 id="configurer-un-port-en-mode-trunk">Configurer un port en mode TRUNK</h2>
|
||||
<p>Le mode TRUNK permet a plusieurs vlan de passer par le même port
|
||||
Switch> enable
|
||||
Switch# configure terminal
|
||||
Switch(conf)# interface <em>interface</em>
|
||||
Switch(conf-if)# switchport mode trunk
|
||||
Switch(conf-if)# switchport trunk allowed vlan <em>Vlan1</em> [,<em>VLan2</em>]
|
||||
Switch(conf-if)# exit
|
||||
Switch(conf)#</p>
|
||||
<h2 id="activation-du-routage-entre-les-vlans-si-switch-niveau-3">activation du routage entre les VLANs si switch niveau 3</h2>
|
||||
<p>attriber des adresse ip au vlan et les déclarer en passerelles dans les hôtes connectés</p>
|
||||
<pre><code>Switch> enable
|
||||
Switch# configure terminal
|
||||
Switch(conf)# ip routing
|
||||
</code></pre>
|
||||
<h1 id="configuration-security-port">Configuration Security port</h1>
|
||||
<pre><code>Switch> enable
|
||||
Switch# configure terminal
|
||||
Switch(conf)# interface *interface*
|
||||
Switch(conf-if)# switchport mode access
|
||||
Switch(conf-if)# switchport port-security
|
||||
Switch(conf-if)# switchport port-security maximum *nb de tentative*
|
||||
Switch(conf-if)# switchport port-security mac-address {sticky|*MAC*}
|
||||
Switch(conf-if)# switchport port-security violation {protect|restrict|shutdown}
|
||||
</code></pre>
|
||||
<h1 id="configuration-route">Configuration route</h1>
|
||||
<h2 id="route-statique">Route statique</h2>
|
||||
<pre><code>Router(conf)# ip route *réseau* *masque* { *adresse ip* | *interface sortie* [ *adresse-ip* ] }
|
||||
</code></pre>
|
||||
<p>ou
|
||||
Router(conf)# ipv6 unicast-routing
|
||||
Router(conf)# ipv6 route <em>réseau/masque</em> { <em>adresse ip</em> | <em>interface sortie</em> [ <em>adresse-ip</em> ] }</p>
|
||||
<h2 id="route-par-défaut">Route par défaut</h2>
|
||||
<pre><code>Router(conf)# ip route 0.0.0.0 0.0.0.0 { *adresse ip* | *interface sortie* [ *adresse-ip* ] }
|
||||
</code></pre>
|
||||
<p>ou
|
||||
Router(conf)#
|
||||
Router(conf)# ipv6 route <em>::/0</em> { <em>adresse ip</em> | <em>interface sortie</em> [ <em>adresse-ip</em> ] }</p>
|
||||
<h2 id="inferface-virtuelle-pour-mode-trunk">inferface virtuelle pour mode TRUNK</h2>
|
||||
<pre><code>Router(config)# interface [interface].[id]
|
||||
Router(config-if)# encapsulation dot1Q [vlan]
|
||||
Router(config-if)# ip address *rid* 255.255.255.255
|
||||
Router(config-if)# no shutdown
|
||||
</code></pre>
|
||||
<p>ne pas oublier d’allumer l’interface générale</p>
|
||||
<h2 id="routage-dynamique-ripv2">Routage dynamique RIPv2</h2>
|
||||
<h3 id="activation-du-routage">activation du routage</h3>
|
||||
<pre><code>Router(conf)# router rip
|
||||
</code></pre>
|
||||
<h3 id="activation-de-la-version-2">activation de la version 2</h3>
|
||||
<pre><code>Router(conf-router)# version 2
|
||||
</code></pre>
|
||||
<h3 id="déclaration-des-réseaux-qui-lui-sont-directement-connecter">déclaration des réseaux qui lui sont directement connecter</h3>
|
||||
<pre><code>Router(conf-router)# network *réseau connue*
|
||||
</code></pre>
|
||||
<h3 id="désactiver-le-résumer-des-routes">désactiver le résumer des routes</h3>
|
||||
<pre><code>Router(conf-router)# no auto-summary
|
||||
</code></pre>
|
||||
<h3 id="désactiver-lenvoie-des-mise-à-jours-de-la-table-de-routage-vers-interface-non-voulue">désactiver l’envoie des mise à jours de la table de routage vers interface non voulue</h3>
|
||||
<pre><code>Router(conf-router)# passive-interface *interface*
|
||||
</code></pre>
|
||||
<h3 id="propagation-route-par-défaut">propagation route par défaut</h3>
|
||||
<p>Obligation d’avoir la route par défaut Configurer sur le routeur
|
||||
Router(conf-router)# default-information originate</p>
|
||||
<h2 id="routage-dynamique-ospf">Routage dynamique OSPF</h2>
|
||||
<h3 id="activation-du-routage-1">activation du routage</h3>
|
||||
<pre><code>Router(conf)# router ospf *10* // même numéro pour tous les routeurs
|
||||
</code></pre>
|
||||
<h3 id="définition-de-lid-du-routeur">définition de l’ID du routeur</h3>
|
||||
<pre><code>Router(conf-router)# router-id *rid*
|
||||
</code></pre>
|
||||
<p>ou
|
||||
Router(config)# interface Loopback 1
|
||||
Router(config-if)# ip address <em>rid</em> 255.255.255.255
|
||||
Router(config-if)# end
|
||||
avec <em>rid</em> de forme adresse IP</p>
|
||||
<h3 id="modification-de-lid">modification de l’ID</h3>
|
||||
<pre><code>Router(conf)# router ospf *10* // même numéro pour tous les routeurs
|
||||
Router(conf-router)# router-id *rid*
|
||||
Router# clear ip ospf proccess
|
||||
</code></pre>
|
||||
<h3 id="déclaration-dun-réseau">déclaration d’un réseau</h3>
|
||||
<pre><code>Router(conf-router)# network *réseau* *masque inverse* area *id réseau*
|
||||
</code></pre>
|
||||
<p>masque inverse = masque réseau - 255.255.255.255 octet par octet</p>
|
||||
<h3 id="désactiver-lenvoie-des-mise-à-jours-de-la-table-de-routage-vers-interface-non-voulue-1">désactiver l’envoie des mise à jours de la table de routage vers interface non voulue</h3>
|
||||
<pre><code>Router(conf-router)# passive-interface *interface*
|
||||
</code></pre>
|
||||
<h3 id="commande-pour-vérifier-configuration-ospf-interface">commande pour vérifier configuration ospf Interface</h3>
|
||||
<pre><code>Router# show ip ospf interface *interface*
|
||||
</code></pre>
|
||||
<h1 id="configuration-dun-dhcp">Configuration d’un DHCP</h1>
|
||||
<h2 id="désactivation-dadresse-ip-à-distribuer">désactivation d’adresse ip à distribuer</h2>
|
||||
<pre><code>Router> enable
|
||||
Router# configure terminal
|
||||
Router(config)# ip dhcp exclude-address *ip début* [*ip fin*]
|
||||
</code></pre>
|
||||
<h2 id="déclaration-de-la-pool">déclaration de la pool</h2>
|
||||
<pre><code>Router> enable
|
||||
Router# configure terminal
|
||||
Router(config)# ip dhcp pool *Nom*
|
||||
Router(dhcp-config)# network *reseau* *Masque*
|
||||
Router(dhcp-config)# dns-server *ip_dns*
|
||||
Router(dhcp-config)# default-router *Gateway*
|
||||
</code></pre>
|
||||
<h2 id="déclaration-dun-relay-dhcp">déclaration d’un relay dhcp</h2>
|
||||
<pre><code>Router> enable
|
||||
Router# configure terminal
|
||||
Router(config)# interface {interface}
|
||||
Router(config-if)# ip helper-address {IP DHCP }
|
||||
</code></pre>
|
||||
<h1 id="configuration-acl">Configuration ACL</h1>
|
||||
<h2 id="configuration-dune-acl-numéroté">Configuration d’une ACL numéroté</h2>
|
||||
<pre><code>Router> enable
|
||||
Router# configure terminal
|
||||
Router# access-list *numero* deny *ip adresse* *wilcard mask*
|
||||
Router# access-list *numero* permit any
|
||||
Router(config)# interface {interface}
|
||||
Router(config-if)# ip access-group *numero* out
|
||||
</code></pre>
|
||||
<h2 id="configuration-dune-acl-standard-nommée">Configuration d’une ACL standard nommée</h2>
|
||||
<pre><code>Router> enable
|
||||
Router# configure terminal
|
||||
Router# ip access-list standard *nom de l'acl"
|
||||
Router(config-std-nacl)# permit host *ip host*
|
||||
Router(config-std-nacl)# deny any
|
||||
</code></pre>
|
||||
<h2 id="application-dune-acl-nommée">application d’une ACL nommée</h2>
|
||||
<pre><code>Router> enable
|
||||
Router# configure terminal
|
||||
Router(config)# interface {interface}
|
||||
Router(config-if)# ip access-group *nom de l'acl* {in|out}
|
||||
</code></pre>
|
||||
<h2 id="sécurisation-des-ligne-vty-par-acl">sécurisation des ligne vty par ACL</h2>
|
||||
<pre><code>Router> enable
|
||||
Router# configure terminal
|
||||
Router(config)# access-list *numero* permit host *ip adresse*
|
||||
Router(config)# line vty {0} [n]
|
||||
Router(config-line)# access-class *numero* in
|
||||
</code></pre>
|
||||
<h1 id="configuration-du-nat">Configuration du NAT</h1>
|
||||
<h2 id="définition-dune-acl-pour-qui-a-le-droit-de-sortir-avec-le-nat">définition d’une ACL pour qui a le droit de sortir avec le NAT</h2>
|
||||
<pre><code>Router(config)# access-list *numero* permit *network* *wilcard*
|
||||
</code></pre>
|
||||
<h2 id="configuration-de-la-pool-dip-publique">configuration de la pool d’ip publique</h2>
|
||||
<pre><code>Router(config)# ip nat pool *Nom* *ip start* *ip end* netmask *masque*
|
||||
</code></pre>
|
||||
<h2 id="affectation-de-lacl-a-la-parti-locale-du-réseau-nat-dynamique">affectation de l’acl a la parti locale du réseau NAT dynamique</h2>
|
||||
<pre><code>Router(config)# ip nat inside source list *numero acl* pool *nom de la pool*
|
||||
</code></pre>
|
||||
<h2 id="nat-statique">NAT statique</h2>
|
||||
<pre><code>Router(config)# ip nat inside source *ip locale* *ip publique*
|
||||
</code></pre>
|
||||
<h2 id="déclaration-lien-inside">Déclaration lien inside</h2>
|
||||
<h2 id="déclaration-lien-ouside">Déclaration lien ouside</h2>
|
||||
<div class="edit-meta">
|
||||
Last updated on 22 Jan 2025
|
||||
|
||||
|
||||
<br>
|
||||
Published on 22 Jan 2025
|
||||
<br></div><nav class="pagination"><a class="nav nav-prev" href="/tutoriel/" title="Tutoriels"><i class="fas fa-arrow-left" aria-hidden="true"></i> Prev - Tutoriels</a>
|
||||
|
||||
</nav><footer><p class="powered">Powered by <a href="https://gohugo.io">Hugo</a>. Theme by <a href="https://themes.gohugo.io/hugo-theme-techdoc/">TechDoc</a>. Designed by <a href="https://github.com/thingsym/hugo-theme-techdoc">Thingsym</a>.</p>
|
||||
</footer>
|
||||
</main>
|
||||
<div class="sidebar">
|
||||
|
||||
<nav class="slide-menu">
|
||||
<ul>
|
||||
<li class=""><a href="/">Home</a></li>
|
||||
|
||||
<li class="parent has-sub-menu"><a href="/tutoriel/">Tutoriels<span class="mark opened">-</span></a>
|
||||
|
||||
<ul class="sub-menu">
|
||||
<li class="active"><a href="/tutoriel/cisco/">Cisco</a></li>
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
|
||||
|
||||
<div class="sidebar-footer"></div>
|
||||
</div>
|
||||
|
||||
</div><a href="#" id="backtothetop-fixed" class="backtothetop"
|
||||
data-backtothetop-duration="600"
|
||||
data-backtothetop-easing="easeOutQuart"
|
||||
data-backtothetop-fixed-fadeIn="1000"
|
||||
data-backtothetop-fixed-fadeOut="1000"
|
||||
data-backtothetop-fixed-bottom="10"
|
||||
data-backtothetop-fixed-right="20">
|
||||
<span class="fa-layers fa-fw">
|
||||
<i class="fas fa-circle"></i>
|
||||
<i class="fas fa-arrow-circle-up"></i>
|
||||
</span></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,91 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="fr-fr">
|
||||
<head><meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<title>Tutoriels - Aide pour les TSSR</title>
|
||||
<meta name="generator" content="Hugo 0.141.0">
|
||||
<link href="//index.xml" rel="alternate" type="application/rss+xml">
|
||||
<link rel="canonical" href="/tutoriel/">
|
||||
<link rel="stylesheet" href="/css/theme.min.css">
|
||||
<link rel="stylesheet" href="/css/chroma.min.css">
|
||||
<script defer src="//js/fontawesome6/all.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery.easing@1.4.1/jquery.easing.min.js" integrity="sha256-H3cjtrm/ztDeuhCN9I4yh4iN2Ybx/y1RM7rMmAesA0k=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js" integrity="sha256-4XodgW4TwIJuDtf+v6vDJ39FVxI0veC/kSCCmnFp7ck=" crossorigin="anonymous"></script>
|
||||
<script src="/js/bundle.js"></script><style>
|
||||
:root {}
|
||||
</style>
|
||||
<meta property="og:url" content="/tutoriel/">
|
||||
<meta property="og:site_name" content="Aide pour les TSSR">
|
||||
<meta property="og:title" content="Tutoriels">
|
||||
<meta property="og:locale" content="fr_fr">
|
||||
<meta property="og:type" content="website">
|
||||
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:title" content="Tutoriels">
|
||||
|
||||
<meta itemprop="name" content="Tutoriels">
|
||||
<meta itemprop="datePublished" content="2025-01-22T12:04:10+01:00">
|
||||
<meta itemprop="dateModified" content="2025-01-22T12:04:10+01:00"></head>
|
||||
<body><div class="container"><header>
|
||||
<h1>Aide pour les TSSR</h1><span class="version">Version 1.0.0</span>
|
||||
</header>
|
||||
<div class="global-menu">
|
||||
<nav>
|
||||
<ul>
|
||||
<li id="Accueil" class=""><a href="/"><i class='fa fa-heart'></i> Accueil</a></li>
|
||||
<li id="twitter" class="twitter-menu-item"><a href="https://twitter.com/thingsym"><b>pre!</b> Twitter <b>post!</b></a></li>
|
||||
<li class=""><a href="/about/">About</a></li></ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div class="content-container">
|
||||
<main><h1>Tutoriels</h1><div class="edit-meta">
|
||||
Last updated on 22 Jan 2025
|
||||
|
||||
|
||||
<br>
|
||||
Published on 22 Jan 2025
|
||||
<br></div><nav class="pagination"><a class="nav nav-prev" href="/" title="Accueil"><i class="fas fa-arrow-left" aria-hidden="true"></i> Prev - Accueil</a>
|
||||
<a class="nav nav-next" href="/tutoriel/cisco/" title="Cisco">Next - Cisco <i class="fas fa-arrow-right" aria-hidden="true"></i></a>
|
||||
</nav><footer><p class="powered">Powered by <a href="https://gohugo.io">Hugo</a>. Theme by <a href="https://themes.gohugo.io/hugo-theme-techdoc/">TechDoc</a>. Designed by <a href="https://github.com/thingsym/hugo-theme-techdoc">Thingsym</a>.</p>
|
||||
</footer>
|
||||
</main>
|
||||
<div class="sidebar">
|
||||
|
||||
<nav class="slide-menu">
|
||||
<ul>
|
||||
<li class=""><a href="/">Home</a></li>
|
||||
|
||||
<li class=" has-sub-menu"><a href="/tutoriel/">Tutoriels<span class="mark closed">+</span></a>
|
||||
|
||||
<ul class="sub-menu">
|
||||
<li class=""><a href="/tutoriel/cisco/">Cisco</a></li>
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
|
||||
|
||||
<div class="sidebar-footer"></div>
|
||||
</div>
|
||||
|
||||
</div><a href="#" id="backtothetop-fixed" class="backtothetop"
|
||||
data-backtothetop-duration="600"
|
||||
data-backtothetop-easing="easeOutQuart"
|
||||
data-backtothetop-fixed-fadeIn="1000"
|
||||
data-backtothetop-fixed-fadeOut="1000"
|
||||
data-backtothetop-fixed-bottom="10"
|
||||
data-backtothetop-fixed-right="20">
|
||||
<span class="fa-layers fa-fw">
|
||||
<i class="fas fa-circle"></i>
|
||||
<i class="fas fa-arrow-circle-up"></i>
|
||||
</span></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,19 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Tutoriels on Aide pour les TSSR</title>
|
||||
<link>/tutoriel/</link>
|
||||
<description>Recent content in Tutoriels on Aide pour les TSSR</description>
|
||||
<generator>Hugo</generator>
|
||||
<language>fr-fr</language>
|
||||
<lastBuildDate>Wed, 22 Jan 2025 12:04:10 +0100</lastBuildDate>
|
||||
<atom:link href="/tutoriel/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Cisco</title>
|
||||
<link>/tutoriel/cisco/</link>
|
||||
<pubDate>Wed, 22 Jan 2025 12:04:10 +0100</pubDate>
|
||||
<guid>/tutoriel/cisco/</guid>
|
||||
<description><h1 id="configuration-de-base">Configuration de base</h1>
<h2 id="nommer-léquipement">nommer l&rsquo;équipement</h2>
<pre><code>Switch&gt; enable
Switch# configure terminal
Switch(conf)# hostname Host
</code></pre>
<h2 id="protéger-laccès-console">protéger l&rsquo;accès console</h2>
<pre><code>Switch(conf)# line {console|aux|tty|vty} {0-xx} [1-x]
Switch(conf-line)# password *mot de passe*
Switch(conf-line)# login
</code></pre>
<h2 id="mot-de-passe-enable">mot de passe &ldquo;enable&rdquo;</h2>
<pre><code>Switch(conf)# enable {password|secret} *mot de passe*
</code></pre>
<h2 id="activer-le-chiffrement-des-mdp">Activer le chiffrement des mdp</h2>
<pre><code>Switch(conf)# service password-encryption
</code></pre>
<h2 id="configurer-la-svi-switch-virtual-interface">Configurer la SVI (Switch Virtual Interface)</h2>
<pre><code>Switch(conf)# interface vlan1
Switch(conf-if)# ip address A.B.C.D M1.M2.M3.M4
Switch(conf-if)# no shutdown
</code></pre>
<h2 id="mettre-en-place-une-passerelle-par-défaut-sur-un-switch">mettre en place une passerelle par défaut sur un switch</h2>
<pre><code>Switch(conf)# ip default-gateway A.B.C.D
</code></pre>
<h2 id="sauvegarde-de-la-configuation-en-cours-vers-démarrage">sauvegarde de la configuation en cours vers démarrage</h2>
<pre><code>Switch# copy running-config startup-config
</code></pre>
<p>ou</p></description>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
|
@ -1,84 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="fr-fr">
|
||||
<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<title>404 Page not found - Aide pour les TSSR</title>
|
||||
<meta name="generator" content="Hugo 0.141.0">
|
||||
<link href="//localhost:1313//index.xml" rel="alternate" type="application/rss+xml">
|
||||
<link rel="canonical" href="//localhost:1313/404.html">
|
||||
<link rel="stylesheet" href="//localhost:1313/css/theme.min.css">
|
||||
<link rel="stylesheet" href="//localhost:1313/css/chroma.min.css">
|
||||
<script defer src="//localhost:1313//js/fontawesome6/all.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery.easing@1.4.1/jquery.easing.min.js" integrity="sha256-H3cjtrm/ztDeuhCN9I4yh4iN2Ybx/y1RM7rMmAesA0k=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js" integrity="sha256-4XodgW4TwIJuDtf+v6vDJ39FVxI0veC/kSCCmnFp7ck=" crossorigin="anonymous"></script>
|
||||
<script src="//localhost:1313/js/bundle.js"></script><style>
|
||||
:root {}
|
||||
</style>
|
||||
<meta property="og:url" content="//localhost:1313/404.html">
|
||||
<meta property="og:site_name" content="Aide pour les TSSR">
|
||||
<meta property="og:title" content="404 Page not found">
|
||||
<meta property="og:locale" content="fr_fr">
|
||||
<meta property="og:type" content="website">
|
||||
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:title" content="404 Page not found">
|
||||
|
||||
<meta itemprop="name" content="404 Page not found"></head>
|
||||
<body>
|
||||
|
||||
<div class="container"><header>
|
||||
<h1>Aide pour les TSSR</h1><span class="version">Version 1.0.0</span>
|
||||
</header>
|
||||
<div class="global-menu">
|
||||
<nav>
|
||||
<ul>
|
||||
<li id="Accueil" class=""><a href="/"><i class='fa fa-heart'></i> Accueil</a></li>
|
||||
<li class=""><a href="/about/">About</a></li></ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div class="content-container">
|
||||
<main><h1>404 Not Found</h1><footer><p class="powered">Powered by <a href="https://gohugo.io">Hugo</a>. Theme by <a href="https://themes.gohugo.io/hugo-theme-techdoc/">TechDoc</a>. Designed by <a href="https://github.com/thingsym/hugo-theme-techdoc">Thingsym</a>.</p>
|
||||
</footer>
|
||||
</main>
|
||||
<div class="sidebar">
|
||||
|
||||
<nav class="slide-menu">
|
||||
<ul>
|
||||
<li class=""><a href="//localhost:1313/">Home</a></li>
|
||||
|
||||
<li class=" has-sub-menu"><a href="//localhost:1313/cisco/">Cisco<span class="mark closed">+</span></a>
|
||||
|
||||
<ul class="sub-menu">
|
||||
<li class=""><a href="//localhost:1313/cisco/commande-g%C3%A9n%C3%A9rale/">Commande Générale</a></li>
|
||||
<li class=""><a href="//localhost:1313/cisco/switch/">Switch</a></li>
|
||||
<li class=""><a href="//localhost:1313/cisco/routeur/">Routeur</a></li>
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
|
||||
|
||||
<div class="sidebar-footer"></div>
|
||||
</div>
|
||||
|
||||
</div><a href="#" id="backtothetop-fixed" class="backtothetop"
|
||||
data-backtothetop-duration="600"
|
||||
data-backtothetop-easing="easeOutQuart"
|
||||
data-backtothetop-fixed-fadeIn="1000"
|
||||
data-backtothetop-fixed-fadeOut="1000"
|
||||
data-backtothetop-fixed-bottom="10"
|
||||
data-backtothetop-fixed-right="20">
|
||||
<span class="fa-layers fa-fw">
|
||||
<i class="fas fa-circle"></i>
|
||||
<i class="fas fa-arrow-circle-up"></i>
|
||||
</span></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,101 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="fr-fr">
|
||||
<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<title>About - Aide pour les TSSR</title>
|
||||
<meta name="generator" content="Hugo 0.141.0">
|
||||
<link href="//localhost:1313//index.xml" rel="alternate" type="application/rss+xml">
|
||||
<link rel="canonical" href="//localhost:1313/about/">
|
||||
<link rel="stylesheet" href="//localhost:1313/css/theme.min.css">
|
||||
<link rel="stylesheet" href="//localhost:1313/css/chroma.min.css">
|
||||
<script defer src="//localhost:1313//js/fontawesome6/all.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery.easing@1.4.1/jquery.easing.min.js" integrity="sha256-H3cjtrm/ztDeuhCN9I4yh4iN2Ybx/y1RM7rMmAesA0k=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js" integrity="sha256-4XodgW4TwIJuDtf+v6vDJ39FVxI0veC/kSCCmnFp7ck=" crossorigin="anonymous"></script>
|
||||
<script src="//localhost:1313/js/bundle.js"></script><style>
|
||||
:root {}
|
||||
</style>
|
||||
<meta property="og:url" content="//localhost:1313/about/">
|
||||
<meta property="og:site_name" content="Aide pour les TSSR">
|
||||
<meta property="og:title" content="About">
|
||||
<meta property="og:description" content="About du site">
|
||||
<meta property="og:locale" content="fr_fr">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="article:published_time" content="2025-01-22T13:14:15+01:00">
|
||||
<meta property="article:modified_time" content="2025-01-22T13:14:15+01:00">
|
||||
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:title" content="About">
|
||||
<meta name="twitter:description" content="About du site">
|
||||
|
||||
<meta itemprop="name" content="About">
|
||||
<meta itemprop="description" content="About du site">
|
||||
<meta itemprop="datePublished" content="2025-01-22T13:14:15+01:00">
|
||||
<meta itemprop="dateModified" content="2025-01-22T13:14:15+01:00">
|
||||
<meta itemprop="wordCount" content="3"></head>
|
||||
<body>
|
||||
|
||||
<div class="container"><header>
|
||||
<h1>Aide pour les TSSR</h1><span class="version">Version 1.0.0</span>
|
||||
</header>
|
||||
<div class="global-menu">
|
||||
<nav>
|
||||
<ul>
|
||||
<li id="Accueil" class=""><a href="/"><i class='fa fa-heart'></i> Accueil</a></li>
|
||||
<li class=""><a href="/about/">About</a></li></ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div class="content-container">
|
||||
<main><h1>About</h1>
|
||||
<p>About du site</p>
|
||||
<div class="edit-meta">
|
||||
Last updated on 22 Jan 2025
|
||||
|
||||
|
||||
<br>
|
||||
Published on 22 Jan 2025
|
||||
<br></div><nav class="pagination"><a class="nav nav-next" href="//localhost:1313/cisco/" title="Cisco">Next - Cisco <i class="fas fa-arrow-right" aria-hidden="true"></i></a>
|
||||
</nav><footer><p class="powered">Powered by <a href="https://gohugo.io">Hugo</a>. Theme by <a href="https://themes.gohugo.io/hugo-theme-techdoc/">TechDoc</a>. Designed by <a href="https://github.com/thingsym/hugo-theme-techdoc">Thingsym</a>.</p>
|
||||
</footer>
|
||||
</main>
|
||||
<div class="sidebar">
|
||||
|
||||
<nav class="slide-menu">
|
||||
<ul>
|
||||
<li class=""><a href="//localhost:1313/">Home</a></li>
|
||||
|
||||
<li class=" has-sub-menu"><a href="//localhost:1313/cisco/">Cisco<span class="mark closed">+</span></a>
|
||||
|
||||
<ul class="sub-menu">
|
||||
<li class=""><a href="//localhost:1313/cisco/commande-g%C3%A9n%C3%A9rale/">Commande Générale</a></li>
|
||||
<li class=""><a href="//localhost:1313/cisco/switch/">Switch</a></li>
|
||||
<li class=""><a href="//localhost:1313/cisco/routeur/">Routeur</a></li>
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
|
||||
|
||||
<div class="sidebar-footer"></div>
|
||||
</div>
|
||||
|
||||
</div><a href="#" id="backtothetop-fixed" class="backtothetop"
|
||||
data-backtothetop-duration="600"
|
||||
data-backtothetop-easing="easeOutQuart"
|
||||
data-backtothetop-fixed-fadeIn="1000"
|
||||
data-backtothetop-fixed-fadeOut="1000"
|
||||
data-backtothetop-fixed-bottom="10"
|
||||
data-backtothetop-fixed-right="20">
|
||||
<span class="fa-layers fa-fw">
|
||||
<i class="fas fa-circle"></i>
|
||||
<i class="fas fa-arrow-circle-up"></i>
|
||||
</span></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,87 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="fr-fr">
|
||||
<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<title>Categories - Aide pour les TSSR</title>
|
||||
<meta name="generator" content="Hugo 0.141.0">
|
||||
<link href="//localhost:1313//index.xml" rel="alternate" type="application/rss+xml">
|
||||
<link rel="canonical" href="//localhost:1313/categories/">
|
||||
<link rel="stylesheet" href="//localhost:1313/css/theme.min.css">
|
||||
<link rel="stylesheet" href="//localhost:1313/css/chroma.min.css">
|
||||
<script defer src="//localhost:1313//js/fontawesome6/all.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery.easing@1.4.1/jquery.easing.min.js" integrity="sha256-H3cjtrm/ztDeuhCN9I4yh4iN2Ybx/y1RM7rMmAesA0k=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js" integrity="sha256-4XodgW4TwIJuDtf+v6vDJ39FVxI0veC/kSCCmnFp7ck=" crossorigin="anonymous"></script>
|
||||
<script src="//localhost:1313/js/bundle.js"></script><style>
|
||||
:root {}
|
||||
</style>
|
||||
<meta property="og:url" content="//localhost:1313/categories/">
|
||||
<meta property="og:site_name" content="Aide pour les TSSR">
|
||||
<meta property="og:title" content="Categories">
|
||||
<meta property="og:locale" content="fr_fr">
|
||||
<meta property="og:type" content="website">
|
||||
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:title" content="Categories">
|
||||
|
||||
<meta itemprop="name" content="Categories"></head>
|
||||
<body>
|
||||
|
||||
<div class="container"><header>
|
||||
<h1>Aide pour les TSSR</h1><span class="version">Version 1.0.0</span>
|
||||
</header>
|
||||
<div class="global-menu">
|
||||
<nav>
|
||||
<ul>
|
||||
<li id="Accueil" class=""><a href="/"><i class='fa fa-heart'></i> Accueil</a></li>
|
||||
<li class=""><a href="/about/">About</a></li></ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div class="content-container">
|
||||
<main><h1>Categories</h1><div class="edit-meta">
|
||||
|
||||
<br></div><nav class="pagination"><a class="nav nav-next" href="//localhost:1313/cisco/" title="Cisco">Next - Cisco <i class="fas fa-arrow-right" aria-hidden="true"></i></a>
|
||||
</nav><footer><p class="powered">Powered by <a href="https://gohugo.io">Hugo</a>. Theme by <a href="https://themes.gohugo.io/hugo-theme-techdoc/">TechDoc</a>. Designed by <a href="https://github.com/thingsym/hugo-theme-techdoc">Thingsym</a>.</p>
|
||||
</footer>
|
||||
</main>
|
||||
<div class="sidebar">
|
||||
|
||||
<nav class="slide-menu">
|
||||
<ul>
|
||||
<li class=""><a href="//localhost:1313/">Home</a></li>
|
||||
|
||||
<li class=" has-sub-menu"><a href="//localhost:1313/cisco/">Cisco<span class="mark closed">+</span></a>
|
||||
|
||||
<ul class="sub-menu">
|
||||
<li class=""><a href="//localhost:1313/cisco/commande-g%C3%A9n%C3%A9rale/">Commande Générale</a></li>
|
||||
<li class=""><a href="//localhost:1313/cisco/switch/">Switch</a></li>
|
||||
<li class=""><a href="//localhost:1313/cisco/routeur/">Routeur</a></li>
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
|
||||
|
||||
<div class="sidebar-footer"></div>
|
||||
</div>
|
||||
|
||||
</div><a href="#" id="backtothetop-fixed" class="backtothetop"
|
||||
data-backtothetop-duration="600"
|
||||
data-backtothetop-easing="easeOutQuart"
|
||||
data-backtothetop-fixed-fadeIn="1000"
|
||||
data-backtothetop-fixed-fadeOut="1000"
|
||||
data-backtothetop-fixed-bottom="10"
|
||||
data-backtothetop-fixed-right="20">
|
||||
<span class="fa-layers fa-fw">
|
||||
<i class="fas fa-circle"></i>
|
||||
<i class="fas fa-arrow-circle-up"></i>
|
||||
</span></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,11 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Categories on Aide pour les TSSR</title>
|
||||
<link>//localhost:1313/categories/</link>
|
||||
<description>Recent content in Categories on Aide pour les TSSR</description>
|
||||
<generator>Hugo</generator>
|
||||
<language>fr-fr</language>
|
||||
<atom:link href="//localhost:1313/categories/index.xml" rel="self" type="application/rss+xml" />
|
||||
</channel>
|
||||
</rss>
|
|
@ -1,166 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="fr-fr">
|
||||
<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<title>Commande Générale - Aide pour les TSSR</title>
|
||||
<meta name="description" content="Commande utile que l'équipement soit un switch ou un routeur">
|
||||
<meta name="generator" content="Hugo 0.141.0">
|
||||
<link href="//localhost:1313//index.xml" rel="alternate" type="application/rss+xml">
|
||||
<link rel="canonical" href="//localhost:1313/cisco/commande-g%C3%A9n%C3%A9rale/">
|
||||
<link rel="stylesheet" href="//localhost:1313/css/theme.min.css">
|
||||
<link rel="stylesheet" href="//localhost:1313/css/chroma.min.css">
|
||||
<script defer src="//localhost:1313//js/fontawesome6/all.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery.easing@1.4.1/jquery.easing.min.js" integrity="sha256-H3cjtrm/ztDeuhCN9I4yh4iN2Ybx/y1RM7rMmAesA0k=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js" integrity="sha256-4XodgW4TwIJuDtf+v6vDJ39FVxI0veC/kSCCmnFp7ck=" crossorigin="anonymous"></script>
|
||||
<script src="//localhost:1313/js/bundle.js"></script><style>
|
||||
:root {}
|
||||
</style>
|
||||
<meta property="og:url" content="//localhost:1313/cisco/commande-g%C3%A9n%C3%A9rale/">
|
||||
<meta property="og:site_name" content="Aide pour les TSSR">
|
||||
<meta property="og:title" content="Commande Générale">
|
||||
<meta property="og:description" content="Commande utile que l'équipement soit un switch ou un routeur">
|
||||
<meta property="og:locale" content="fr_fr">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="article:section" content="cisco">
|
||||
<meta property="article:published_time" content="2025-01-24T00:00:00+00:00">
|
||||
<meta property="article:modified_time" content="2025-01-24T00:00:00+00:00">
|
||||
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:title" content="Commande Générale">
|
||||
<meta name="twitter:description" content="Commande utile que l'équipement soit un switch ou un routeur">
|
||||
|
||||
<meta itemprop="name" content="Commande Générale">
|
||||
<meta itemprop="description" content="Commande utile que l'équipement soit un switch ou un routeur">
|
||||
<meta itemprop="datePublished" content="2025-01-24T00:00:00+00:00">
|
||||
<meta itemprop="dateModified" content="2025-01-24T00:00:00+00:00">
|
||||
<meta itemprop="wordCount" content="188"></head>
|
||||
<body>
|
||||
|
||||
<div class="container"><header>
|
||||
<h1>Aide pour les TSSR</h1><span class="version">Version 1.0.0</span>
|
||||
</header>
|
||||
<div class="global-menu">
|
||||
<nav>
|
||||
<ul>
|
||||
<li id="Accueil" class=""><a href="/"><i class='fa fa-heart'></i> Accueil</a></li>
|
||||
<li class=""><a href="/about/">About</a></li></ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div class="content-container">
|
||||
<main><h1>Commande Générale</h1>
|
||||
<h2 id="nommer-léquipement">nommer l’équipement</h2>
|
||||
<pre><code>Switch> enable
|
||||
Switch# configure terminal
|
||||
Switch(conf)# hostname Host
|
||||
</code></pre>
|
||||
<h2 id="protéger-laccès-console">protéger l’accès console</h2>
|
||||
<pre><code>Switch(conf)# line {console|aux|tty|vty} {0-xx} [1-x]
|
||||
Switch(conf-line)# password *mot de passe*
|
||||
Switch(conf-line)# login
|
||||
</code></pre>
|
||||
<h2 id="mot-de-passe-enable">mot de passe “enable”</h2>
|
||||
<pre><code>Switch(conf)# enable {password|secret} *mot de passe*
|
||||
</code></pre>
|
||||
<h2 id="activer-le-chiffrement-des-mdp">Activer le chiffrement des mdp</h2>
|
||||
<pre><code>Switch(conf)# service password-encryption
|
||||
</code></pre>
|
||||
<h2 id="sauvegarde-de-la-configuation-en-cours-vers-démarrage">sauvegarde de la configuation en cours vers démarrage</h2>
|
||||
<pre><code>Switch# copy running-config startup-config
|
||||
</code></pre>
|
||||
<p>ou
|
||||
Switch# write</p>
|
||||
<h2 id="désactivation-de-la-recherche-dns-dans-linterface">désactivation de la recherche DNS dans l’interface</h2>
|
||||
<pre><code>Switch(conf)# no ip domain-lookup
|
||||
</code></pre>
|
||||
<h2 id="voir-la-configuration-en-cours">Voir la configuration en cours</h2>
|
||||
<pre><code>Switch# Show running-config
|
||||
</code></pre>
|
||||
<h2 id="voir-la-configuration-du-fichier-sauvegarde-sur-la-nvram">Voir la configuration du fichier sauvegarde sur la NVRAM</h2>
|
||||
<pre><code>Switch# Show startup-config
|
||||
</code></pre>
|
||||
<h1 id="configuration-ssh">Configuration SSH</h1>
|
||||
<h2 id="prérequi">prérequi</h2>
|
||||
<ul>
|
||||
<li>renomer l’équipement</li>
|
||||
<li>mettre mot de passe “enable”</li>
|
||||
</ul>
|
||||
<h2 id="définir-un-nom-de-domain">définir un nom de domain</h2>
|
||||
<pre><code>Switch(conf)# ip domain-name *nom-de-domaine*
|
||||
</code></pre>
|
||||
<h2 id="activer-la-version-2-de-ssh">activer la version 2 de SSH</h2>
|
||||
<pre><code>Switch(conf)# ip ssh version 2
|
||||
</code></pre>
|
||||
<h2 id="générer-clés-ssh">générer clés ssh</h2>
|
||||
<pre><code>Switch(conf)# crypto key generate rsa general-keys modulus *1024*
|
||||
</code></pre>
|
||||
<h2 id="créer-un-utilisateur-local">créer un utilisateur local</h2>
|
||||
<pre><code>Switch(conf)# username *login* {secret|password} *mot-de-passe*
|
||||
</code></pre>
|
||||
<h2 id="ajout-dun-time-out">Ajout d’un time out</h2>
|
||||
<pre><code>Switch(conf)# ip ssh time-out {nbsec}
|
||||
</code></pre>
|
||||
<h2 id="ajout-dun-nombre-de-tentative">ajout d’un nombre de tentative</h2>
|
||||
<pre><code>Switch(conf)# ip ssh authentication-retries {nb tentative}
|
||||
</code></pre>
|
||||
<h2 id="configuration-du-maximum-de-conenxion-simultanné">configuration du maximum de conenxion simultanné</h2>
|
||||
<pre><code>Switch(conf)# ip ssh maxstartups {2-128}
|
||||
</code></pre>
|
||||
<h2 id="configurer-ligne-vty">configurer ligne vty</h2>
|
||||
<pre><code>Switch(conf)# line vty 0 15
|
||||
Switch(conf-line)# login local
|
||||
Switch(conf-line)# transport input ssh
|
||||
Switch(conf-line)# no password
|
||||
</code></pre>
|
||||
<div class="edit-meta">
|
||||
Last updated on 24 Jan 2025
|
||||
|
||||
|
||||
<br>
|
||||
Published on 24 Jan 2025
|
||||
<br></div><nav class="pagination"><a class="nav nav-prev" href="//localhost:1313/cisco/" title="Cisco"><i class="fas fa-arrow-left" aria-hidden="true"></i> Prev - Cisco</a>
|
||||
<a class="nav nav-next" href="//localhost:1313/cisco/switch/" title="Switch">Next - Switch <i class="fas fa-arrow-right" aria-hidden="true"></i></a>
|
||||
</nav><footer><p class="powered">Powered by <a href="https://gohugo.io">Hugo</a>. Theme by <a href="https://themes.gohugo.io/hugo-theme-techdoc/">TechDoc</a>. Designed by <a href="https://github.com/thingsym/hugo-theme-techdoc">Thingsym</a>.</p>
|
||||
</footer>
|
||||
</main>
|
||||
<div class="sidebar">
|
||||
|
||||
<nav class="slide-menu">
|
||||
<ul>
|
||||
<li class=""><a href="//localhost:1313/">Home</a></li>
|
||||
|
||||
<li class="parent has-sub-menu"><a href="//localhost:1313/cisco/">Cisco<span class="mark opened">-</span></a>
|
||||
|
||||
<ul class="sub-menu">
|
||||
<li class="active"><a href="//localhost:1313/cisco/commande-g%C3%A9n%C3%A9rale/">Commande Générale</a></li>
|
||||
<li class=""><a href="//localhost:1313/cisco/switch/">Switch</a></li>
|
||||
<li class=""><a href="//localhost:1313/cisco/routeur/">Routeur</a></li>
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
|
||||
|
||||
<div class="sidebar-footer"></div>
|
||||
</div>
|
||||
|
||||
</div><a href="#" id="backtothetop-fixed" class="backtothetop"
|
||||
data-backtothetop-duration="600"
|
||||
data-backtothetop-easing="easeOutQuart"
|
||||
data-backtothetop-fixed-fadeIn="1000"
|
||||
data-backtothetop-fixed-fadeOut="1000"
|
||||
data-backtothetop-fixed-bottom="10"
|
||||
data-backtothetop-fixed-right="20">
|
||||
<span class="fa-layers fa-fw">
|
||||
<i class="fas fa-circle"></i>
|
||||
<i class="fas fa-arrow-circle-up"></i>
|
||||
</span></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,110 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="fr-fr">
|
||||
<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<title>Cisco - Aide pour les TSSR</title>
|
||||
<meta name="generator" content="Hugo 0.141.0">
|
||||
<link href="//localhost:1313//index.xml" rel="alternate" type="application/rss+xml">
|
||||
<link rel="canonical" href="//localhost:1313/cisco/">
|
||||
<link rel="stylesheet" href="//localhost:1313/css/theme.min.css">
|
||||
<link rel="stylesheet" href="//localhost:1313/css/chroma.min.css">
|
||||
<script defer src="//localhost:1313//js/fontawesome6/all.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery.easing@1.4.1/jquery.easing.min.js" integrity="sha256-H3cjtrm/ztDeuhCN9I4yh4iN2Ybx/y1RM7rMmAesA0k=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js" integrity="sha256-4XodgW4TwIJuDtf+v6vDJ39FVxI0veC/kSCCmnFp7ck=" crossorigin="anonymous"></script>
|
||||
<script src="//localhost:1313/js/bundle.js"></script><style>
|
||||
:root {}
|
||||
</style>
|
||||
<meta property="og:url" content="//localhost:1313/cisco/">
|
||||
<meta property="og:site_name" content="Aide pour les TSSR">
|
||||
<meta property="og:title" content="Cisco">
|
||||
<meta property="og:description" content="Commande Générale Commande utile que l’équipement soit un switch ou un routeur
|
||||
Switch Commande spécifique pour les switchs
|
||||
Routeur Commande spécifique pour les routeurs">
|
||||
<meta property="og:locale" content="fr_fr">
|
||||
<meta property="og:type" content="website">
|
||||
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:title" content="Cisco">
|
||||
<meta name="twitter:description" content="Commande Générale Commande utile que l’équipement soit un switch ou un routeur
|
||||
Switch Commande spécifique pour les switchs
|
||||
Routeur Commande spécifique pour les routeurs">
|
||||
|
||||
<meta itemprop="name" content="Cisco">
|
||||
<meta itemprop="description" content="Commande Générale Commande utile que l’équipement soit un switch ou un routeur
|
||||
Switch Commande spécifique pour les switchs
|
||||
Routeur Commande spécifique pour les routeurs">
|
||||
<meta itemprop="datePublished" content="2025-01-24T00:00:00+00:00">
|
||||
<meta itemprop="dateModified" content="2025-01-24T00:00:00+00:00">
|
||||
<meta itemprop="wordCount" content="24"></head>
|
||||
<body>
|
||||
|
||||
<div class="container"><header>
|
||||
<h1>Aide pour les TSSR</h1><span class="version">Version 1.0.0</span>
|
||||
</header>
|
||||
<div class="global-menu">
|
||||
<nav>
|
||||
<ul>
|
||||
<li id="Accueil" class=""><a href="/"><i class='fa fa-heart'></i> Accueil</a></li>
|
||||
<li class=""><a href="/about/">About</a></li></ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div class="content-container">
|
||||
<main><h1>Cisco</h1><h2 id="commande-généraleciscocommande-générale"><a href="/cisco/commande-g%C3%A9n%C3%A9rale/">Commande Générale</a></h2>
|
||||
<p>Commande utile que l’équipement soit un switch ou un routeur</p>
|
||||
<h2 id="switchciscoswitch"><a href="/cisco/Switch/">Switch</a></h2>
|
||||
<p>Commande spécifique pour les switchs</p>
|
||||
<h2 id="routeurciscorouteur"><a href="/cisco/Routeur">Routeur</a></h2>
|
||||
<p>Commande spécifique pour les routeurs</p>
|
||||
<div class="edit-meta">
|
||||
Last updated on 24 Jan 2025
|
||||
|
||||
|
||||
<br>
|
||||
Published on 24 Jan 2025
|
||||
<br></div><nav class="pagination"><a class="nav nav-prev" href="//localhost:1313/" title="Accueil"><i class="fas fa-arrow-left" aria-hidden="true"></i> Prev - Accueil</a>
|
||||
<a class="nav nav-next" href="//localhost:1313/cisco/commande-g%C3%A9n%C3%A9rale/" title="Commande Générale">Next - Commande Générale <i class="fas fa-arrow-right" aria-hidden="true"></i></a>
|
||||
</nav><footer><p class="powered">Powered by <a href="https://gohugo.io">Hugo</a>. Theme by <a href="https://themes.gohugo.io/hugo-theme-techdoc/">TechDoc</a>. Designed by <a href="https://github.com/thingsym/hugo-theme-techdoc">Thingsym</a>.</p>
|
||||
</footer>
|
||||
</main>
|
||||
<div class="sidebar">
|
||||
|
||||
<nav class="slide-menu">
|
||||
<ul>
|
||||
<li class=""><a href="//localhost:1313/">Home</a></li>
|
||||
|
||||
<li class=" active has-sub-menu"><a href="//localhost:1313/cisco/">Cisco<span class="mark closed">+</span></a>
|
||||
|
||||
<ul class="sub-menu">
|
||||
<li class=""><a href="//localhost:1313/cisco/commande-g%C3%A9n%C3%A9rale/">Commande Générale</a></li>
|
||||
<li class=""><a href="//localhost:1313/cisco/switch/">Switch</a></li>
|
||||
<li class=""><a href="//localhost:1313/cisco/routeur/">Routeur</a></li>
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
|
||||
|
||||
<div class="sidebar-footer"></div>
|
||||
</div>
|
||||
|
||||
</div><a href="#" id="backtothetop-fixed" class="backtothetop"
|
||||
data-backtothetop-duration="600"
|
||||
data-backtothetop-easing="easeOutQuart"
|
||||
data-backtothetop-fixed-fadeIn="1000"
|
||||
data-backtothetop-fixed-fadeOut="1000"
|
||||
data-backtothetop-fixed-bottom="10"
|
||||
data-backtothetop-fixed-right="20">
|
||||
<span class="fa-layers fa-fw">
|
||||
<i class="fas fa-circle"></i>
|
||||
<i class="fas fa-arrow-circle-up"></i>
|
||||
</span></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,33 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Cisco on Aide pour les TSSR</title>
|
||||
<link>//localhost:1313/cisco/</link>
|
||||
<description>Recent content in Cisco on Aide pour les TSSR</description>
|
||||
<generator>Hugo</generator>
|
||||
<language>fr-fr</language>
|
||||
<lastBuildDate>Fri, 24 Jan 2025 00:00:00 +0000</lastBuildDate>
|
||||
<atom:link href="//localhost:1313/cisco/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Commande Générale</title>
|
||||
<link>//localhost:1313/cisco/commande-g%C3%A9n%C3%A9rale/</link>
|
||||
<pubDate>Fri, 24 Jan 2025 00:00:00 +0000</pubDate>
|
||||
<guid>//localhost:1313/cisco/commande-g%C3%A9n%C3%A9rale/</guid>
|
||||
<description><h2 id="nommer-léquipement">nommer l&rsquo;équipement</h2>
<pre><code>Switch&gt; enable
Switch# configure terminal
Switch(conf)# hostname Host
</code></pre>
<h2 id="protéger-laccès-console">protéger l&rsquo;accès console</h2>
<pre><code>Switch(conf)# line {console|aux|tty|vty} {0-xx} [1-x]
Switch(conf-line)# password *mot de passe*
Switch(conf-line)# login
</code></pre>
<h2 id="mot-de-passe-enable">mot de passe &ldquo;enable&rdquo;</h2>
<pre><code>Switch(conf)# enable {password|secret} *mot de passe*
</code></pre>
<h2 id="activer-le-chiffrement-des-mdp">Activer le chiffrement des mdp</h2>
<pre><code>Switch(conf)# service password-encryption
</code></pre>
<h2 id="sauvegarde-de-la-configuation-en-cours-vers-démarrage">sauvegarde de la configuation en cours vers démarrage</h2>
<pre><code>Switch# copy running-config startup-config
</code></pre>
<p>ou
Switch# write</p>
<h2 id="désactivation-de-la-recherche-dns-dans-linterface">désactivation de la recherche DNS dans l&rsquo;interface</h2>
<pre><code>Switch(conf)# no ip domain-lookup
</code></pre>
<h2 id="voir-la-configuration-en-cours">Voir la configuration en cours</h2>
<pre><code>Switch# Show running-config
</code></pre>
<h2 id="voir-la-configuration-du-fichier-sauvegarde-sur-la-nvram">Voir la configuration du fichier sauvegarde sur la NVRAM</h2>
<pre><code>Switch# Show startup-config
</code></pre>
<h1 id="configuration-ssh">Configuration SSH</h1>
<h2 id="prérequi">prérequi</h2>
<ul>
<li>renomer l&rsquo;équipement</li>
<li>mettre mot de passe &ldquo;enable&rdquo;</li>
</ul>
<h2 id="définir-un-nom-de-domain">définir un nom de domain</h2>
<pre><code>Switch(conf)# ip domain-name *nom-de-domaine*
</code></pre>
<h2 id="activer-la-version-2-de-ssh">activer la version 2 de SSH</h2>
<pre><code>Switch(conf)# ip ssh version 2
</code></pre>
<h2 id="générer-clés-ssh">générer clés ssh</h2>
<pre><code>Switch(conf)# crypto key generate rsa general-keys modulus *1024*
</code></pre>
<h2 id="créer-un-utilisateur-local">créer un utilisateur local</h2>
<pre><code>Switch(conf)# username *login* {secret|password} *mot-de-passe*
</code></pre>
<h2 id="ajout-dun-time-out">Ajout d&rsquo;un time out</h2>
<pre><code>Switch(conf)# ip ssh time-out {nbsec}
</code></pre>
<h2 id="ajout-dun-nombre-de-tentative">ajout d&rsquo;un nombre de tentative</h2>
<pre><code>Switch(conf)# ip ssh authentication-retries {nb tentative}
</code></pre>
<h2 id="configuration-du-maximum-de-conenxion-simultanné">configuration du maximum de conenxion simultanné</h2>
<pre><code>Switch(conf)# ip ssh maxstartups {2-128}
</code></pre>
<h2 id="configurer-ligne-vty">configurer ligne vty</h2>
<pre><code>Switch(conf)# line vty 0 15
Switch(conf-line)# login local
Switch(conf-line)# transport input ssh
Switch(conf-line)# no password
</code></pre></description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Switch</title>
|
||||
<link>//localhost:1313/cisco/switch/</link>
|
||||
<pubDate>Fri, 24 Jan 2025 00:00:00 +0000</pubDate>
|
||||
<guid>//localhost:1313/cisco/switch/</guid>
|
||||
<description><h2 id="configurer-la-svi-switch-virtual-interface">Configurer la SVI (Switch Virtual Interface)</h2>
<pre><code>Switch(conf)# interface vlan1
Switch(conf-if)# ip address A.B.C.D M1.M2.M3.M4
Switch(conf-if)# no shutdown
</code></pre>
<h2 id="mettre-en-place-une-passerelle-par-défaut-sur-un-switch">mettre en place une passerelle par défaut sur un switch</h2>
<pre><code>Switch(conf)# ip default-gateway A.B.C.D
</code></pre>
<h1 id="configuration-vlan-sur-un-switch">Configuration Vlan sur un Switch</h1>
<h2 id="définir-un-vlan">Définir un Vlan</h2>
<pre><code>Switch&gt; enable
Switch# configure terminal
Switch(conf)# vlan *numero Vlan*
Switch(conf-vlan)# name *nom*
Switch(conf-vlan)# exit
Switch(conf)#
</code></pre>
<h2 id="rattacher-un-port-à-un-vlan">Rattacher un port à un VLAN</h2>
<pre><code>Switch&gt; enable
Switch# configure terminal
Switch(conf)# interface *interface*
Switch(conf-if)# switchport mode access
Switch(conf-if)# switchport access vlan *numero Vlan*
Switch(conf-if)# exit
Switch(conf)#
</code></pre>
<h2 id="rattacher-un-ensemble-de-ports-à-un-vlan">Rattacher un ensemble de ports à un VLAN</h2>
<pre><code>Switch&gt; enable
Switch# configure terminal
Switch(conf)# interface range *1ère interface* - *dernière interface*
Switch(conf-if)# switchport mode access
Switch(conf-if)# switchport access vlan *numero Vlan*
Switch(conf-if)# exit
Switch(conf)#
</code></pre>
<h2 id="configurer-un-port-en-mode-trunk">Configurer un port en mode TRUNK</h2>
<p>Le mode TRUNK permet a plusieurs vlan de passer par le même port
Switch&gt; enable
Switch# configure terminal
Switch(conf)# interface <em>interface</em>
Switch(conf-if)# switchport mode trunk
Switch(conf-if)# switchport trunk allowed vlan <em>Vlan1</em> [,<em>VLan2</em>]
Switch(conf-if)# exit
Switch(conf)#</p></description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Routeur</title>
|
||||
<link>//localhost:1313/cisco/routeur/</link>
|
||||
<pubDate>Fri, 24 Jan 2025 00:00:00 +0000</pubDate>
|
||||
<guid>//localhost:1313/cisco/routeur/</guid>
|
||||
<description><h2 id="route-statique">Route statique</h2>
<pre><code>Router(conf)# ip route *réseau* *masque* { *adresse ip* | *interface sortie* [ *adresse-ip* ] }
</code></pre>
<p>ou
Router(conf)# ipv6 unicast-routing
Router(conf)# ipv6 route <em>réseau/masque</em> { <em>adresse ip</em> | <em>interface sortie</em> [ <em>adresse-ip</em> ] }</p>
<h2 id="route-par-défaut">Route par défaut</h2>
<pre><code>Router(conf)# ip route 0.0.0.0 0.0.0.0 { *adresse ip* | *interface sortie* [ *adresse-ip* ] }
</code></pre>
<p>ou
Router(conf)#
Router(conf)# ipv6 route <em>::/0</em> { <em>adresse ip</em> | <em>interface sortie</em> [ <em>adresse-ip</em> ] }</p>
<h2 id="inferface-virtuelle-pour-mode-trunk">inferface virtuelle pour mode TRUNK</h2>
<pre><code>Router(config)# interface [interface].[id]
Router(config-if)# encapsulation dot1Q [vlan]
Router(config-if)# ip address *rid* 255.255.255.255
Router(config-if)# no shutdown
</code></pre>
<p>ne pas oublier d&rsquo;allumer l&rsquo;interface générale</p></description>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
|
@ -1,238 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="fr-fr">
|
||||
<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<title>Routeur - Aide pour les TSSR</title>
|
||||
<meta name="description" content="Commande spécifique pour les routeurs">
|
||||
<meta name="generator" content="Hugo 0.141.0">
|
||||
<link href="//localhost:1313//index.xml" rel="alternate" type="application/rss+xml">
|
||||
<link rel="canonical" href="//localhost:1313/cisco/routeur/">
|
||||
<link rel="stylesheet" href="//localhost:1313/css/theme.min.css">
|
||||
<link rel="stylesheet" href="//localhost:1313/css/chroma.min.css">
|
||||
<script defer src="//localhost:1313//js/fontawesome6/all.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery.easing@1.4.1/jquery.easing.min.js" integrity="sha256-H3cjtrm/ztDeuhCN9I4yh4iN2Ybx/y1RM7rMmAesA0k=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js" integrity="sha256-4XodgW4TwIJuDtf+v6vDJ39FVxI0veC/kSCCmnFp7ck=" crossorigin="anonymous"></script>
|
||||
<script src="//localhost:1313/js/bundle.js"></script><style>
|
||||
:root {}
|
||||
</style>
|
||||
<meta property="og:url" content="//localhost:1313/cisco/routeur/">
|
||||
<meta property="og:site_name" content="Aide pour les TSSR">
|
||||
<meta property="og:title" content="Routeur">
|
||||
<meta property="og:description" content="Commande spécifique pour les routeurs">
|
||||
<meta property="og:locale" content="fr_fr">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="article:section" content="cisco">
|
||||
<meta property="article:published_time" content="2025-01-24T00:00:00+00:00">
|
||||
<meta property="article:modified_time" content="2025-01-24T00:00:00+00:00">
|
||||
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:title" content="Routeur">
|
||||
<meta name="twitter:description" content="Commande spécifique pour les routeurs">
|
||||
|
||||
<meta itemprop="name" content="Routeur">
|
||||
<meta itemprop="description" content="Commande spécifique pour les routeurs">
|
||||
<meta itemprop="datePublished" content="2025-01-24T00:00:00+00:00">
|
||||
<meta itemprop="dateModified" content="2025-01-24T00:00:00+00:00">
|
||||
<meta itemprop="wordCount" content="547"></head>
|
||||
<body>
|
||||
|
||||
<div class="container"><header>
|
||||
<h1>Aide pour les TSSR</h1><span class="version">Version 1.0.0</span>
|
||||
</header>
|
||||
<div class="global-menu">
|
||||
<nav>
|
||||
<ul>
|
||||
<li id="Accueil" class=""><a href="/"><i class='fa fa-heart'></i> Accueil</a></li>
|
||||
<li class=""><a href="/about/">About</a></li></ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div class="content-container">
|
||||
<main><h1>Routeur</h1>
|
||||
<h2 id="route-statique">Route statique</h2>
|
||||
<pre><code>Router(conf)# ip route *réseau* *masque* { *adresse ip* | *interface sortie* [ *adresse-ip* ] }
|
||||
</code></pre>
|
||||
<p>ou
|
||||
Router(conf)# ipv6 unicast-routing
|
||||
Router(conf)# ipv6 route <em>réseau/masque</em> { <em>adresse ip</em> | <em>interface sortie</em> [ <em>adresse-ip</em> ] }</p>
|
||||
<h2 id="route-par-défaut">Route par défaut</h2>
|
||||
<pre><code>Router(conf)# ip route 0.0.0.0 0.0.0.0 { *adresse ip* | *interface sortie* [ *adresse-ip* ] }
|
||||
</code></pre>
|
||||
<p>ou
|
||||
Router(conf)#
|
||||
Router(conf)# ipv6 route <em>::/0</em> { <em>adresse ip</em> | <em>interface sortie</em> [ <em>adresse-ip</em> ] }</p>
|
||||
<h2 id="inferface-virtuelle-pour-mode-trunk">inferface virtuelle pour mode TRUNK</h2>
|
||||
<pre><code>Router(config)# interface [interface].[id]
|
||||
Router(config-if)# encapsulation dot1Q [vlan]
|
||||
Router(config-if)# ip address *rid* 255.255.255.255
|
||||
Router(config-if)# no shutdown
|
||||
</code></pre>
|
||||
<p>ne pas oublier d’allumer l’interface générale</p>
|
||||
<h2 id="routage-dynamique-ripv2">Routage dynamique RIPv2</h2>
|
||||
<h3 id="activation-du-routage">activation du routage</h3>
|
||||
<pre><code>Router(conf)# router rip
|
||||
</code></pre>
|
||||
<h3 id="activation-de-la-version-2">activation de la version 2</h3>
|
||||
<pre><code>Router(conf-router)# version 2
|
||||
</code></pre>
|
||||
<h3 id="déclaration-des-réseaux-qui-lui-sont-directement-connecter">déclaration des réseaux qui lui sont directement connecter</h3>
|
||||
<pre><code>Router(conf-router)# network *réseau connue*
|
||||
</code></pre>
|
||||
<h3 id="désactiver-le-résumer-des-routes">désactiver le résumer des routes</h3>
|
||||
<pre><code>Router(conf-router)# no auto-summary
|
||||
</code></pre>
|
||||
<h3 id="désactiver-lenvoie-des-mise-à-jours-de-la-table-de-routage-vers-interface-non-voulue">désactiver l’envoie des mise à jours de la table de routage vers interface non voulue</h3>
|
||||
<pre><code>Router(conf-router)# passive-interface *interface*
|
||||
</code></pre>
|
||||
<h3 id="propagation-route-par-défaut">propagation route par défaut</h3>
|
||||
<p>Obligation d’avoir la route par défaut Configurer sur le routeur
|
||||
Router(conf-router)# default-information originate</p>
|
||||
<h2 id="routage-dynamique-ospf">Routage dynamique OSPF</h2>
|
||||
<h3 id="activation-du-routage-1">activation du routage</h3>
|
||||
<pre><code>Router(conf)# router ospf *10* // même numéro pour tous les routeurs
|
||||
</code></pre>
|
||||
<h3 id="définition-de-lid-du-routeur">définition de l’ID du routeur</h3>
|
||||
<pre><code>Router(conf-router)# router-id *rid*
|
||||
</code></pre>
|
||||
<p>ou
|
||||
Router(config)# interface Loopback 1
|
||||
Router(config-if)# ip address <em>rid</em> 255.255.255.255
|
||||
Router(config-if)# end
|
||||
avec <em>rid</em> de forme adresse IP</p>
|
||||
<h3 id="modification-de-lid">modification de l’ID</h3>
|
||||
<pre><code>Router(conf)# router ospf *10* // même numéro pour tous les routeurs
|
||||
Router(conf-router)# router-id *rid*
|
||||
Router# clear ip ospf proccess
|
||||
</code></pre>
|
||||
<h3 id="déclaration-dun-réseau">déclaration d’un réseau</h3>
|
||||
<pre><code>Router(conf-router)# network *réseau* *masque inverse* area *id réseau*
|
||||
</code></pre>
|
||||
<p>masque inverse = masque réseau - 255.255.255.255 octet par octet</p>
|
||||
<h3 id="désactiver-lenvoie-des-mise-à-jours-de-la-table-de-routage-vers-interface-non-voulue-1">désactiver l’envoie des mise à jours de la table de routage vers interface non voulue</h3>
|
||||
<pre><code>Router(conf-router)# passive-interface *interface*
|
||||
</code></pre>
|
||||
<h3 id="commande-pour-vérifier-configuration-ospf-interface">commande pour vérifier configuration ospf Interface</h3>
|
||||
<pre><code>Router# show ip ospf interface *interface*
|
||||
</code></pre>
|
||||
<h1 id="configuration-dun-dhcp">Configuration d’un DHCP</h1>
|
||||
<h2 id="désactivation-dadresse-ip-à-distribuer">désactivation d’adresse ip à distribuer</h2>
|
||||
<pre><code>Router> enable
|
||||
Router# configure terminal
|
||||
Router(config)# ip dhcp exclude-address *ip début* [*ip fin*]
|
||||
</code></pre>
|
||||
<h2 id="déclaration-de-la-pool">déclaration de la pool</h2>
|
||||
<pre><code>Router> enable
|
||||
Router# configure terminal
|
||||
Router(config)# ip dhcp pool *Nom*
|
||||
Router(dhcp-config)# network *reseau* *Masque*
|
||||
Router(dhcp-config)# dns-server *ip_dns*
|
||||
Router(dhcp-config)# default-router *Gateway*
|
||||
</code></pre>
|
||||
<h2 id="déclaration-dun-relay-dhcp">déclaration d’un relay dhcp</h2>
|
||||
<pre><code>Router> enable
|
||||
Router# configure terminal
|
||||
Router(config)# interface {interface}
|
||||
Router(config-if)# ip helper-address {IP DHCP }
|
||||
</code></pre>
|
||||
<h1 id="configuration-acl">Configuration ACL</h1>
|
||||
<h2 id="configuration-dune-acl-numéroté">Configuration d’une ACL numéroté</h2>
|
||||
<pre><code>Router> enable
|
||||
Router# configure terminal
|
||||
Router# access-list *numero* deny *ip adresse* *wilcard mask*
|
||||
Router# access-list *numero* permit any
|
||||
Router(config)# interface {interface}
|
||||
Router(config-if)# ip access-group *numero* out
|
||||
</code></pre>
|
||||
<h2 id="configuration-dune-acl-standard-nommée">Configuration d’une ACL standard nommée</h2>
|
||||
<pre><code>Router> enable
|
||||
Router# configure terminal
|
||||
Router# ip access-list standard *nom de l'acl"
|
||||
Router(config-std-nacl)# permit host *ip host*
|
||||
Router(config-std-nacl)# deny any
|
||||
</code></pre>
|
||||
<h2 id="application-dune-acl-nommée">application d’une ACL nommée</h2>
|
||||
<pre><code>Router> enable
|
||||
Router# configure terminal
|
||||
Router(config)# interface {interface}
|
||||
Router(config-if)# ip access-group *nom de l'acl* {in|out}
|
||||
</code></pre>
|
||||
<h2 id="sécurisation-des-ligne-vty-par-acl">sécurisation des ligne vty par ACL</h2>
|
||||
<pre><code>Router> enable
|
||||
Router# configure terminal
|
||||
Router(config)# access-list *numero* permit host *ip adresse*
|
||||
Router(config)# line vty {0} [n]
|
||||
Router(config-line)# access-class *numero* in
|
||||
</code></pre>
|
||||
<h1 id="configuration-du-nat">Configuration du NAT</h1>
|
||||
<h2 id="définition-dune-acl-pour-qui-a-le-droit-de-sortir-avec-le-nat">définition d’une ACL pour qui a le droit de sortir avec le NAT</h2>
|
||||
<pre><code>Router(config)# access-list *numero* permit *network* *wilcard*
|
||||
</code></pre>
|
||||
<h2 id="configuration-de-la-pool-dip-publique">configuration de la pool d’ip publique</h2>
|
||||
<pre><code>Router(config)# ip nat pool *Nom* *ip start* *ip end* netmask *masque*
|
||||
</code></pre>
|
||||
<h2 id="affectation-de-lacl-a-la-parti-locale-du-réseau-nat-dynamique">affectation de l’acl a la parti locale du réseau NAT dynamique</h2>
|
||||
<pre><code>Router(config)# ip nat inside source list *numero acl* pool *nom de la pool*
|
||||
</code></pre>
|
||||
<h2 id="nat-statique">NAT statique</h2>
|
||||
<pre><code>Router(config)# ip nat inside source *ip locale* *ip publique*
|
||||
</code></pre>
|
||||
<h2 id="déclaration-lien-inside">Déclaration lien inside</h2>
|
||||
<pre><code>Router(config)# interface *interface coté local*
|
||||
Router(config-if)# ip nat inside
|
||||
</code></pre>
|
||||
<h2 id="déclaration-lien-ouside">Déclaration lien ouside</h2>
|
||||
<pre><code>Router(config)# interface *interface coté externe*
|
||||
Router(config-if)# ip nat outside
|
||||
</code></pre>
|
||||
<div class="edit-meta">
|
||||
Last updated on 24 Jan 2025
|
||||
|
||||
|
||||
<br>
|
||||
Published on 24 Jan 2025
|
||||
<br></div><nav class="pagination"><a class="nav nav-prev" href="//localhost:1313/cisco/switch/" title="Switch"><i class="fas fa-arrow-left" aria-hidden="true"></i> Prev - Switch</a>
|
||||
<a class="nav nav-next" href="//localhost:1313/cisco/commande-g%C3%A9n%C3%A9rale/" title="Commande Générale">Next - Commande Générale <i class="fas fa-arrow-right" aria-hidden="true"></i></a>
|
||||
</nav><footer><p class="powered">Powered by <a href="https://gohugo.io">Hugo</a>. Theme by <a href="https://themes.gohugo.io/hugo-theme-techdoc/">TechDoc</a>. Designed by <a href="https://github.com/thingsym/hugo-theme-techdoc">Thingsym</a>.</p>
|
||||
</footer>
|
||||
</main>
|
||||
<div class="sidebar">
|
||||
|
||||
<nav class="slide-menu">
|
||||
<ul>
|
||||
<li class=""><a href="//localhost:1313/">Home</a></li>
|
||||
|
||||
<li class="parent has-sub-menu"><a href="//localhost:1313/cisco/">Cisco<span class="mark opened">-</span></a>
|
||||
|
||||
<ul class="sub-menu">
|
||||
<li class=""><a href="//localhost:1313/cisco/commande-g%C3%A9n%C3%A9rale/">Commande Générale</a></li>
|
||||
<li class=""><a href="//localhost:1313/cisco/switch/">Switch</a></li>
|
||||
<li class="active"><a href="//localhost:1313/cisco/routeur/">Routeur</a></li>
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
|
||||
|
||||
<div class="sidebar-footer"></div>
|
||||
</div>
|
||||
|
||||
</div><a href="#" id="backtothetop-fixed" class="backtothetop"
|
||||
data-backtothetop-duration="600"
|
||||
data-backtothetop-easing="easeOutQuart"
|
||||
data-backtothetop-fixed-fadeIn="1000"
|
||||
data-backtothetop-fixed-fadeOut="1000"
|
||||
data-backtothetop-fixed-bottom="10"
|
||||
data-backtothetop-fixed-right="20">
|
||||
<span class="fa-layers fa-fw">
|
||||
<i class="fas fa-circle"></i>
|
||||
<i class="fas fa-arrow-circle-up"></i>
|
||||
</span></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,163 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="fr-fr">
|
||||
<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<title>Switch - Aide pour les TSSR</title>
|
||||
<meta name="description" content="Commande spécifique pour les switchs">
|
||||
<meta name="generator" content="Hugo 0.141.0">
|
||||
<link href="//localhost:1313//index.xml" rel="alternate" type="application/rss+xml">
|
||||
<link rel="canonical" href="//localhost:1313/cisco/switch/">
|
||||
<link rel="stylesheet" href="//localhost:1313/css/theme.min.css">
|
||||
<link rel="stylesheet" href="//localhost:1313/css/chroma.min.css">
|
||||
<script defer src="//localhost:1313//js/fontawesome6/all.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery.easing@1.4.1/jquery.easing.min.js" integrity="sha256-H3cjtrm/ztDeuhCN9I4yh4iN2Ybx/y1RM7rMmAesA0k=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js" integrity="sha256-4XodgW4TwIJuDtf+v6vDJ39FVxI0veC/kSCCmnFp7ck=" crossorigin="anonymous"></script>
|
||||
<script src="//localhost:1313/js/bundle.js"></script><style>
|
||||
:root {}
|
||||
</style>
|
||||
<meta property="og:url" content="//localhost:1313/cisco/switch/">
|
||||
<meta property="og:site_name" content="Aide pour les TSSR">
|
||||
<meta property="og:title" content="Switch">
|
||||
<meta property="og:description" content="Commande spécifique pour les switchs">
|
||||
<meta property="og:locale" content="fr_fr">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="article:section" content="cisco">
|
||||
<meta property="article:published_time" content="2025-01-24T00:00:00+00:00">
|
||||
<meta property="article:modified_time" content="2025-01-24T00:00:00+00:00">
|
||||
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:title" content="Switch">
|
||||
<meta name="twitter:description" content="Commande spécifique pour les switchs">
|
||||
|
||||
<meta itemprop="name" content="Switch">
|
||||
<meta itemprop="description" content="Commande spécifique pour les switchs">
|
||||
<meta itemprop="datePublished" content="2025-01-24T00:00:00+00:00">
|
||||
<meta itemprop="dateModified" content="2025-01-24T00:00:00+00:00">
|
||||
<meta itemprop="wordCount" content="224"></head>
|
||||
<body>
|
||||
|
||||
<div class="container"><header>
|
||||
<h1>Aide pour les TSSR</h1><span class="version">Version 1.0.0</span>
|
||||
</header>
|
||||
<div class="global-menu">
|
||||
<nav>
|
||||
<ul>
|
||||
<li id="Accueil" class=""><a href="/"><i class='fa fa-heart'></i> Accueil</a></li>
|
||||
<li class=""><a href="/about/">About</a></li></ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div class="content-container">
|
||||
<main><h1>Switch</h1>
|
||||
<h2 id="configurer-la-svi-switch-virtual-interface">Configurer la SVI (Switch Virtual Interface)</h2>
|
||||
<pre><code>Switch(conf)# interface vlan1
|
||||
Switch(conf-if)# ip address A.B.C.D M1.M2.M3.M4
|
||||
Switch(conf-if)# no shutdown
|
||||
</code></pre>
|
||||
<h2 id="mettre-en-place-une-passerelle-par-défaut-sur-un-switch">mettre en place une passerelle par défaut sur un switch</h2>
|
||||
<pre><code>Switch(conf)# ip default-gateway A.B.C.D
|
||||
</code></pre>
|
||||
<h1 id="configuration-vlan-sur-un-switch">Configuration Vlan sur un Switch</h1>
|
||||
<h2 id="définir-un-vlan">Définir un Vlan</h2>
|
||||
<pre><code>Switch> enable
|
||||
Switch# configure terminal
|
||||
Switch(conf)# vlan *numero Vlan*
|
||||
Switch(conf-vlan)# name *nom*
|
||||
Switch(conf-vlan)# exit
|
||||
Switch(conf)#
|
||||
</code></pre>
|
||||
<h2 id="rattacher-un-port-à-un-vlan">Rattacher un port à un VLAN</h2>
|
||||
<pre><code>Switch> enable
|
||||
Switch# configure terminal
|
||||
Switch(conf)# interface *interface*
|
||||
Switch(conf-if)# switchport mode access
|
||||
Switch(conf-if)# switchport access vlan *numero Vlan*
|
||||
Switch(conf-if)# exit
|
||||
Switch(conf)#
|
||||
</code></pre>
|
||||
<h2 id="rattacher-un-ensemble-de-ports-à-un-vlan">Rattacher un ensemble de ports à un VLAN</h2>
|
||||
<pre><code>Switch> enable
|
||||
Switch# configure terminal
|
||||
Switch(conf)# interface range *1ère interface* - *dernière interface*
|
||||
Switch(conf-if)# switchport mode access
|
||||
Switch(conf-if)# switchport access vlan *numero Vlan*
|
||||
Switch(conf-if)# exit
|
||||
Switch(conf)#
|
||||
</code></pre>
|
||||
<h2 id="configurer-un-port-en-mode-trunk">Configurer un port en mode TRUNK</h2>
|
||||
<p>Le mode TRUNK permet a plusieurs vlan de passer par le même port
|
||||
Switch> enable
|
||||
Switch# configure terminal
|
||||
Switch(conf)# interface <em>interface</em>
|
||||
Switch(conf-if)# switchport mode trunk
|
||||
Switch(conf-if)# switchport trunk allowed vlan <em>Vlan1</em> [,<em>VLan2</em>]
|
||||
Switch(conf-if)# exit
|
||||
Switch(conf)#</p>
|
||||
<h2 id="activation-du-routage-entre-les-vlans-si-switch-niveau-3">activation du routage entre les VLANs si switch niveau 3</h2>
|
||||
<p>attriber des adresse ip au vlan et les déclarer en passerelles dans les hôtes connectés</p>
|
||||
<pre><code>Switch> enable
|
||||
Switch# configure terminal
|
||||
Switch(conf)# ip routing
|
||||
</code></pre>
|
||||
<h1 id="configuration-security-port">Configuration Security port</h1>
|
||||
<pre><code>Switch> enable
|
||||
Switch# configure terminal
|
||||
Switch(conf)# interface *interface*
|
||||
Switch(conf-if)# switchport mode access
|
||||
Switch(conf-if)# switchport port-security
|
||||
Switch(conf-if)# switchport port-security maximum *nb de tentative*
|
||||
Switch(conf-if)# switchport port-security mac-address {sticky|*MAC*}
|
||||
Switch(conf-if)# switchport port-security violation {protect|restrict|shutdown}
|
||||
</code></pre>
|
||||
<div class="edit-meta">
|
||||
Last updated on 24 Jan 2025
|
||||
|
||||
|
||||
<br>
|
||||
Published on 24 Jan 2025
|
||||
<br></div><nav class="pagination"><a class="nav nav-prev" href="//localhost:1313/cisco/commande-g%C3%A9n%C3%A9rale/" title="Commande Générale"><i class="fas fa-arrow-left" aria-hidden="true"></i> Prev - Commande Générale</a>
|
||||
<a class="nav nav-next" href="//localhost:1313/cisco/routeur/" title="Routeur">Next - Routeur <i class="fas fa-arrow-right" aria-hidden="true"></i></a>
|
||||
</nav><footer><p class="powered">Powered by <a href="https://gohugo.io">Hugo</a>. Theme by <a href="https://themes.gohugo.io/hugo-theme-techdoc/">TechDoc</a>. Designed by <a href="https://github.com/thingsym/hugo-theme-techdoc">Thingsym</a>.</p>
|
||||
</footer>
|
||||
</main>
|
||||
<div class="sidebar">
|
||||
|
||||
<nav class="slide-menu">
|
||||
<ul>
|
||||
<li class=""><a href="//localhost:1313/">Home</a></li>
|
||||
|
||||
<li class="parent has-sub-menu"><a href="//localhost:1313/cisco/">Cisco<span class="mark opened">-</span></a>
|
||||
|
||||
<ul class="sub-menu">
|
||||
<li class=""><a href="//localhost:1313/cisco/commande-g%C3%A9n%C3%A9rale/">Commande Générale</a></li>
|
||||
<li class="active"><a href="//localhost:1313/cisco/switch/">Switch</a></li>
|
||||
<li class=""><a href="//localhost:1313/cisco/routeur/">Routeur</a></li>
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
|
||||
|
||||
<div class="sidebar-footer"></div>
|
||||
</div>
|
||||
|
||||
</div><a href="#" id="backtothetop-fixed" class="backtothetop"
|
||||
data-backtothetop-duration="600"
|
||||
data-backtothetop-easing="easeOutQuart"
|
||||
data-backtothetop-fixed-fadeIn="1000"
|
||||
data-backtothetop-fixed-fadeOut="1000"
|
||||
data-backtothetop-fixed-bottom="10"
|
||||
data-backtothetop-fixed-right="20">
|
||||
<span class="fa-layers fa-fw">
|
||||
<i class="fas fa-circle"></i>
|
||||
<i class="fas fa-arrow-circle-up"></i>
|
||||
</span></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,310 +0,0 @@
|
|||
/* Background */
|
||||
.chroma {
|
||||
color: #f8f8f2;
|
||||
background-color: #272822;
|
||||
}
|
||||
|
||||
/* Error */
|
||||
.chroma .err {
|
||||
color: #960050;
|
||||
background-color: #1e0010;
|
||||
}
|
||||
|
||||
/* LineTableTD */
|
||||
.chroma .lntd {
|
||||
vertical-align: top;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
/* LineTable */
|
||||
.chroma .lntable {
|
||||
border-spacing: 0;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
width: 100%;
|
||||
overflow: auto;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* LineHighlight */
|
||||
.chroma .hl {
|
||||
background-color: #ffffcc;
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* LineNumbersTable */
|
||||
.chroma .lnt {
|
||||
margin-right: 0.4em;
|
||||
padding: 0 0.4em 0 0.4em;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* LineNumbers */
|
||||
.chroma .ln {
|
||||
margin-right: 0.4em;
|
||||
padding: 0 0.4em 0 0.4em;
|
||||
}
|
||||
|
||||
/* Keyword */
|
||||
.chroma .k {
|
||||
color: #66d9ef;
|
||||
}
|
||||
|
||||
/* KeywordConstant */
|
||||
.chroma .kc {
|
||||
color: #66d9ef;
|
||||
}
|
||||
|
||||
/* KeywordDeclaration */
|
||||
.chroma .kd {
|
||||
color: #66d9ef;
|
||||
}
|
||||
|
||||
/* KeywordNamespace */
|
||||
.chroma .kn {
|
||||
color: #f92672;
|
||||
}
|
||||
|
||||
/* KeywordPseudo */
|
||||
.chroma .kp {
|
||||
color: #66d9ef;
|
||||
}
|
||||
|
||||
/* KeywordReserved */
|
||||
.chroma .kr {
|
||||
color: #66d9ef;
|
||||
}
|
||||
|
||||
/* KeywordType */
|
||||
.chroma .kt {
|
||||
color: #66d9ef;
|
||||
}
|
||||
|
||||
/* NameAttribute */
|
||||
.chroma .na {
|
||||
color: #a6e22e;
|
||||
}
|
||||
|
||||
/* NameClass */
|
||||
.chroma .nc {
|
||||
color: #a6e22e;
|
||||
}
|
||||
|
||||
/* NameConstant */
|
||||
.chroma .no {
|
||||
color: #66d9ef;
|
||||
}
|
||||
|
||||
/* NameDecorator */
|
||||
.chroma .nd {
|
||||
color: #a6e22e;
|
||||
}
|
||||
|
||||
/* NameException */
|
||||
.chroma .ne {
|
||||
color: #a6e22e;
|
||||
}
|
||||
|
||||
/* NameFunction */
|
||||
.chroma .nf {
|
||||
color: #a6e22e;
|
||||
}
|
||||
|
||||
/* NameOther */
|
||||
.chroma .nx {
|
||||
color: #a6e22e;
|
||||
}
|
||||
|
||||
/* NameTag */
|
||||
.chroma .nt {
|
||||
color: #f92672;
|
||||
}
|
||||
|
||||
/* Literal */
|
||||
.chroma .l {
|
||||
color: #ae81ff;
|
||||
}
|
||||
|
||||
/* LiteralDate */
|
||||
.chroma .ld {
|
||||
color: #e6db74;
|
||||
}
|
||||
|
||||
/* LiteralString */
|
||||
.chroma .s {
|
||||
color: #e6db74;
|
||||
}
|
||||
|
||||
/* LiteralStringAffix */
|
||||
.chroma .sa {
|
||||
color: #e6db74;
|
||||
}
|
||||
|
||||
/* LiteralStringBacktick */
|
||||
.chroma .sb {
|
||||
color: #e6db74;
|
||||
}
|
||||
|
||||
/* LiteralStringChar */
|
||||
.chroma .sc {
|
||||
color: #e6db74;
|
||||
}
|
||||
|
||||
/* LiteralStringDelimiter */
|
||||
.chroma .dl {
|
||||
color: #e6db74;
|
||||
}
|
||||
|
||||
/* LiteralStringDoc */
|
||||
.chroma .sd {
|
||||
color: #e6db74;
|
||||
}
|
||||
|
||||
/* LiteralStringDouble */
|
||||
.chroma .s2 {
|
||||
color: #e6db74;
|
||||
}
|
||||
|
||||
/* LiteralStringEscape */
|
||||
.chroma .se {
|
||||
color: #ae81ff;
|
||||
}
|
||||
|
||||
/* LiteralStringHeredoc */
|
||||
.chroma .sh {
|
||||
color: #e6db74;
|
||||
}
|
||||
|
||||
/* LiteralStringInterpol */
|
||||
.chroma .si {
|
||||
color: #e6db74;
|
||||
}
|
||||
|
||||
/* LiteralStringOther */
|
||||
.chroma .sx {
|
||||
color: #e6db74;
|
||||
}
|
||||
|
||||
/* LiteralStringRegex */
|
||||
.chroma .sr {
|
||||
color: #e6db74;
|
||||
}
|
||||
|
||||
/* LiteralStringSingle */
|
||||
.chroma .s1 {
|
||||
color: #e6db74;
|
||||
}
|
||||
|
||||
/* LiteralStringSymbol */
|
||||
.chroma .ss {
|
||||
color: #e6db74;
|
||||
}
|
||||
|
||||
/* LiteralNumber */
|
||||
.chroma .m {
|
||||
color: #ae81ff;
|
||||
}
|
||||
|
||||
/* LiteralNumberBin */
|
||||
.chroma .mb {
|
||||
color: #ae81ff;
|
||||
}
|
||||
|
||||
/* LiteralNumberFloat */
|
||||
.chroma .mf {
|
||||
color: #ae81ff;
|
||||
}
|
||||
|
||||
/* LiteralNumberHex */
|
||||
.chroma .mh {
|
||||
color: #ae81ff;
|
||||
}
|
||||
|
||||
/* LiteralNumberInteger */
|
||||
.chroma .mi {
|
||||
color: #ae81ff;
|
||||
}
|
||||
|
||||
/* LiteralNumberIntegerLong */
|
||||
.chroma .il {
|
||||
color: #ae81ff;
|
||||
}
|
||||
|
||||
/* LiteralNumberOct */
|
||||
.chroma .mo {
|
||||
color: #ae81ff;
|
||||
}
|
||||
|
||||
/* Operator */
|
||||
.chroma .o {
|
||||
color: #f92672;
|
||||
}
|
||||
|
||||
/* OperatorWord */
|
||||
.chroma .ow {
|
||||
color: #f92672;
|
||||
}
|
||||
|
||||
/* Comment */
|
||||
.chroma .c {
|
||||
color: #75715e;
|
||||
}
|
||||
|
||||
/* CommentHashbang */
|
||||
.chroma .ch {
|
||||
color: #75715e;
|
||||
}
|
||||
|
||||
/* CommentMultiline */
|
||||
.chroma .cm {
|
||||
color: #75715e;
|
||||
}
|
||||
|
||||
/* CommentSingle */
|
||||
.chroma .c1 {
|
||||
color: #75715e;
|
||||
}
|
||||
|
||||
/* CommentSpecial */
|
||||
.chroma .cs {
|
||||
color: #75715e;
|
||||
}
|
||||
|
||||
/* CommentPreproc */
|
||||
.chroma .cp {
|
||||
color: #75715e;
|
||||
}
|
||||
|
||||
/* CommentPreprocFile */
|
||||
.chroma .cpf {
|
||||
color: #75715e;
|
||||
}
|
||||
|
||||
/* GenericDeleted */
|
||||
.chroma .gd {
|
||||
color: #f92672;
|
||||
}
|
||||
|
||||
/* GenericEmph */
|
||||
.chroma .ge {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* GenericInserted */
|
||||
.chroma .gi {
|
||||
color: #a6e22e;
|
||||
}
|
||||
|
||||
/* GenericStrong */
|
||||
.chroma .gs {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* GenericSubheading */
|
||||
.chroma .gu {
|
||||
color: #75715e;
|
||||
}
|
1
public_html/css/chroma.min.css
vendored
|
@ -1 +0,0 @@
|
|||
.chroma{background-color:#272822;color:#f8f8f2}.chroma .err{background-color:#1e0010;color:#960050}.chroma .lntd{border:0;margin:0;padding:0;vertical-align:top}.chroma .lntable{border:0;border-spacing:0;display:block;margin:0;overflow:auto;padding:0;width:100%}.chroma .hl{background-color:#ffc;display:block;width:100%}.chroma .lnt{display:block}.chroma .ln,.chroma .lnt{margin-right:.4em;padding:0 .4em}.chroma .k,.chroma .kc,.chroma .kd{color:#66d9ef}.chroma .kn{color:#f92672}.chroma .kp,.chroma .kr,.chroma .kt{color:#66d9ef}.chroma .na,.chroma .nc{color:#a6e22e}.chroma .no{color:#66d9ef}.chroma .nd,.chroma .ne,.chroma .nf,.chroma .nx{color:#a6e22e}.chroma .nt{color:#f92672}.chroma .l{color:#ae81ff}.chroma .dl,.chroma .ld,.chroma .s,.chroma .s2,.chroma .sa,.chroma .sb,.chroma .sc,.chroma .sd{color:#e6db74}.chroma .se{color:#ae81ff}.chroma .s1,.chroma .sh,.chroma .si,.chroma .sr,.chroma .ss,.chroma .sx{color:#e6db74}.chroma .il,.chroma .m,.chroma .mb,.chroma .mf,.chroma .mh,.chroma .mi,.chroma .mo{color:#ae81ff}.chroma .o,.chroma .ow{color:#f92672}.chroma .c,.chroma .c1,.chroma .ch,.chroma .cm,.chroma .cp,.chroma .cpf,.chroma .cs{color:#75715e}.chroma .gd{color:#f92672}.chroma .ge{font-style:italic}.chroma .gi{color:#a6e22e}.chroma .gs{font-weight:700}.chroma .gu{color:#75715e}
|
2
public_html/css/theme.min.css
vendored
|
@ -1,104 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="fr-fr">
|
||||
<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<title>Accueil - Aide pour les TSSR</title>
|
||||
<meta name="generator" content="Hugo 0.141.0">
|
||||
<link href="//localhost:1313//index.xml" rel="alternate" type="application/rss+xml">
|
||||
<link rel="canonical" href="//localhost:1313/">
|
||||
<link rel="stylesheet" href="//localhost:1313/css/theme.min.css">
|
||||
<link rel="stylesheet" href="//localhost:1313/css/chroma.min.css">
|
||||
<script defer src="//localhost:1313//js/fontawesome6/all.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery.easing@1.4.1/jquery.easing.min.js" integrity="sha256-H3cjtrm/ztDeuhCN9I4yh4iN2Ybx/y1RM7rMmAesA0k=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js" integrity="sha256-4XodgW4TwIJuDtf+v6vDJ39FVxI0veC/kSCCmnFp7ck=" crossorigin="anonymous"></script>
|
||||
<script src="//localhost:1313/js/bundle.js"></script><style>
|
||||
:root {}
|
||||
</style>
|
||||
<meta property="og:url" content="//localhost:1313/">
|
||||
<meta property="og:site_name" content="Aide pour les TSSR">
|
||||
<meta property="og:title" content="Accueil">
|
||||
<meta property="og:description" content="Ce site a été conçu comme une ressource complète et accessible, spécialement pensée pour les professionnels et étudiants en systèmes et réseaux. Que vous soyez en quête de solutions concrètes à des problématiques techniques, d’approfondir vos compétences, ou de consolider vos connaissances, cet espace a pour mission de vous accompagner à chaque étape.
|
||||
Vous y trouverez des guides pratiques, des tutoriels, des fiches techniques, ainsi qu’une multitude de ressources pour vous aider à intervenir efficacement dans vos projets, que ce soit dans le déploiement, la maintenance ou l’optimisation d’infrastructures IT.">
|
||||
<meta property="og:locale" content="fr_fr">
|
||||
<meta property="og:type" content="website">
|
||||
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:title" content="Accueil">
|
||||
<meta name="twitter:description" content="Ce site a été conçu comme une ressource complète et accessible, spécialement pensée pour les professionnels et étudiants en systèmes et réseaux. Que vous soyez en quête de solutions concrètes à des problématiques techniques, d’approfondir vos compétences, ou de consolider vos connaissances, cet espace a pour mission de vous accompagner à chaque étape.
|
||||
Vous y trouverez des guides pratiques, des tutoriels, des fiches techniques, ainsi qu’une multitude de ressources pour vous aider à intervenir efficacement dans vos projets, que ce soit dans le déploiement, la maintenance ou l’optimisation d’infrastructures IT.">
|
||||
|
||||
<meta itemprop="name" content="Accueil">
|
||||
<meta itemprop="description" content="Ce site a été conçu comme une ressource complète et accessible, spécialement pensée pour les professionnels et étudiants en systèmes et réseaux. Que vous soyez en quête de solutions concrètes à des problématiques techniques, d’approfondir vos compétences, ou de consolider vos connaissances, cet espace a pour mission de vous accompagner à chaque étape.
|
||||
Vous y trouverez des guides pratiques, des tutoriels, des fiches techniques, ainsi qu’une multitude de ressources pour vous aider à intervenir efficacement dans vos projets, que ce soit dans le déploiement, la maintenance ou l’optimisation d’infrastructures IT.">
|
||||
<meta itemprop="datePublished" content="2025-01-22T00:00:00+00:00">
|
||||
<meta itemprop="dateModified" content="2025-01-22T00:00:00+00:00">
|
||||
<meta itemprop="wordCount" content="120"></head>
|
||||
<body>
|
||||
|
||||
<div class="container"><header>
|
||||
<h1>Aide pour les TSSR</h1><span class="version">Version 1.0.0</span>
|
||||
</header>
|
||||
<div class="global-menu">
|
||||
<nav>
|
||||
<ul>
|
||||
<li id="Accueil" class=""><a href="/"><i class='fa fa-heart'></i> Accueil</a></li>
|
||||
<li class=""><a href="/about/">About</a></li></ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div class="content-container">
|
||||
<main><p>Ce site a été conçu comme une ressource complète et accessible, spécialement pensée pour les professionnels et étudiants en systèmes et réseaux. Que vous soyez en quête de solutions concrètes à des problématiques techniques, d’approfondir vos compétences, ou de consolider vos connaissances, cet espace a pour mission de vous accompagner à chaque étape.</p>
|
||||
<p>Vous y trouverez des guides pratiques, des tutoriels, des fiches techniques, ainsi qu’une multitude de ressources pour vous aider à intervenir efficacement dans vos projets, que ce soit dans le déploiement, la maintenance ou l’optimisation d’infrastructures IT.</p>
|
||||
<p>Notre objectif : fournir une documentation claire, structurée et actualisée pour vous permettre de relever les défis techniques du quotidien avec confiance et expertise.</p>
|
||||
<p>Bonne exploration et bon apprentissage !</p>
|
||||
<nav class="pagination"><a class="nav nav-next" href="//localhost:1313/cisco/" title="Cisco">Next - Cisco <i class="fas fa-arrow-right" aria-hidden="true"></i></a>
|
||||
</nav><div class="edit-meta">
|
||||
Last updated on 22 Jan 2025
|
||||
|
||||
|
||||
<br>
|
||||
Published on 22 Jan 2025
|
||||
<br></div><footer><p class="powered">Powered by <a href="https://gohugo.io">Hugo</a>. Theme by <a href="https://themes.gohugo.io/hugo-theme-techdoc/">TechDoc</a>. Designed by <a href="https://github.com/thingsym/hugo-theme-techdoc">Thingsym</a>.</p>
|
||||
</footer>
|
||||
</main>
|
||||
<div class="sidebar">
|
||||
|
||||
<nav class="slide-menu">
|
||||
<ul>
|
||||
<li class="active"><a href="//localhost:1313/">Home</a></li>
|
||||
|
||||
<li class=" has-sub-menu"><a href="//localhost:1313/cisco/">Cisco<span class="mark closed">+</span></a>
|
||||
|
||||
<ul class="sub-menu">
|
||||
<li class=""><a href="//localhost:1313/cisco/commande-g%C3%A9n%C3%A9rale/">Commande Générale</a></li>
|
||||
<li class=""><a href="//localhost:1313/cisco/switch/">Switch</a></li>
|
||||
<li class=""><a href="//localhost:1313/cisco/routeur/">Routeur</a></li>
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
|
||||
|
||||
<div class="sidebar-footer"></div>
|
||||
</div>
|
||||
|
||||
</div><a href="#" id="backtothetop-fixed" class="backtothetop"
|
||||
data-backtothetop-duration="600"
|
||||
data-backtothetop-easing="easeOutQuart"
|
||||
data-backtothetop-fixed-fadeIn="1000"
|
||||
data-backtothetop-fixed-fadeOut="1000"
|
||||
data-backtothetop-fixed-bottom="10"
|
||||
data-backtothetop-fixed-right="20">
|
||||
<span class="fa-layers fa-fw">
|
||||
<i class="fas fa-circle"></i>
|
||||
<i class="fas fa-arrow-circle-up"></i>
|
||||
</span></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,47 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Accueil on Aide pour les TSSR</title>
|
||||
<link>//localhost:1313/</link>
|
||||
<description>Recent content in Accueil on Aide pour les TSSR</description>
|
||||
<generator>Hugo</generator>
|
||||
<language>fr-fr</language>
|
||||
<lastBuildDate>Fri, 24 Jan 2025 00:00:00 +0000</lastBuildDate>
|
||||
<atom:link href="//localhost:1313/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Commande Générale</title>
|
||||
<link>//localhost:1313/cisco/commande-g%C3%A9n%C3%A9rale/</link>
|
||||
<pubDate>Fri, 24 Jan 2025 00:00:00 +0000</pubDate>
|
||||
<guid>//localhost:1313/cisco/commande-g%C3%A9n%C3%A9rale/</guid>
|
||||
<description><h2 id="nommer-léquipement">nommer l&rsquo;équipement</h2>
<pre><code>Switch&gt; enable
Switch# configure terminal
Switch(conf)# hostname Host
</code></pre>
<h2 id="protéger-laccès-console">protéger l&rsquo;accès console</h2>
<pre><code>Switch(conf)# line {console|aux|tty|vty} {0-xx} [1-x]
Switch(conf-line)# password *mot de passe*
Switch(conf-line)# login
</code></pre>
<h2 id="mot-de-passe-enable">mot de passe &ldquo;enable&rdquo;</h2>
<pre><code>Switch(conf)# enable {password|secret} *mot de passe*
</code></pre>
<h2 id="activer-le-chiffrement-des-mdp">Activer le chiffrement des mdp</h2>
<pre><code>Switch(conf)# service password-encryption
</code></pre>
<h2 id="sauvegarde-de-la-configuation-en-cours-vers-démarrage">sauvegarde de la configuation en cours vers démarrage</h2>
<pre><code>Switch# copy running-config startup-config
</code></pre>
<p>ou
Switch# write</p>
<h2 id="désactivation-de-la-recherche-dns-dans-linterface">désactivation de la recherche DNS dans l&rsquo;interface</h2>
<pre><code>Switch(conf)# no ip domain-lookup
</code></pre>
<h2 id="voir-la-configuration-en-cours">Voir la configuration en cours</h2>
<pre><code>Switch# Show running-config
</code></pre>
<h2 id="voir-la-configuration-du-fichier-sauvegarde-sur-la-nvram">Voir la configuration du fichier sauvegarde sur la NVRAM</h2>
<pre><code>Switch# Show startup-config
</code></pre>
<h1 id="configuration-ssh">Configuration SSH</h1>
<h2 id="prérequi">prérequi</h2>
<ul>
<li>renomer l&rsquo;équipement</li>
<li>mettre mot de passe &ldquo;enable&rdquo;</li>
</ul>
<h2 id="définir-un-nom-de-domain">définir un nom de domain</h2>
<pre><code>Switch(conf)# ip domain-name *nom-de-domaine*
</code></pre>
<h2 id="activer-la-version-2-de-ssh">activer la version 2 de SSH</h2>
<pre><code>Switch(conf)# ip ssh version 2
</code></pre>
<h2 id="générer-clés-ssh">générer clés ssh</h2>
<pre><code>Switch(conf)# crypto key generate rsa general-keys modulus *1024*
</code></pre>
<h2 id="créer-un-utilisateur-local">créer un utilisateur local</h2>
<pre><code>Switch(conf)# username *login* {secret|password} *mot-de-passe*
</code></pre>
<h2 id="ajout-dun-time-out">Ajout d&rsquo;un time out</h2>
<pre><code>Switch(conf)# ip ssh time-out {nbsec}
</code></pre>
<h2 id="ajout-dun-nombre-de-tentative">ajout d&rsquo;un nombre de tentative</h2>
<pre><code>Switch(conf)# ip ssh authentication-retries {nb tentative}
</code></pre>
<h2 id="configuration-du-maximum-de-conenxion-simultanné">configuration du maximum de conenxion simultanné</h2>
<pre><code>Switch(conf)# ip ssh maxstartups {2-128}
</code></pre>
<h2 id="configurer-ligne-vty">configurer ligne vty</h2>
<pre><code>Switch(conf)# line vty 0 15
Switch(conf-line)# login local
Switch(conf-line)# transport input ssh
Switch(conf-line)# no password
</code></pre></description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Switch</title>
|
||||
<link>//localhost:1313/cisco/switch/</link>
|
||||
<pubDate>Fri, 24 Jan 2025 00:00:00 +0000</pubDate>
|
||||
<guid>//localhost:1313/cisco/switch/</guid>
|
||||
<description><h2 id="configurer-la-svi-switch-virtual-interface">Configurer la SVI (Switch Virtual Interface)</h2>
<pre><code>Switch(conf)# interface vlan1
Switch(conf-if)# ip address A.B.C.D M1.M2.M3.M4
Switch(conf-if)# no shutdown
</code></pre>
<h2 id="mettre-en-place-une-passerelle-par-défaut-sur-un-switch">mettre en place une passerelle par défaut sur un switch</h2>
<pre><code>Switch(conf)# ip default-gateway A.B.C.D
</code></pre>
<h1 id="configuration-vlan-sur-un-switch">Configuration Vlan sur un Switch</h1>
<h2 id="définir-un-vlan">Définir un Vlan</h2>
<pre><code>Switch&gt; enable
Switch# configure terminal
Switch(conf)# vlan *numero Vlan*
Switch(conf-vlan)# name *nom*
Switch(conf-vlan)# exit
Switch(conf)#
</code></pre>
<h2 id="rattacher-un-port-à-un-vlan">Rattacher un port à un VLAN</h2>
<pre><code>Switch&gt; enable
Switch# configure terminal
Switch(conf)# interface *interface*
Switch(conf-if)# switchport mode access
Switch(conf-if)# switchport access vlan *numero Vlan*
Switch(conf-if)# exit
Switch(conf)#
</code></pre>
<h2 id="rattacher-un-ensemble-de-ports-à-un-vlan">Rattacher un ensemble de ports à un VLAN</h2>
<pre><code>Switch&gt; enable
Switch# configure terminal
Switch(conf)# interface range *1ère interface* - *dernière interface*
Switch(conf-if)# switchport mode access
Switch(conf-if)# switchport access vlan *numero Vlan*
Switch(conf-if)# exit
Switch(conf)#
</code></pre>
<h2 id="configurer-un-port-en-mode-trunk">Configurer un port en mode TRUNK</h2>
<p>Le mode TRUNK permet a plusieurs vlan de passer par le même port
Switch&gt; enable
Switch# configure terminal
Switch(conf)# interface <em>interface</em>
Switch(conf-if)# switchport mode trunk
Switch(conf-if)# switchport trunk allowed vlan <em>Vlan1</em> [,<em>VLan2</em>]
Switch(conf-if)# exit
Switch(conf)#</p></description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Routeur</title>
|
||||
<link>//localhost:1313/cisco/routeur/</link>
|
||||
<pubDate>Fri, 24 Jan 2025 00:00:00 +0000</pubDate>
|
||||
<guid>//localhost:1313/cisco/routeur/</guid>
|
||||
<description><h2 id="route-statique">Route statique</h2>
<pre><code>Router(conf)# ip route *réseau* *masque* { *adresse ip* | *interface sortie* [ *adresse-ip* ] }
</code></pre>
<p>ou
Router(conf)# ipv6 unicast-routing
Router(conf)# ipv6 route <em>réseau/masque</em> { <em>adresse ip</em> | <em>interface sortie</em> [ <em>adresse-ip</em> ] }</p>
<h2 id="route-par-défaut">Route par défaut</h2>
<pre><code>Router(conf)# ip route 0.0.0.0 0.0.0.0 { *adresse ip* | *interface sortie* [ *adresse-ip* ] }
</code></pre>
<p>ou
Router(conf)#
Router(conf)# ipv6 route <em>::/0</em> { <em>adresse ip</em> | <em>interface sortie</em> [ <em>adresse-ip</em> ] }</p>
<h2 id="inferface-virtuelle-pour-mode-trunk">inferface virtuelle pour mode TRUNK</h2>
<pre><code>Router(config)# interface [interface].[id]
Router(config-if)# encapsulation dot1Q [vlan]
Router(config-if)# ip address *rid* 255.255.255.255
Router(config-if)# no shutdown
</code></pre>
<p>ne pas oublier d&rsquo;allumer l&rsquo;interface générale</p></description>
|
||||
</item>
|
||||
<item>
|
||||
<title>About</title>
|
||||
<link>//localhost:1313/about/</link>
|
||||
<pubDate>Wed, 22 Jan 2025 13:14:15 +0100</pubDate>
|
||||
<guid>//localhost:1313/about/</guid>
|
||||
<description><p>About du site</p></description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Premier Test</title>
|
||||
<link>//localhost:1313/posts/premier-test/</link>
|
||||
<pubDate>Wed, 22 Jan 2025 12:02:03 +0100</pubDate>
|
||||
<guid>//localhost:1313/posts/premier-test/</guid>
|
||||
<description><p>Test de post</p></description>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
|
@ -1 +0,0 @@
|
|||
!function(){var t={219:function(){!function(){function t(t){t.currentTarget.setAttribute("class","copy-btn copy"),t.currentTarget.setAttribute("aria-label","Copy this code.")}window.onload=function(){new ClipboardJS(".copy",{target:function(t){return t.nextElementSibling}}).on("success",(function(t){!function(t,o){t.setAttribute("class","copy-btn copy tooltipped"),t.setAttribute("aria-label","Copied!")}(t.trigger),t.clearSelection()})).on("error",(function(t){console.error("Action:",t.action),console.error("Trigger:",t.trigger)}))},document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".copy").forEach((function(o){o.addEventListener("animationend",t)}))}))}()},447:function(){document.addEventListener("DOMContentLoaded",(function(){document.querySelector("main").querySelectorAll("h1, h2, h3, h4, h5, h6").forEach((function(t){if(t.id){var o=document.createElement("a");o.setAttribute("class","headerlink"),o.setAttribute("href","#"+t.id),o.setAttribute("title","Permalink to this headline");var e=document.createElement("i");e.setAttribute("class","fas fa-hashtag"),e.setAttribute("aria-hidden","true"),o.append(e),t.append(o)}}))}))},557:function(){var t;(t=jQuery)(window).on("load.BackToTheTop",(function(){t('a[href^="#"]').BackToTheTop()})),t.fn.BackToTheTop=function(o){var e={duration:300,easing:"swing",offset:0,hash:!0,scrolloffset:0,fadein:"slow",fadeout:"slow",display:"bottom-right",top:0,bottom:0,left:0,right:0,zIndex:999,position:"fixed"};t.extend(e,o),t('a[href^="#"]').on("click.BackToTheTop",(function(){var o=void 0!==t(this).data("backtothetop-scrolltop")?t(this).data("backtothetop-scrolltop"):t(this.hash).offset()?t(this.hash).offset().top:"backtothetop-fixed"==t(this).attr("id")&&"#"==t(this).attr("href")?0:null;if(null!==o){var a=void 0===t(this).data("backtothetop-duration")?e.duration:t(this).data("backtothetop-duration"),i=void 0===t(this).data("backtothetop-easing")?e.easing:t(this).data("backtothetop-easing"),n=void 0===t(this).data("backtothetop-offset")?e.offset:t(this).data("backtothetop-offset"),d=void 0===t(this).data("backtothetop-hash")?e.hash:t(this).data("backtothetop-hash"),r=t(this).attr("href");return t("html,body").animate({scrollTop:o+n},a,i,(function(){!0===d&&window.history.pushState("","",r)})),!1}})),function(){var o=t("a#backtothetop-fixed");if(o){var a=void 0===o.data("backtothetop-fixed-scroll-offset")?e.scrolloffset:o.data("backtothetop-fixed-scroll-offset"),i=void 0===o.data("backtothetop-fixed-fadein")?e.fadein:o.data("backtothetop-fixed-fadein"),n=void 0===o.data("backtothetop-fixed-fadeout")?e.fadeout:o.data("backtothetop-fixed-fadeout"),d=void 0===o.data("backtothetop-fixed-display")?e.display:o.data("backtothetop-fixed-display"),r=void 0===o.data("backtothetop-fixed-top")?e.top:o.data("backtothetop-fixed-top"),c=void 0===o.data("backtothetop-fixed-bottom")?e.bottom:o.data("backtothetop-fixed-bottom"),s=void 0===o.data("backtothetop-fixed-left")?e.left:o.data("backtothetop-fixed-left"),f=void 0===o.data("backtothetop-fixed-right")?e.right:o.data("backtothetop-fixed-right"),h=void 0===o.data("backtothetop-fixed-zindex")?e.zIndex:o.data("backtothetop-fixed-zindex");"top-left"==d?(c="none",f="none"):"top-right"==d?(c="none",s="none"):"bottom-left"==d?(r="none",f="none"):"bottom-right"==d&&(r="none",s="none"),o.css({display:"none"}),t(window).on("scroll.BackToTheTop",(function(){t(this).scrollTop()>a?(o.css({top:r,bottom:c,left:s,right:f,zIndex:h,position:e.position}),"none"==o.css("display")&&o.fadeIn(i)):t(this).scrollTop()<=0+a&&"none"!=o.css("display")&&o.fadeOut(n)}))}}()}},127:function(){document.addEventListener("DOMContentLoaded",(function(){var t=document.querySelector(".nav-prev"),o=document.querySelector(".nav-next");document.addEventListener("keydown",(function(e){t&&"ArrowLeft"===e.key&&(location.href=t.getAttribute("href")),o&&"ArrowRight"===e.key&&(location.href=o.getAttribute("href"))}))}))},738:function(){var t;(t=jQuery)(document).ready((function(){t(".has-sub-menu > a span.mark").on("click",(function(o){t(this).parent().siblings("ul").slideToggle("fast","swing",(function(){var o;o=t(this).is(":visible")?"-":"+",t(this).siblings("a").children("span.mark").text(o)})),o.preventDefault()}))}))}},o={};function e(a){var i=o[a];if(void 0!==i)return i.exports;var n=o[a]={exports:{}};return t[a](n,n.exports,e),n.exports}e(738),e(127),e(557),e(447),e(219)}();
|
6
public_html/js/fontawesome6/all.min.js
vendored
|
@ -1,94 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="fr-fr">
|
||||
<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<title>Posts - Aide pour les TSSR</title>
|
||||
<meta name="generator" content="Hugo 0.141.0">
|
||||
<link href="//localhost:1313//index.xml" rel="alternate" type="application/rss+xml">
|
||||
<link rel="canonical" href="//localhost:1313/posts/">
|
||||
<link rel="stylesheet" href="//localhost:1313/css/theme.min.css">
|
||||
<link rel="stylesheet" href="//localhost:1313/css/chroma.min.css">
|
||||
<script defer src="//localhost:1313//js/fontawesome6/all.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery.easing@1.4.1/jquery.easing.min.js" integrity="sha256-H3cjtrm/ztDeuhCN9I4yh4iN2Ybx/y1RM7rMmAesA0k=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js" integrity="sha256-4XodgW4TwIJuDtf+v6vDJ39FVxI0veC/kSCCmnFp7ck=" crossorigin="anonymous"></script>
|
||||
<script src="//localhost:1313/js/bundle.js"></script><style>
|
||||
:root {}
|
||||
</style>
|
||||
<meta property="og:url" content="//localhost:1313/posts/">
|
||||
<meta property="og:site_name" content="Aide pour les TSSR">
|
||||
<meta property="og:title" content="Posts">
|
||||
<meta property="og:locale" content="fr_fr">
|
||||
<meta property="og:type" content="website">
|
||||
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:title" content="Posts">
|
||||
|
||||
<meta itemprop="name" content="Posts">
|
||||
<meta itemprop="datePublished" content="2025-01-22T12:02:03+01:00">
|
||||
<meta itemprop="dateModified" content="2025-01-22T12:02:03+01:00"></head>
|
||||
<body>
|
||||
|
||||
<div class="container"><header>
|
||||
<h1>Aide pour les TSSR</h1><span class="version">Version 1.0.0</span>
|
||||
</header>
|
||||
<div class="global-menu">
|
||||
<nav>
|
||||
<ul>
|
||||
<li id="Accueil" class=""><a href="/"><i class='fa fa-heart'></i> Accueil</a></li>
|
||||
<li class=""><a href="/about/">About</a></li></ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div class="content-container">
|
||||
<main><h1>Posts</h1><div class="edit-meta">
|
||||
Last updated on 22 Jan 2025
|
||||
|
||||
|
||||
<br>
|
||||
Published on 22 Jan 2025
|
||||
<br></div><nav class="pagination"><a class="nav nav-prev" href="//localhost:1313/cisco/routeur/" title="Routeur"><i class="fas fa-arrow-left" aria-hidden="true"></i> Prev - Routeur</a>
|
||||
<a class="nav nav-next" href="//localhost:1313/cisco/" title="Cisco">Next - Cisco <i class="fas fa-arrow-right" aria-hidden="true"></i></a>
|
||||
</nav><footer><p class="powered">Powered by <a href="https://gohugo.io">Hugo</a>. Theme by <a href="https://themes.gohugo.io/hugo-theme-techdoc/">TechDoc</a>. Designed by <a href="https://github.com/thingsym/hugo-theme-techdoc">Thingsym</a>.</p>
|
||||
</footer>
|
||||
</main>
|
||||
<div class="sidebar">
|
||||
|
||||
<nav class="slide-menu">
|
||||
<ul>
|
||||
<li class=""><a href="//localhost:1313/">Home</a></li>
|
||||
|
||||
<li class=" has-sub-menu"><a href="//localhost:1313/cisco/">Cisco<span class="mark closed">+</span></a>
|
||||
|
||||
<ul class="sub-menu">
|
||||
<li class=""><a href="//localhost:1313/cisco/commande-g%C3%A9n%C3%A9rale/">Commande Générale</a></li>
|
||||
<li class=""><a href="//localhost:1313/cisco/switch/">Switch</a></li>
|
||||
<li class=""><a href="//localhost:1313/cisco/routeur/">Routeur</a></li>
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
|
||||
|
||||
<div class="sidebar-footer"></div>
|
||||
</div>
|
||||
|
||||
</div><a href="#" id="backtothetop-fixed" class="backtothetop"
|
||||
data-backtothetop-duration="600"
|
||||
data-backtothetop-easing="easeOutQuart"
|
||||
data-backtothetop-fixed-fadeIn="1000"
|
||||
data-backtothetop-fixed-fadeOut="1000"
|
||||
data-backtothetop-fixed-bottom="10"
|
||||
data-backtothetop-fixed-right="20">
|
||||
<span class="fa-layers fa-fw">
|
||||
<i class="fas fa-circle"></i>
|
||||
<i class="fas fa-arrow-circle-up"></i>
|
||||
</span></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,19 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Posts on Aide pour les TSSR</title>
|
||||
<link>//localhost:1313/posts/</link>
|
||||
<description>Recent content in Posts on Aide pour les TSSR</description>
|
||||
<generator>Hugo</generator>
|
||||
<language>fr-fr</language>
|
||||
<lastBuildDate>Wed, 22 Jan 2025 12:02:03 +0100</lastBuildDate>
|
||||
<atom:link href="//localhost:1313/posts/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Premier Test</title>
|
||||
<link>//localhost:1313/posts/premier-test/</link>
|
||||
<pubDate>Wed, 22 Jan 2025 12:02:03 +0100</pubDate>
|
||||
<guid>//localhost:1313/posts/premier-test/</guid>
|
||||
<description><p>Test de post</p></description>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
|
@ -1,102 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="fr-fr">
|
||||
<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<title>Premier Test - Aide pour les TSSR</title>
|
||||
<meta name="generator" content="Hugo 0.141.0">
|
||||
<link href="//localhost:1313//index.xml" rel="alternate" type="application/rss+xml">
|
||||
<link rel="canonical" href="//localhost:1313/posts/premier-test/">
|
||||
<link rel="stylesheet" href="//localhost:1313/css/theme.min.css">
|
||||
<link rel="stylesheet" href="//localhost:1313/css/chroma.min.css">
|
||||
<script defer src="//localhost:1313//js/fontawesome6/all.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery.easing@1.4.1/jquery.easing.min.js" integrity="sha256-H3cjtrm/ztDeuhCN9I4yh4iN2Ybx/y1RM7rMmAesA0k=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js" integrity="sha256-4XodgW4TwIJuDtf+v6vDJ39FVxI0veC/kSCCmnFp7ck=" crossorigin="anonymous"></script>
|
||||
<script src="//localhost:1313/js/bundle.js"></script><style>
|
||||
:root {}
|
||||
</style>
|
||||
<meta property="og:url" content="//localhost:1313/posts/premier-test/">
|
||||
<meta property="og:site_name" content="Aide pour les TSSR">
|
||||
<meta property="og:title" content="Premier Test">
|
||||
<meta property="og:description" content="Test de post">
|
||||
<meta property="og:locale" content="fr_fr">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="article:section" content="posts">
|
||||
<meta property="article:published_time" content="2025-01-22T12:02:03+01:00">
|
||||
<meta property="article:modified_time" content="2025-01-22T12:02:03+01:00">
|
||||
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:title" content="Premier Test">
|
||||
<meta name="twitter:description" content="Test de post">
|
||||
|
||||
<meta itemprop="name" content="Premier Test">
|
||||
<meta itemprop="description" content="Test de post">
|
||||
<meta itemprop="datePublished" content="2025-01-22T12:02:03+01:00">
|
||||
<meta itemprop="dateModified" content="2025-01-22T12:02:03+01:00">
|
||||
<meta itemprop="wordCount" content="3"></head>
|
||||
<body>
|
||||
|
||||
<div class="container"><header>
|
||||
<h1>Aide pour les TSSR</h1><span class="version">Version 1.0.0</span>
|
||||
</header>
|
||||
<div class="global-menu">
|
||||
<nav>
|
||||
<ul>
|
||||
<li id="Accueil" class=""><a href="/"><i class='fa fa-heart'></i> Accueil</a></li>
|
||||
<li class=""><a href="/about/">About</a></li></ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div class="content-container">
|
||||
<main><h1>Premier Test</h1><p>Test de post</p>
|
||||
<div class="edit-meta">
|
||||
Last updated on 22 Jan 2025
|
||||
|
||||
|
||||
<br>
|
||||
Published on 22 Jan 2025
|
||||
<br></div><nav class="pagination"><a class="nav nav-prev" href="//localhost:1313/posts/" title="Posts"><i class="fas fa-arrow-left" aria-hidden="true"></i> Prev - Posts</a>
|
||||
<a class="nav nav-next" href="//localhost:1313/cisco/" title="Cisco">Next - Cisco <i class="fas fa-arrow-right" aria-hidden="true"></i></a>
|
||||
</nav><footer><p class="powered">Powered by <a href="https://gohugo.io">Hugo</a>. Theme by <a href="https://themes.gohugo.io/hugo-theme-techdoc/">TechDoc</a>. Designed by <a href="https://github.com/thingsym/hugo-theme-techdoc">Thingsym</a>.</p>
|
||||
</footer>
|
||||
</main>
|
||||
<div class="sidebar">
|
||||
|
||||
<nav class="slide-menu">
|
||||
<ul>
|
||||
<li class=""><a href="//localhost:1313/">Home</a></li>
|
||||
|
||||
<li class=" has-sub-menu"><a href="//localhost:1313/cisco/">Cisco<span class="mark closed">+</span></a>
|
||||
|
||||
<ul class="sub-menu">
|
||||
<li class=""><a href="//localhost:1313/cisco/commande-g%C3%A9n%C3%A9rale/">Commande Générale</a></li>
|
||||
<li class=""><a href="//localhost:1313/cisco/switch/">Switch</a></li>
|
||||
<li class=""><a href="//localhost:1313/cisco/routeur/">Routeur</a></li>
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
|
||||
|
||||
<div class="sidebar-footer"></div>
|
||||
</div>
|
||||
|
||||
</div><a href="#" id="backtothetop-fixed" class="backtothetop"
|
||||
data-backtothetop-duration="600"
|
||||
data-backtothetop-easing="easeOutQuart"
|
||||
data-backtothetop-fixed-fadeIn="1000"
|
||||
data-backtothetop-fixed-fadeOut="1000"
|
||||
data-backtothetop-fixed-bottom="10"
|
||||
data-backtothetop-fixed-right="20">
|
||||
<span class="fa-layers fa-fw">
|
||||
<i class="fas fa-circle"></i>
|
||||
<i class="fas fa-arrow-circle-up"></i>
|
||||
</span></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,30 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
||||
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||
<url>
|
||||
<loc>//localhost:1313/cisco/</loc>
|
||||
<lastmod>2025-01-24T08:42:08+01:00</lastmod>
|
||||
</url><url>
|
||||
<loc>//localhost:1313/about/</loc>
|
||||
<lastmod>2025-01-22T13:14:15+01:00</lastmod>
|
||||
</url><url>
|
||||
<loc>//localhost:1313/tutoriel/cisco/</loc>
|
||||
<lastmod>2025-01-22T12:04:10+01:00</lastmod>
|
||||
</url><url>
|
||||
<loc>//localhost:1313/tutoriel/</loc>
|
||||
<lastmod>2025-01-22T12:04:10+01:00</lastmod>
|
||||
</url><url>
|
||||
<loc>//localhost:1313/posts/</loc>
|
||||
<lastmod>2025-01-22T12:02:03+01:00</lastmod>
|
||||
</url><url>
|
||||
<loc>//localhost:1313/posts/premier-test/</loc>
|
||||
<lastmod>2025-01-22T12:02:03+01:00</lastmod>
|
||||
</url><url>
|
||||
<loc>//localhost:1313/</loc>
|
||||
<lastmod>2025-01-22T00:00:00+00:00</lastmod>
|
||||
</url><url>
|
||||
<loc>//localhost:1313/categories/</loc>
|
||||
</url><url>
|
||||
<loc>//localhost:1313/tags/</loc>
|
||||
</url>
|
||||
</urlset>
|
|
@ -1,87 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="fr-fr">
|
||||
<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<title>Tags - Aide pour les TSSR</title>
|
||||
<meta name="generator" content="Hugo 0.141.0">
|
||||
<link href="//localhost:1313//index.xml" rel="alternate" type="application/rss+xml">
|
||||
<link rel="canonical" href="//localhost:1313/tags/">
|
||||
<link rel="stylesheet" href="//localhost:1313/css/theme.min.css">
|
||||
<link rel="stylesheet" href="//localhost:1313/css/chroma.min.css">
|
||||
<script defer src="//localhost:1313//js/fontawesome6/all.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery.easing@1.4.1/jquery.easing.min.js" integrity="sha256-H3cjtrm/ztDeuhCN9I4yh4iN2Ybx/y1RM7rMmAesA0k=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js" integrity="sha256-4XodgW4TwIJuDtf+v6vDJ39FVxI0veC/kSCCmnFp7ck=" crossorigin="anonymous"></script>
|
||||
<script src="//localhost:1313/js/bundle.js"></script><style>
|
||||
:root {}
|
||||
</style>
|
||||
<meta property="og:url" content="//localhost:1313/tags/">
|
||||
<meta property="og:site_name" content="Aide pour les TSSR">
|
||||
<meta property="og:title" content="Tags">
|
||||
<meta property="og:locale" content="fr_fr">
|
||||
<meta property="og:type" content="website">
|
||||
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:title" content="Tags">
|
||||
|
||||
<meta itemprop="name" content="Tags"></head>
|
||||
<body>
|
||||
|
||||
<div class="container"><header>
|
||||
<h1>Aide pour les TSSR</h1><span class="version">Version 1.0.0</span>
|
||||
</header>
|
||||
<div class="global-menu">
|
||||
<nav>
|
||||
<ul>
|
||||
<li id="Accueil" class=""><a href="/"><i class='fa fa-heart'></i> Accueil</a></li>
|
||||
<li class=""><a href="/about/">About</a></li></ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div class="content-container">
|
||||
<main><h1>Tags</h1><div class="edit-meta">
|
||||
|
||||
<br></div><nav class="pagination"><a class="nav nav-next" href="//localhost:1313/cisco/" title="Cisco">Next - Cisco <i class="fas fa-arrow-right" aria-hidden="true"></i></a>
|
||||
</nav><footer><p class="powered">Powered by <a href="https://gohugo.io">Hugo</a>. Theme by <a href="https://themes.gohugo.io/hugo-theme-techdoc/">TechDoc</a>. Designed by <a href="https://github.com/thingsym/hugo-theme-techdoc">Thingsym</a>.</p>
|
||||
</footer>
|
||||
</main>
|
||||
<div class="sidebar">
|
||||
|
||||
<nav class="slide-menu">
|
||||
<ul>
|
||||
<li class=""><a href="//localhost:1313/">Home</a></li>
|
||||
|
||||
<li class=" has-sub-menu"><a href="//localhost:1313/cisco/">Cisco<span class="mark closed">+</span></a>
|
||||
|
||||
<ul class="sub-menu">
|
||||
<li class=""><a href="//localhost:1313/cisco/commande-g%C3%A9n%C3%A9rale/">Commande Générale</a></li>
|
||||
<li class=""><a href="//localhost:1313/cisco/switch/">Switch</a></li>
|
||||
<li class=""><a href="//localhost:1313/cisco/routeur/">Routeur</a></li>
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
|
||||
|
||||
<div class="sidebar-footer"></div>
|
||||
</div>
|
||||
|
||||
</div><a href="#" id="backtothetop-fixed" class="backtothetop"
|
||||
data-backtothetop-duration="600"
|
||||
data-backtothetop-easing="easeOutQuart"
|
||||
data-backtothetop-fixed-fadeIn="1000"
|
||||
data-backtothetop-fixed-fadeOut="1000"
|
||||
data-backtothetop-fixed-bottom="10"
|
||||
data-backtothetop-fixed-right="20">
|
||||
<span class="fa-layers fa-fw">
|
||||
<i class="fas fa-circle"></i>
|
||||
<i class="fas fa-arrow-circle-up"></i>
|
||||
</span></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,11 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Tags on Aide pour les TSSR</title>
|
||||
<link>//localhost:1313/tags/</link>
|
||||
<description>Recent content in Tags on Aide pour les TSSR</description>
|
||||
<generator>Hugo</generator>
|
||||
<language>fr-fr</language>
|
||||
<atom:link href="//localhost:1313/tags/index.xml" rel="self" type="application/rss+xml" />
|
||||
</channel>
|
||||
</rss>
|
|
@ -1,359 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="fr-fr">
|
||||
<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<title>Cisco - Aide pour les TSSR</title>
|
||||
<meta name="generator" content="Hugo 0.141.0">
|
||||
<link href="//localhost:1313//index.xml" rel="alternate" type="application/rss+xml">
|
||||
<link rel="canonical" href="//localhost:1313/tutoriel/cisco/">
|
||||
<link rel="stylesheet" href="//localhost:1313/css/theme.min.css">
|
||||
<link rel="stylesheet" href="//localhost:1313/css/chroma.min.css">
|
||||
<script defer src="//localhost:1313//js/fontawesome6/all.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery.easing@1.4.1/jquery.easing.min.js" integrity="sha256-H3cjtrm/ztDeuhCN9I4yh4iN2Ybx/y1RM7rMmAesA0k=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js" integrity="sha256-4XodgW4TwIJuDtf+v6vDJ39FVxI0veC/kSCCmnFp7ck=" crossorigin="anonymous"></script>
|
||||
<script src="//localhost:1313/js/bundle.js"></script><style>
|
||||
:root {}
|
||||
</style>
|
||||
<meta property="og:url" content="//localhost:1313/tutoriel/cisco/">
|
||||
<meta property="og:site_name" content="Aide pour les TSSR">
|
||||
<meta property="og:title" content="Cisco">
|
||||
<meta property="og:description" content="Configuration de base nommer l’équipement Switch> enable Switch# configure terminal Switch(conf)# hostname Host protéger l’accès console Switch(conf)# line {console|aux|tty|vty} {0-xx} [1-x] Switch(conf-line)# password *mot de passe* Switch(conf-line)# login mot de passe “enable” Switch(conf)# enable {password|secret} *mot de passe* Activer le chiffrement des mdp Switch(conf)# service password-encryption Configurer la SVI (Switch Virtual Interface) Switch(conf)# interface vlan1 Switch(conf-if)# ip address A.B.C.D M1.M2.M3.M4 Switch(conf-if)# no shutdown mettre en place une passerelle par défaut sur un switch Switch(conf)# ip default-gateway A.B.C.D sauvegarde de la configuation en cours vers démarrage Switch# copy running-config startup-config ou">
|
||||
<meta property="og:locale" content="fr_fr">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="article:section" content="tutoriel">
|
||||
<meta property="article:published_time" content="2025-01-22T12:04:10+01:00">
|
||||
<meta property="article:modified_time" content="2025-01-22T12:04:10+01:00">
|
||||
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:title" content="Cisco">
|
||||
<meta name="twitter:description" content="Configuration de base nommer l’équipement Switch> enable Switch# configure terminal Switch(conf)# hostname Host protéger l’accès console Switch(conf)# line {console|aux|tty|vty} {0-xx} [1-x] Switch(conf-line)# password *mot de passe* Switch(conf-line)# login mot de passe “enable” Switch(conf)# enable {password|secret} *mot de passe* Activer le chiffrement des mdp Switch(conf)# service password-encryption Configurer la SVI (Switch Virtual Interface) Switch(conf)# interface vlan1 Switch(conf-if)# ip address A.B.C.D M1.M2.M3.M4 Switch(conf-if)# no shutdown mettre en place une passerelle par défaut sur un switch Switch(conf)# ip default-gateway A.B.C.D sauvegarde de la configuation en cours vers démarrage Switch# copy running-config startup-config ou">
|
||||
|
||||
<meta itemprop="name" content="Cisco">
|
||||
<meta itemprop="description" content="Configuration de base nommer l’équipement Switch> enable Switch# configure terminal Switch(conf)# hostname Host protéger l’accès console Switch(conf)# line {console|aux|tty|vty} {0-xx} [1-x] Switch(conf-line)# password *mot de passe* Switch(conf-line)# login mot de passe “enable” Switch(conf)# enable {password|secret} *mot de passe* Activer le chiffrement des mdp Switch(conf)# service password-encryption Configurer la SVI (Switch Virtual Interface) Switch(conf)# interface vlan1 Switch(conf-if)# ip address A.B.C.D M1.M2.M3.M4 Switch(conf-if)# no shutdown mettre en place une passerelle par défaut sur un switch Switch(conf)# ip default-gateway A.B.C.D sauvegarde de la configuation en cours vers démarrage Switch# copy running-config startup-config ou">
|
||||
<meta itemprop="datePublished" content="2025-01-22T12:04:10+01:00">
|
||||
<meta itemprop="dateModified" content="2025-01-22T12:04:10+01:00">
|
||||
<meta itemprop="wordCount" content="946"></head>
|
||||
<body>
|
||||
|
||||
<div class="container"><header>
|
||||
<h1>Aide pour les TSSR</h1><span class="version">Version 1.0.0</span>
|
||||
</header>
|
||||
<div class="global-menu">
|
||||
<nav>
|
||||
<ul>
|
||||
<li id="Accueil" class=""><a href="/"><i class='fa fa-heart'></i> Accueil</a></li>
|
||||
<li class=""><a href="/about/">About</a></li></ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div class="content-container">
|
||||
<main><h1>Cisco</h1>
|
||||
<h1 id="configuration-de-base">Configuration de base</h1>
|
||||
<h2 id="nommer-léquipement">nommer l’équipement</h2>
|
||||
<pre><code>Switch> enable
|
||||
Switch# configure terminal
|
||||
Switch(conf)# hostname Host
|
||||
</code></pre>
|
||||
<h2 id="protéger-laccès-console">protéger l’accès console</h2>
|
||||
<pre><code>Switch(conf)# line {console|aux|tty|vty} {0-xx} [1-x]
|
||||
Switch(conf-line)# password *mot de passe*
|
||||
Switch(conf-line)# login
|
||||
</code></pre>
|
||||
<h2 id="mot-de-passe-enable">mot de passe “enable”</h2>
|
||||
<pre><code>Switch(conf)# enable {password|secret} *mot de passe*
|
||||
</code></pre>
|
||||
<h2 id="activer-le-chiffrement-des-mdp">Activer le chiffrement des mdp</h2>
|
||||
<pre><code>Switch(conf)# service password-encryption
|
||||
</code></pre>
|
||||
<h2 id="configurer-la-svi-switch-virtual-interface">Configurer la SVI (Switch Virtual Interface)</h2>
|
||||
<pre><code>Switch(conf)# interface vlan1
|
||||
Switch(conf-if)# ip address A.B.C.D M1.M2.M3.M4
|
||||
Switch(conf-if)# no shutdown
|
||||
</code></pre>
|
||||
<h2 id="mettre-en-place-une-passerelle-par-défaut-sur-un-switch">mettre en place une passerelle par défaut sur un switch</h2>
|
||||
<pre><code>Switch(conf)# ip default-gateway A.B.C.D
|
||||
</code></pre>
|
||||
<h2 id="sauvegarde-de-la-configuation-en-cours-vers-démarrage">sauvegarde de la configuation en cours vers démarrage</h2>
|
||||
<pre><code>Switch# copy running-config startup-config
|
||||
</code></pre>
|
||||
<p>ou</p>
|
||||
<pre><code>Switch# write
|
||||
</code></pre>
|
||||
<h2 id="désactivation-de-la-recherche-dns-dans-linterface">désactivation de la recherche DNS dans l’interface</h2>
|
||||
<pre><code>Switch(conf)# no ip domain-lookup
|
||||
</code></pre>
|
||||
<h2 id="voir-la-configuration-en-cours">Voir la configuration en cours</h2>
|
||||
<pre><code>Switch# Show running-config
|
||||
</code></pre>
|
||||
<h2 id="voir-la-configuration-du-fichier-sauvegarde-sur-la-nvram">Voir la configuration du fichier sauvegarde sur la NVRAM</h2>
|
||||
<pre><code>Switch# Show startup-config
|
||||
</code></pre>
|
||||
<h1 id="configuration-ssh">Configuration SSH</h1>
|
||||
<h2 id="prérequi">prérequi</h2>
|
||||
<ul>
|
||||
<li>renomer l’équipement</li>
|
||||
<li>mettre mot de passe “enable”</li>
|
||||
</ul>
|
||||
<h2 id="définir-un-nom-de-domain">définir un nom de domain</h2>
|
||||
<pre><code>Switch(conf)# ip domain-name *nom-de-domaine*
|
||||
</code></pre>
|
||||
<h2 id="activer-la-version-2-de-ssh">activer la version 2 de SSH</h2>
|
||||
<pre><code>Switch(conf)# ip ssh version 2
|
||||
</code></pre>
|
||||
<h2 id="générer-clés-ssh">générer clés ssh</h2>
|
||||
<pre><code>Switch(conf)# crypto key generate rsa general-keys modulus *1024*
|
||||
</code></pre>
|
||||
<h2 id="créer-un-utilisateur-local">créer un utilisateur local</h2>
|
||||
<pre><code>Switch(conf)# username *login* {secret|password} *mot-de-passe*
|
||||
</code></pre>
|
||||
<h2 id="ajout-dun-time-out">Ajout d’un time out</h2>
|
||||
<pre><code>Switch(conf)# ip ssh time-out {nbsec}
|
||||
</code></pre>
|
||||
<h2 id="ajout-dun-nombre-de-tentative">ajout d’un nombre de tentative</h2>
|
||||
<pre><code>Switch(conf)# ip ssh authentication-retries {nb tentative}
|
||||
</code></pre>
|
||||
<h2 id="configuration-du-maximum-de-conenxion-simultanné">configuration du maximum de conenxion simultanné</h2>
|
||||
<pre><code>Switch(conf)# ip ssh maxstartups {2-128}
|
||||
</code></pre>
|
||||
<h2 id="configurer-ligne-vty">configurer ligne vty</h2>
|
||||
<pre><code>Switch(conf)# line vty 0 15
|
||||
Switch(conf-line)# login local
|
||||
Switch(conf-line)# transport input ssh
|
||||
Switch(conf-line)# no password
|
||||
</code></pre>
|
||||
<h1 id="configuration-vlan-sur-un-switch">Configuration Vlan sur un Switch</h1>
|
||||
<h2 id="définir-un-vlan">Définir un Vlan</h2>
|
||||
<pre><code>Switch> enable
|
||||
Switch# configure terminal
|
||||
Switch(conf)# vlan *numero Vlan*
|
||||
Switch(conf-vlan)# name *nom*
|
||||
Switch(conf-vlan)# exit
|
||||
Switch(conf)#
|
||||
</code></pre>
|
||||
<h2 id="rattacher-un-port-à-un-vlan">Rattacher un port à un VLAN</h2>
|
||||
<pre><code>Switch> enable
|
||||
Switch# configure terminal
|
||||
Switch(conf)# interface *interface*
|
||||
Switch(conf-if)# switchport mode access
|
||||
Switch(conf-if)# switchport access vlan *numero Vlan*
|
||||
Switch(conf-if)# exit
|
||||
Switch(conf)#
|
||||
</code></pre>
|
||||
<h2 id="rattacher-un-ensemble-de-ports-à-un-vlan">Rattacher un ensemble de ports à un VLAN</h2>
|
||||
<pre><code>Switch> enable
|
||||
Switch# configure terminal
|
||||
Switch(conf)# interface range *1ère interface* - *dernière interface*
|
||||
Switch(conf-if)# switchport mode access
|
||||
Switch(conf-if)# switchport access vlan *numero Vlan*
|
||||
Switch(conf-if)# exit
|
||||
Switch(conf)#
|
||||
</code></pre>
|
||||
<h2 id="configurer-un-port-en-mode-trunk">Configurer un port en mode TRUNK</h2>
|
||||
<p>Le mode TRUNK permet a plusieurs vlan de passer par le même port
|
||||
Switch> enable
|
||||
Switch# configure terminal
|
||||
Switch(conf)# interface <em>interface</em>
|
||||
Switch(conf-if)# switchport mode trunk
|
||||
Switch(conf-if)# switchport trunk allowed vlan <em>Vlan1</em> [,<em>VLan2</em>]
|
||||
Switch(conf-if)# exit
|
||||
Switch(conf)#</p>
|
||||
<h2 id="activation-du-routage-entre-les-vlans-si-switch-niveau-3">activation du routage entre les VLANs si switch niveau 3</h2>
|
||||
<p>attriber des adresse ip au vlan et les déclarer en passerelles dans les hôtes connectés</p>
|
||||
<pre><code>Switch> enable
|
||||
Switch# configure terminal
|
||||
Switch(conf)# ip routing
|
||||
</code></pre>
|
||||
<h1 id="configuration-security-port">Configuration Security port</h1>
|
||||
<pre><code>Switch> enable
|
||||
Switch# configure terminal
|
||||
Switch(conf)# interface *interface*
|
||||
Switch(conf-if)# switchport mode access
|
||||
Switch(conf-if)# switchport port-security
|
||||
Switch(conf-if)# switchport port-security maximum *nb de tentative*
|
||||
Switch(conf-if)# switchport port-security mac-address {sticky|*MAC*}
|
||||
Switch(conf-if)# switchport port-security violation {protect|restrict|shutdown}
|
||||
</code></pre>
|
||||
<h1 id="configuration-route">Configuration route</h1>
|
||||
<h2 id="route-statique">Route statique</h2>
|
||||
<pre><code>Router(conf)# ip route *réseau* *masque* { *adresse ip* | *interface sortie* [ *adresse-ip* ] }
|
||||
</code></pre>
|
||||
<p>ou
|
||||
Router(conf)# ipv6 unicast-routing
|
||||
Router(conf)# ipv6 route <em>réseau/masque</em> { <em>adresse ip</em> | <em>interface sortie</em> [ <em>adresse-ip</em> ] }</p>
|
||||
<h2 id="route-par-défaut">Route par défaut</h2>
|
||||
<pre><code>Router(conf)# ip route 0.0.0.0 0.0.0.0 { *adresse ip* | *interface sortie* [ *adresse-ip* ] }
|
||||
</code></pre>
|
||||
<p>ou
|
||||
Router(conf)#
|
||||
Router(conf)# ipv6 route <em>::/0</em> { <em>adresse ip</em> | <em>interface sortie</em> [ <em>adresse-ip</em> ] }</p>
|
||||
<h2 id="inferface-virtuelle-pour-mode-trunk">inferface virtuelle pour mode TRUNK</h2>
|
||||
<pre><code>Router(config)# interface [interface].[id]
|
||||
Router(config-if)# encapsulation dot1Q [vlan]
|
||||
Router(config-if)# ip address *rid* 255.255.255.255
|
||||
Router(config-if)# no shutdown
|
||||
</code></pre>
|
||||
<p>ne pas oublier d’allumer l’interface générale</p>
|
||||
<h2 id="routage-dynamique-ripv2">Routage dynamique RIPv2</h2>
|
||||
<h3 id="activation-du-routage">activation du routage</h3>
|
||||
<pre><code>Router(conf)# router rip
|
||||
</code></pre>
|
||||
<h3 id="activation-de-la-version-2">activation de la version 2</h3>
|
||||
<pre><code>Router(conf-router)# version 2
|
||||
</code></pre>
|
||||
<h3 id="déclaration-des-réseaux-qui-lui-sont-directement-connecter">déclaration des réseaux qui lui sont directement connecter</h3>
|
||||
<pre><code>Router(conf-router)# network *réseau connue*
|
||||
</code></pre>
|
||||
<h3 id="désactiver-le-résumer-des-routes">désactiver le résumer des routes</h3>
|
||||
<pre><code>Router(conf-router)# no auto-summary
|
||||
</code></pre>
|
||||
<h3 id="désactiver-lenvoie-des-mise-à-jours-de-la-table-de-routage-vers-interface-non-voulue">désactiver l’envoie des mise à jours de la table de routage vers interface non voulue</h3>
|
||||
<pre><code>Router(conf-router)# passive-interface *interface*
|
||||
</code></pre>
|
||||
<h3 id="propagation-route-par-défaut">propagation route par défaut</h3>
|
||||
<p>Obligation d’avoir la route par défaut Configurer sur le routeur
|
||||
Router(conf-router)# default-information originate</p>
|
||||
<h2 id="routage-dynamique-ospf">Routage dynamique OSPF</h2>
|
||||
<h3 id="activation-du-routage-1">activation du routage</h3>
|
||||
<pre><code>Router(conf)# router ospf *10* // même numéro pour tous les routeurs
|
||||
</code></pre>
|
||||
<h3 id="définition-de-lid-du-routeur">définition de l’ID du routeur</h3>
|
||||
<pre><code>Router(conf-router)# router-id *rid*
|
||||
</code></pre>
|
||||
<p>ou
|
||||
Router(config)# interface Loopback 1
|
||||
Router(config-if)# ip address <em>rid</em> 255.255.255.255
|
||||
Router(config-if)# end
|
||||
avec <em>rid</em> de forme adresse IP</p>
|
||||
<h3 id="modification-de-lid">modification de l’ID</h3>
|
||||
<pre><code>Router(conf)# router ospf *10* // même numéro pour tous les routeurs
|
||||
Router(conf-router)# router-id *rid*
|
||||
Router# clear ip ospf proccess
|
||||
</code></pre>
|
||||
<h3 id="déclaration-dun-réseau">déclaration d’un réseau</h3>
|
||||
<pre><code>Router(conf-router)# network *réseau* *masque inverse* area *id réseau*
|
||||
</code></pre>
|
||||
<p>masque inverse = masque réseau - 255.255.255.255 octet par octet</p>
|
||||
<h3 id="désactiver-lenvoie-des-mise-à-jours-de-la-table-de-routage-vers-interface-non-voulue-1">désactiver l’envoie des mise à jours de la table de routage vers interface non voulue</h3>
|
||||
<pre><code>Router(conf-router)# passive-interface *interface*
|
||||
</code></pre>
|
||||
<h3 id="commande-pour-vérifier-configuration-ospf-interface">commande pour vérifier configuration ospf Interface</h3>
|
||||
<pre><code>Router# show ip ospf interface *interface*
|
||||
</code></pre>
|
||||
<h1 id="configuration-dun-dhcp">Configuration d’un DHCP</h1>
|
||||
<h2 id="désactivation-dadresse-ip-à-distribuer">désactivation d’adresse ip à distribuer</h2>
|
||||
<pre><code>Router> enable
|
||||
Router# configure terminal
|
||||
Router(config)# ip dhcp exclude-address *ip début* [*ip fin*]
|
||||
</code></pre>
|
||||
<h2 id="déclaration-de-la-pool">déclaration de la pool</h2>
|
||||
<pre><code>Router> enable
|
||||
Router# configure terminal
|
||||
Router(config)# ip dhcp pool *Nom*
|
||||
Router(dhcp-config)# network *reseau* *Masque*
|
||||
Router(dhcp-config)# dns-server *ip_dns*
|
||||
Router(dhcp-config)# default-router *Gateway*
|
||||
</code></pre>
|
||||
<h2 id="déclaration-dun-relay-dhcp">déclaration d’un relay dhcp</h2>
|
||||
<pre><code>Router> enable
|
||||
Router# configure terminal
|
||||
Router(config)# interface {interface}
|
||||
Router(config-if)# ip helper-address {IP DHCP }
|
||||
</code></pre>
|
||||
<h1 id="configuration-acl">Configuration ACL</h1>
|
||||
<h2 id="configuration-dune-acl-numéroté">Configuration d’une ACL numéroté</h2>
|
||||
<pre><code>Router> enable
|
||||
Router# configure terminal
|
||||
Router# access-list *numero* deny *ip adresse* *wilcard mask*
|
||||
Router# access-list *numero* permit any
|
||||
Router(config)# interface {interface}
|
||||
Router(config-if)# ip access-group *numero* out
|
||||
</code></pre>
|
||||
<h2 id="configuration-dune-acl-standard-nommée">Configuration d’une ACL standard nommée</h2>
|
||||
<pre><code>Router> enable
|
||||
Router# configure terminal
|
||||
Router# ip access-list standard *nom de l'acl"
|
||||
Router(config-std-nacl)# permit host *ip host*
|
||||
Router(config-std-nacl)# deny any
|
||||
</code></pre>
|
||||
<h2 id="application-dune-acl-nommée">application d’une ACL nommée</h2>
|
||||
<pre><code>Router> enable
|
||||
Router# configure terminal
|
||||
Router(config)# interface {interface}
|
||||
Router(config-if)# ip access-group *nom de l'acl* {in|out}
|
||||
</code></pre>
|
||||
<h2 id="sécurisation-des-ligne-vty-par-acl">sécurisation des ligne vty par ACL</h2>
|
||||
<pre><code>Router> enable
|
||||
Router# configure terminal
|
||||
Router(config)# access-list *numero* permit host *ip adresse*
|
||||
Router(config)# line vty {0} [n]
|
||||
Router(config-line)# access-class *numero* in
|
||||
</code></pre>
|
||||
<h1 id="configuration-du-nat">Configuration du NAT</h1>
|
||||
<h2 id="définition-dune-acl-pour-qui-a-le-droit-de-sortir-avec-le-nat">définition d’une ACL pour qui a le droit de sortir avec le NAT</h2>
|
||||
<pre><code>Router(config)# access-list *numero* permit *network* *wilcard*
|
||||
</code></pre>
|
||||
<h2 id="configuration-de-la-pool-dip-publique">configuration de la pool d’ip publique</h2>
|
||||
<pre><code>Router(config)# ip nat pool *Nom* *ip start* *ip end* netmask *masque*
|
||||
</code></pre>
|
||||
<h2 id="affectation-de-lacl-a-la-parti-locale-du-réseau-nat-dynamique">affectation de l’acl a la parti locale du réseau NAT dynamique</h2>
|
||||
<pre><code>Router(config)# ip nat inside source list *numero acl* pool *nom de la pool*
|
||||
</code></pre>
|
||||
<h2 id="nat-statique">NAT statique</h2>
|
||||
<pre><code>Router(config)# ip nat inside source *ip locale* *ip publique*
|
||||
</code></pre>
|
||||
<h2 id="déclaration-lien-inside">Déclaration lien inside</h2>
|
||||
<h2 id="déclaration-lien-ouside">Déclaration lien ouside</h2>
|
||||
<div class="edit-meta">
|
||||
Last updated on 22 Jan 2025
|
||||
|
||||
|
||||
<br>
|
||||
Published on 22 Jan 2025
|
||||
<br></div><nav class="pagination"><a class="nav nav-prev" href="//localhost:1313/tutoriel/" title="Tutoriels"><i class="fas fa-arrow-left" aria-hidden="true"></i> Prev - Tutoriels</a>
|
||||
<a class="nav nav-next" href="//localhost:1313/cisco/" title="Cisco">Next - Cisco <i class="fas fa-arrow-right" aria-hidden="true"></i></a>
|
||||
</nav><footer><p class="powered">Powered by <a href="https://gohugo.io">Hugo</a>. Theme by <a href="https://themes.gohugo.io/hugo-theme-techdoc/">TechDoc</a>. Designed by <a href="https://github.com/thingsym/hugo-theme-techdoc">Thingsym</a>.</p>
|
||||
</footer>
|
||||
</main>
|
||||
<div class="sidebar">
|
||||
|
||||
<nav class="slide-menu">
|
||||
<ul>
|
||||
<li class=""><a href="//localhost:1313/">Home</a></li>
|
||||
|
||||
<li class=""><a href="//localhost:1313/cisco/">Cisco</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="parent has-sub-menu"><a href="//localhost:1313/tutoriel/">Tutoriels<span class="mark opened">-</span></a>
|
||||
|
||||
<ul class="sub-menu">
|
||||
<li class="active"><a href="//localhost:1313/tutoriel/cisco/">Cisco</a></li>
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
|
||||
|
||||
<div class="sidebar-footer"></div>
|
||||
</div>
|
||||
|
||||
</div><a href="#" id="backtothetop-fixed" class="backtothetop"
|
||||
data-backtothetop-duration="600"
|
||||
data-backtothetop-easing="easeOutQuart"
|
||||
data-backtothetop-fixed-fadeIn="1000"
|
||||
data-backtothetop-fixed-fadeOut="1000"
|
||||
data-backtothetop-fixed-bottom="10"
|
||||
data-backtothetop-fixed-right="20">
|
||||
<span class="fa-layers fa-fw">
|
||||
<i class="fas fa-circle"></i>
|
||||
<i class="fas fa-arrow-circle-up"></i>
|
||||
</span></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,102 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="fr-fr">
|
||||
<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<title>Tutoriels - Aide pour les TSSR</title>
|
||||
<meta name="generator" content="Hugo 0.141.0">
|
||||
<link href="//localhost:1313//index.xml" rel="alternate" type="application/rss+xml">
|
||||
<link rel="canonical" href="//localhost:1313/tutoriel/">
|
||||
<link rel="stylesheet" href="//localhost:1313/css/theme.min.css">
|
||||
<link rel="stylesheet" href="//localhost:1313/css/chroma.min.css">
|
||||
<script defer src="//localhost:1313//js/fontawesome6/all.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery.easing@1.4.1/jquery.easing.min.js" integrity="sha256-H3cjtrm/ztDeuhCN9I4yh4iN2Ybx/y1RM7rMmAesA0k=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js" integrity="sha256-4XodgW4TwIJuDtf+v6vDJ39FVxI0veC/kSCCmnFp7ck=" crossorigin="anonymous"></script>
|
||||
<script src="//localhost:1313/js/bundle.js"></script><style>
|
||||
:root {}
|
||||
</style>
|
||||
<meta property="og:url" content="//localhost:1313/tutoriel/">
|
||||
<meta property="og:site_name" content="Aide pour les TSSR">
|
||||
<meta property="og:title" content="Tutoriels">
|
||||
<meta property="og:locale" content="fr_fr">
|
||||
<meta property="og:type" content="website">
|
||||
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:title" content="Tutoriels">
|
||||
|
||||
<meta itemprop="name" content="Tutoriels">
|
||||
<meta itemprop="datePublished" content="2025-01-22T12:04:10+01:00">
|
||||
<meta itemprop="dateModified" content="2025-01-22T12:04:10+01:00"></head>
|
||||
<body>
|
||||
|
||||
<div class="container"><header>
|
||||
<h1>Aide pour les TSSR</h1><span class="version">Version 1.0.0</span>
|
||||
</header>
|
||||
<div class="global-menu">
|
||||
<nav>
|
||||
<ul>
|
||||
<li id="Accueil" class=""><a href="/"><i class='fa fa-heart'></i> Accueil</a></li>
|
||||
<li class=""><a href="/about/">About</a></li></ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div class="content-container">
|
||||
<main><h1>Tutoriels</h1><div class="edit-meta">
|
||||
Last updated on 22 Jan 2025
|
||||
|
||||
|
||||
<br>
|
||||
Published on 22 Jan 2025
|
||||
<br></div><nav class="pagination"><a class="nav nav-prev" href="//localhost:1313/cisco/routeur/" title="Routeur"><i class="fas fa-arrow-left" aria-hidden="true"></i> Prev - Routeur</a>
|
||||
<a class="nav nav-next" href="//localhost:1313/tutoriel/cisco/" title="Cisco">Next - Cisco <i class="fas fa-arrow-right" aria-hidden="true"></i></a>
|
||||
</nav><footer><p class="powered">Powered by <a href="https://gohugo.io">Hugo</a>. Theme by <a href="https://themes.gohugo.io/hugo-theme-techdoc/">TechDoc</a>. Designed by <a href="https://github.com/thingsym/hugo-theme-techdoc">Thingsym</a>.</p>
|
||||
</footer>
|
||||
</main>
|
||||
<div class="sidebar">
|
||||
|
||||
<nav class="slide-menu">
|
||||
<ul>
|
||||
<li class=""><a href="//localhost:1313/">Home</a></li>
|
||||
|
||||
<li class=" has-sub-menu"><a href="//localhost:1313/cisco/">Cisco<span class="mark closed">+</span></a>
|
||||
|
||||
<ul class="sub-menu">
|
||||
<li class=""><a href="//localhost:1313/cisco/commande-g%C3%A9n%C3%A9rale/">Commande Générale</a></li>
|
||||
<li class=""><a href="//localhost:1313/cisco/switch/">Switch</a></li>
|
||||
<li class=""><a href="//localhost:1313/cisco/routeur/">Routeur</a></li>
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" has-sub-menu"><a href="//localhost:1313/tutoriel/">Tutoriels<span class="mark closed">+</span></a>
|
||||
|
||||
<ul class="sub-menu">
|
||||
<li class=""><a href="//localhost:1313/tutoriel/cisco/">Cisco</a></li>
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
|
||||
|
||||
<div class="sidebar-footer"></div>
|
||||
</div>
|
||||
|
||||
</div><a href="#" id="backtothetop-fixed" class="backtothetop"
|
||||
data-backtothetop-duration="600"
|
||||
data-backtothetop-easing="easeOutQuart"
|
||||
data-backtothetop-fixed-fadeIn="1000"
|
||||
data-backtothetop-fixed-fadeOut="1000"
|
||||
data-backtothetop-fixed-bottom="10"
|
||||
data-backtothetop-fixed-right="20">
|
||||
<span class="fa-layers fa-fw">
|
||||
<i class="fas fa-circle"></i>
|
||||
<i class="fas fa-arrow-circle-up"></i>
|
||||
</span></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,19 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Tutoriels on Aide pour les TSSR</title>
|
||||
<link>//localhost:1313/tutoriel/</link>
|
||||
<description>Recent content in Tutoriels on Aide pour les TSSR</description>
|
||||
<generator>Hugo</generator>
|
||||
<language>fr-fr</language>
|
||||
<lastBuildDate>Wed, 22 Jan 2025 12:04:10 +0100</lastBuildDate>
|
||||
<atom:link href="//localhost:1313/tutoriel/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Cisco</title>
|
||||
<link>//localhost:1313/tutoriel/cisco/</link>
|
||||
<pubDate>Wed, 22 Jan 2025 12:04:10 +0100</pubDate>
|
||||
<guid>//localhost:1313/tutoriel/cisco/</guid>
|
||||
<description><h1 id="configuration-de-base">Configuration de base</h1>
<h2 id="nommer-léquipement">nommer l&rsquo;équipement</h2>
<pre><code>Switch&gt; enable
Switch# configure terminal
Switch(conf)# hostname Host
</code></pre>
<h2 id="protéger-laccès-console">protéger l&rsquo;accès console</h2>
<pre><code>Switch(conf)# line {console|aux|tty|vty} {0-xx} [1-x]
Switch(conf-line)# password *mot de passe*
Switch(conf-line)# login
</code></pre>
<h2 id="mot-de-passe-enable">mot de passe &ldquo;enable&rdquo;</h2>
<pre><code>Switch(conf)# enable {password|secret} *mot de passe*
</code></pre>
<h2 id="activer-le-chiffrement-des-mdp">Activer le chiffrement des mdp</h2>
<pre><code>Switch(conf)# service password-encryption
</code></pre>
<h2 id="configurer-la-svi-switch-virtual-interface">Configurer la SVI (Switch Virtual Interface)</h2>
<pre><code>Switch(conf)# interface vlan1
Switch(conf-if)# ip address A.B.C.D M1.M2.M3.M4
Switch(conf-if)# no shutdown
</code></pre>
<h2 id="mettre-en-place-une-passerelle-par-défaut-sur-un-switch">mettre en place une passerelle par défaut sur un switch</h2>
<pre><code>Switch(conf)# ip default-gateway A.B.C.D
</code></pre>
<h2 id="sauvegarde-de-la-configuation-en-cours-vers-démarrage">sauvegarde de la configuation en cours vers démarrage</h2>
<pre><code>Switch# copy running-config startup-config
</code></pre>
<p>ou</p></description>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
BIN
static/images/WindowsServeur/Installation/ecrab_00.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
static/images/WindowsServeur/Installation/ecrab_01.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
static/images/WindowsServeur/Installation/ecrab_02.png
Normal file
After Width: | Height: | Size: 34 KiB |
BIN
static/images/WindowsServeur/Installation/ecrab_03.png
Normal file
After Width: | Height: | Size: 31 KiB |
BIN
static/images/WindowsServeur/Installation/ecrab_04.png
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
static/images/WindowsServeur/Installation/ecrab_05.png
Normal file
After Width: | Height: | Size: 34 KiB |
BIN
static/images/WindowsServeur/Installation/ecrab_06.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
static/images/WindowsServeur/Installation/ecrab_07.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
static/images/WindowsServeur/Installation/ecrab_08.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
static/images/WindowsServeur/Installation/ecrab_09.png
Normal file
After Width: | Height: | Size: 25 KiB |
BIN
static/images/WindowsServeur/Installation/ecrab_10.png
Normal file
After Width: | Height: | Size: 677 KiB |
BIN
static/images/WindowsServeur/Installation/ecrab_11.png
Normal file
After Width: | Height: | Size: 535 KiB |
BIN
static/images/WindowsServeur/Installation/ecrab_12.png
Normal file
After Width: | Height: | Size: 72 KiB |
BIN
static/images/WindowsServeur/VM/ecran_00.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
static/images/WindowsServeur/VM/ecran_01.png
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
static/images/WindowsServeur/VM/ecran_02.png
Normal file
After Width: | Height: | Size: 54 KiB |
BIN
static/images/WindowsServeur/VM/ecran_03.png
Normal file
After Width: | Height: | Size: 51 KiB |
BIN
static/images/WindowsServeur/VM/ecran_04.png
Normal file
After Width: | Height: | Size: 43 KiB |
BIN
static/images/WindowsServeur/VM/ecran_05.png
Normal file
After Width: | Height: | Size: 41 KiB |
BIN
static/images/WindowsServeur/VM/ecran_06.png
Normal file
After Width: | Height: | Size: 33 KiB |
BIN
static/images/WindowsServeur/VM/ecran_07.png
Normal file
After Width: | Height: | Size: 36 KiB |
BIN
static/images/WindowsServeur/VM/ecran_08.png
Normal file
After Width: | Height: | Size: 62 KiB |
BIN
static/images/WindowsServeur/VM/ecran_09.png
Normal file
After Width: | Height: | Size: 55 KiB |
BIN
static/images/WindowsServeur/VM/ecran_10.png
Normal file
After Width: | Height: | Size: 50 KiB |
BIN
static/images/WindowsServeur/VM/ecran_11.png
Normal file
After Width: | Height: | Size: 36 KiB |
BIN
static/images/WindowsServeur/VM/ecran_12.png
Normal file
After Width: | Height: | Size: 51 KiB |
BIN
static/images/WindowsServeur/VM/ecran_13.png
Normal file
After Width: | Height: | Size: 57 KiB |
BIN
static/images/WindowsServeur/VM/ecran_14.png
Normal file
After Width: | Height: | Size: 38 KiB |
BIN
static/images/WindowsServeur/VM/ecran_15.png
Normal file
After Width: | Height: | Size: 56 KiB |
BIN
static/images/WindowsServeur/VM/ecran_16.png
Normal file
After Width: | Height: | Size: 60 KiB |
BIN
static/images/WindowsServeur/VM/ecran_17.png
Normal file
After Width: | Height: | Size: 36 KiB |
BIN
static/images/WindowsServeur/VM/ecran_18.png
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
static/images/WindowsServeur/VM/ecran_19.png
Normal file
After Width: | Height: | Size: 47 KiB |