Configuracoes Diego
Configuracoes Diego
Configuracoes Diego
conf t
hostname S4
no ip domain-lookup
enable secret cisco
banner motd #SOMENTE ACESSO AUTORIZADO#
line console 0
password cisco
logging synchronous
exec-timeout 15 0
login
line vty 0 15
logging synchronous
exec-timeout 15 0
transport input ssh
login local
exit
service password-encryption
ip domain-name gerencia.com
crypto key generate rsa general-keys modulus 1024
ip ssh version 2
ip routing
vlan 10
name RH
vlan 20
name ENGENHARIA
vlan 30
name VENDAS
vlan 40
name TI
vlan 100
name GERENCIA
exit
interface vlan 10
ip address 192.168.10.4 255.255.255.0
interface vlan 20
ip address 192.168.20.4 255.255.255.0
interface vlan 30
ip address 192.168.30.4 255.255.255.0
interface vlan 40
ip address 192.168.40.4 255.255.255.0
router ospf 1
router-id 4.4.4.4
network 192.168.10.0 0.0.0.255 area 0
network 192.168.20.0 0.0.0.255 area 0
network 192.168.30.0 0.0.0.255 area 0
network 192.168.40.0 0.0.0.255 area 0
network 192.168.100.0 0.0.0.255 area 0
passive-interface gi1/0/1
passive-interface gi1/0/2
passive-interface gi1/0/3
exit