Basic configuration for a Cisco device

Basic Configuration Switch to privileged mode, then terminal configuration: Switch>en Switch#conf t Définir le nom du switch, ainsi que le domaine auquel il appartient (optionnel). Switch(config)# Switch(config)# hostname SwitchToto SwitchToto(config)# ip domain-name exempledomaine.local SwitchToto(config)# end Define the IP addressing of the switch. To do this, we must create a VLAN dedicated to the switch configuration (here vlan 10). The IP we are going to define will be associated to this VLAN....

November 29, 2022 · 2 min · Thomas

Set up an SSH connection on a Cisco device

Creation of user names, domains, and keys (Here we take an exemple of Cisco router.) Firstly, if you haven’t already done so, give your device a personalized name and a domain name: Router(config)# hostname Toto Toto(config)# ip domain-name exemple.com Remember to secure the privileged mode of your device! Toto(config)# enable secret <mot_de_passe> Then, we have to tell to our router (or switch) to generate aymetric key pair (required to the SSH connection)....

November 17, 2022 · 3 min · Thomas