configure terminal
! 
hostname SWR-1
!
enable secret ifs
username admin privilege 15 secret KLNB2o
!
no ip http server
no ip http secure-server
no service telnet
ip domain name La_fibre_en_folie
crypto key generate rsa modulus 2048
ip ssh version 2
!	
! --- Definition des VLANs ---
vlan 200
  name Services_Logiciels
vlan 210
  name Comptabilite
vlan 220
  name Administratif
vlan 230
  name Vente
vlan 240
  name Supervision
vlan 250
  name Administration_Informatique
vlan 696
  name Non_Utilise_Natif
!
! --- Routage Inter-VLAN et Adresses de Passerelle (SVI) ---
ip routing
!
interface Vlan200
  description Passerelle_VLAN_Serveurs_192.168.11.0
  ip address 192.168.11.1 255.255.255.0
!
interface Vlan210
  description Passerelle_VLAN_Comptabilite
  ip address 172.16.210.1 255.255.255.0
!
interface Vlan220
  description Passerelle_VLAN_Administratif
  ip address 172.16.220.1 255.255.255.0
!
interface Vlan230
  description Passerelle_VLAN_Vente
  ip address 172.16.230.1 255.255.255.0
!
interface Vlan240
  description Passerelle_VLAN_Supervision
  ip address 172.16.240.1 255.255.255.0
!
interface Vlan250
  description Passerelle_VLAN_Admin_Info
  ip address 172.16.250.1 255.255.255.0
!
! --- Service DHCP (Adresse DNS: 192.168.11.243) ---
ip dhcp excluded-address 172.16.210.1 172.16.210.10
ip dhcp excluded-address 172.16.220.1 172.16.220.10
ip dhcp excluded-address 172.16.230.1 172.16.230.10
ip dhcp excluded-address 172.16.240.1 172.16.240.10
ip dhcp excluded-address 172.16.250.1 172.16.250.10
!
ip dhcp pool VLAN_Comptabilite
  network 172.16.210.0 255.255.255.0
  default-router 172.16.210.1
  dns-server 192.168.11.243
!
ip dhcp pool VLAN_Administratif
  network 172.16.220.0 255.255.255.0
  default-router 172.16.220.1
  dns-server 192.168.11.243
!
ip dhcp pool VLAN_Vente
  network 172.16.230.0 255.255.255.0
  default-router 172.16.230.1
  dns-server 192.168.11.243
!
ip dhcp pool VLAN_Supervision
  network 172.16.240.0 255.255.255.0
  default-router 172.16.240.1
  dns-server 192.168.11.243
!
ip dhcp pool VLAN_Admin_Info
  network 172.16.250.0 255.255.255.0
  default-router 172.16.250.1
  dns-server 192.168.11.243
!
!
!
! Lien Routé (Layer 3) vers R1
interface GigabitEthernet0/6
  description Lien_L3_vers_Routeur_R1
  no switchport
  ip address 10.0.0.2 255.255.255.252
!
! Lien vers le Serveur Proxmox/MV Debian (VLAN 200)
interface GigabitEthernet0/5
  description Serveur_Proxmox_VLAN_200_192.168.11.243
  switchport mode trunk
  switchport trunk native vlan 696
  switchport trunk allowed vlan 200
!
! Liens Agrégés (EtherChannel vers SW1)
interface Port-channel 1
  description Trunk_EtherChannel_vers_SW1
  switchport mode trunk
  switchport trunk native vlan 696
  switchport trunk allowed vlan 200-250,696
!
interface Range GigabitEthernet0/1 - 2
  description Liens_physiques_vers_SW1
  channel-group 1 mode on
!
! Liens Agrégés (EtherChannel vers SW2)
interface Port-channel 2
  description Trunk_EtherChannel_vers_SW2
  switchport mode trunk
  switchport trunk native vlan 696
  switchport trunk allowed vlan 200-250,696
!
interface Range GigabitEthernet0/3 - 4
  description Liens_physiques_vers_SW2
  channel-group 2 mode on
!
! --- RSTP ---
spanning-tree mode rapid-pvst
spanning-tree vlan 200-250,696 root primary
!
line vty 0 15
  transport input ssh
  login local
!
end
write memory




Dhcp snooping ? 



