Minimum config Cisco
De Linuxmemo.
(Différences entre les versions)
Ligne 31 : | Ligne 31 : | ||
exit | exit | ||
+ | show ip ssh | ||
ip domain-name mondom.fr | ip domain-name mondom.fr | ||
- | |||
crypto key generate rsa modulus 2048 | crypto key generate rsa modulus 2048 | ||
+ | username admin secret AdminSSHPassw0rd | ||
line vty 0 15 | line vty 0 15 | ||
+ | transport input ssh | ||
login local | login local | ||
- | |||
exit | exit | ||
ip ssh version 2 | ip ssh version 2 |
Version actuelle en date du 24 octobre 2023 à 11:01
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