Minimum config Cisco
De Linuxmemo.
Version du 24 octobre 2023 à 11:01 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
show ip ssh ip domain-name mondom.fr crypto key generate rsa modulus 2048 username admin secret AdminSSHPassw0rd line vty 0 15 transport input ssh login local exit ip ssh version 2