Buscar

COMANDOS UTILIZADOS NO LAB


Esta é uma pré-visualização de arquivo. Entre para ver o arquivo original

sh interfaces status
sh interfaces f0/0 status
sh mac-address table dynamic
sh mac address-table dynamic vlan 1
sh mac address-table aging-time //Não funciona no Packet
sh interfaces f0/1 counters //Não funciona no Packet
sh mac address-table count //Não funciona no Packet
-------------------------------
Switch# configure terminal
Switch(config)# enable secret love
!
Switch#(config)# line console 0
Switch#(config-line)# password faith
Switch#(config-line)# login
Switch#(config-line)# exit
!
Switch#(config)# line vty 0 15
Switch#(config-line)# password hope
Switch#(config-line)# login
Switch#(config-line)# end
Switch#
!
Switch# configure terminal
Switch(config)# interface vlan 1
Switch(config-if)# ip address 192.168.1.200 255.255.255.0
Switch(config-if)# no shutdown
Switch(config-if)#exit
Switch(config)# ip default-gateway 192.168.1.1
!
Switch(config)# ip ssh version 2
Switch(config)#hostname SW1
Switch(config)#ip domain-name gustavokalau.com.br
Switch(config)# crypto key generate rsa
!
Switch(config)# username gustavo password kalau
!
Switch(config)# line vty 0 15
Switch(config-line)# transport input ssh
Switch(config-line)#end
Switch)#wr
Outros comandos:
no ip domain-lookup
!
line console 0
exec-timeout 0 0
logging synchronous
history size 20
!
line vty 0 15
exec-timeout 0 0
logging synchronous
history size 20

Teste o Premium para desbloquear

Aproveite todos os benefícios por 3 dias sem pagar! 😉
Já tem cadastro?