Escolar Documentos
Profissional Documentos
Cultura Documentos
-comandos:
Switch#enable
Switch#configure terminal
Switch(config)#line console 0 = conecta o console
Switch(config-line)#password alan = cria a senha pra proteger o console
Switch(config-line)#exit
Switch(config)#exit
Switch#
Switch#copy running-config startup-config = salva as config
Destination filename [startup-config]?
Building configuration...
[OK]
- conecta um cabo de rede, coloca um IP(192.168.0.10)
Comandos:
Switch>enable
Password:
Switch#conf t
Switch(config)#interface vlan1 = acessa a vlan
Switch(config-if)#ip address 192.168.0.100 255.255.255.0 = define o ip e mascara
Switch(config-if)#no shutdown = reinicia
Switch(config-if)#exit
Switch(config)#exit
Switch#
Switch#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
Switch#conf t
Switch(config)#line vty 0 1 = libera dois acessos via Telnet
Switch(config-line)#password alan123 = senha pro acesso telnet
Switch(config-line)#
Switch#
Switch(config)#service password-encryption = cryptografa a senha
Switch#
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname Alan
Alan(config)#ip domain-name alanaprendendo.com = nome do dominio
Alan(config)#crypto key generate rsa = gerar a chave SSH
How many bits in the modulus [512]: 2048 = tamanho escolhido
Alan(config)#line vty 0 1 = acessa a porta vty
Alan(config-line)#transport input ssh = configura o SSH na porta
Alan(config-line)#exit
Alan(config)#exit
Switch>enable
Switch#
Switch#conf t
Switch(config)#vlan 10
Switch(config-vlan)#name MKT
Switch(config-vlan)#exit
Switch(config)#vlan 11
Switch(config-vlan)#name Financeiro
Switch(config-vlan)#exit
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname Fera
Fera(config)#vlan 12
Fera(config-vlan)#name lab-3
Fera(config-vlan)#exit
Fera(config)#vlan 14
Fera(config-vlan)#name lab-4
Fera(config-vlan)#exit
Fera(config)#interface range fastEthernet 0/1 - 10
Fera(config-if-range)#switchport mode access
Fera(config-if-range)#switchport access vlan 12
Fera(config-if-range)#no shutdown
Fera(config-if-range)#exit
Fera(config)#interface range fastEthernet 0/11 - 20
Fera(config-if-range)#switchport mode access
Fera(config-if-range)#switchport access vlan 14
Fera(config-if-range)#no shutdown
Fera(config-if-range)#exit
Fera(config)#exit
Fera#conf t
Fera(config)#interface fastEthernet 0/24
Fera(config-if)#switchport mode trunk
Fera(config-if)#no shutdown