Site Tools


Sidebar

  • ARED
  • SSIHT
  • RISC
Hotfix release available: 2025-05-14b "Librarian". upgrade now! [56.2] (what's this?)
Hotfix release available: 2025-05-14a "Librarian". upgrade now! [56.1] (what's this?)
New release available: 2025-05-14 "Librarian". upgrade now! [56] (what's this?)
Hotfix release available: 2024-02-06b "Kaos". upgrade now! [55.2] (what's this?)
Hotfix release available: 2024-02-06a "Kaos". upgrade now! [55.1] (what's this?)
New release available: 2024-02-06 "Kaos". upgrade now! [55] (what's this?)
Hotfix release available: 2023-04-04b "Jack Jackrum". upgrade now! [54.2] (what's this?)
Hotfix release available: 2023-04-04a "Jack Jackrum". upgrade now! [54.1] (what's this?)
New release available: 2023-04-04 "Jack Jackrum". upgrade now! [54] (what's this?)
Hotfix release available: 2022-07-31b "Igor". upgrade now! [53.1] (what's this?)
Hotfix release available: 2022-07-31a "Igor". upgrade now! [53] (what's this?)
New release available: 2022-07-31 "Igor". upgrade now! [52.2] (what's this?)
New release candidate 2 available: rc2022-06-26 "Igor". upgrade now! [52.1] (what's this?)
New release candidate available: 2022-06-26 "Igor". upgrade now! [52] (what's this?)
Hotfix release available: 2020-07-29a "Hogfather". upgrade now! [51.4] (what's this?)
switch_cisco

This is an old revision of the document!


Switch Cisco

Attribuer le nom du périphérique

hostname <nom>

Sécuriser le mode d'exécution utilisateur

line console <0>
password <mot_de_passe>
login

Sécuriser l'accès SSH / Telnet à distance

line vty <0 15>
password <mot_de_passe>
login

Sécuriser le mode d'exécution privilégié

enable secret <mot_de_passe>

Sécuriser tous les mots de passe dans le fichier de configuration

service <password-encryption>

Fournir un avertissement juridique

banner motd # <message> #

Configurer l'interface SVI de gestion

interface vlan <vlan_ID>
ip address <adresse_IP masque>
no shutdown

Enregistrez la configuration

copy <running-config startup-config>

Création VLAN

vlan <vlan_ID>
name <nomvlan_name>

Affectation d’un VLAN du port 1 au port 10

interface range <fa0/1-10>
switchport <mode access>
switchport <access vlan vlan_num>

Affectation d’un VLAN trunk à un port fa0/1 (vlan_num1 autorisé)

interface <fa0/1>
switchport <mode trunk>
switchport <trunk native vlan vlan_num>
switchport <trunk allow vlan vlan_num1>

Affichage table VLAN

show <vlan brief>

Affichage bref des interfaces

show <ip interface brief>

Affichage vlan associé au port fa0/1

show <interface fa0/1 switchport>
switch_cisco.1751587027.txt.gz · Last modified: 2025/07/04 01:57 by 20.171.207.47