! version 12.2 no service pad service timestamps debug datetime msec service timestamps log datetime msec service password-encryption ! hostname dmd-sw-a01 ! no ip domain-lookup ip domain-name cub.local ! username perennial privilege 15 secret 5 $1$Mo7O$L6ma5ITsA2BL0zPBKkhp/. ! system mtu routing 1500 spanning-tree mode pvst spanning-tree extend system-id vlan internal allocation policy ascending ! ! Generation de la cle RSA pour SSH crypto key generate rsa ! 2048 ! ip ssh time-out 60 ip ssh version 2 ! ! --- CREATION DES VLANS --- vlan 10 name Espace_Clients ! vlan 20 name Espace_Administration ! ! --- ESPACE ADMINISTRATION --- interface range FastEthernet0/1 - 12 description Espace Administration switchport access vlan 20 switchport mode access spanning-tree portfast spanning-tree bpduguard enable ! ! --- ESPACE CLIENTS --- interface range FastEthernet0/25 - 36 description Espace Clients switchport access vlan 10 switchport mode access spanning-tree portfast spanning-tree bpduguard enable ! ! --- TRUNK VERS LE CŒUR DE RESEAU --- interface FastEthernet0/48 description Uplink Trunk vers SW_L3_Dortmund Gi1/0/22 switchport trunk allowed vlan 10,20 switchport mode trunk ! ! --- PORTS DESACTIVES (SECURITE) --- interface range FastEthernet0/13 - 24 , FastEthernet0/37 - 47 , GigabitEthernet0/1 - 2 description Port desactive - Securite shutdown ! ! --- INTERFACES LOGIQUES (SVI) --- interface Vlan1 no ip address shutdown ! interface Vlan20 description Interface de management & Administration ip address 192.168.4.204 255.255.255.240 ! ! --- SERVICES HTTP/HTTPS --- ip http server ip http secure-server ! ! --- ACCES CONSOLE ET DISTANT --- line con 0 logging synchronous line vty 0 15 login local transport input ssh ! end