Minimum config Cisco
De Linuxmemo.
Version du 24 octobre 2023 à 10:59 par Linuxmemo (discuter | contributions)
no ip domain-lookup hostname S1 service password-encryption enable secret Passw0rd banner motd # Unauthorized access is strictly prohibited. #
interface vlan 99 ip address 192.168.1.2 255.255.255.0 exit
interface range gigabitEthernet 1/0/1 - 24 switchport mode access switchport access vlan 99 exit
do show vlan brief
ip default-gateway 192.168.1.1
line con 0 logging synchronous password Passw0rd login exit
line vty 0 15 password Passw0rd login exit
ip domain-name mondom.fr username admin secret AdminSSHPassw0rd crypto key generate rsa modulus 2048 line vty 0 15 login local transport onput ssh exit ip ssh version 2