0% found this document useful (0 votes)
84 views

Aux Configuracao

The document contains configurations for switch and router access modes, routing protocols, system settings, DHCP scopes, helper addresses, and static routes. It configures trunk and access ports on switches, enables RIP routing with multiple networks, sets hostnames, passwords, banners and other settings, creates DHCP pools, modifies helper addresses, and adds a default route.

Uploaded by

fsrom3
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
84 views

Aux Configuracao

The document contains configurations for switch and router access modes, routing protocols, system settings, DHCP scopes, helper addresses, and static routes. It configures trunk and access ports on switches, enables RIP routing with multiple networks, sets hostnames, passwords, banners and other settings, creates DHCP pools, modifies helper addresses, and adds a default route.

Uploaded by

fsrom3
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

SW modo access/trunk

en
conf t
int r fa0/1-24
sw m acc
sw port
int r fa0/3-24
shu
int g0/1
sw m t
no shu
int g0/2
sw m t
no shu

configuracao rapida rip

en
conf t
router rip
v 2
net 172.16.0.0
net 192.168.10.0
net 192.168.11.0
net 192.168.12.0
net 192.168.13.0
net 10.0.0.0

Housecleaning Switch

en
conf t
hostname SW
enable secret class
service password-encryption
banner motd "ola ola"
line console 0
password cisco
login
exit
line vty 0 15
password cisco
login
exit
exit
cop r s
startup-config
exit

Housecleaning Router

en
conf t
hostname RW
enable secret class
service password-encryption
banner motd "ola ola"
line console 0
password cisco
login
exit
line aux 0
password cisco
login
exit
line vty 0 4
password cisco
login
exit
exit
cop r s
startup-config
exit

setup SSH (router e switch) - configuracao inicial

en
conf t
username ola pass cisco
enable secret class
line vty 0
login local
hostname RW
ip domain-name atec.pt
crypto key generate rsa
1024
line vty 0
transport input ssh
exit
exit
cop r s
startup-config
exit

ip dhcp excluded-address 192.168.10.120 192.168.10.126


ip dhcp pool pc8
network 192.168.10.64 255.255.255.192
default-router 192.168.10.126
dns-server 172.16.0.1

conf t
ip dhcp excluded-address 192.168.13.120 192.168.13.126
ip dhcp pool pc7
network 192.168.13.64 255.255.255.192
default-router 192.168.13.126
dns-server 172.16.1.1

ip dhcp excluded-address 192.168.10.60 192.168.10.62


ip dhcp pool pc9
network 192.168.10.0 255.255.255.192
default-router 192.168.10.62
dns-server 172.16.0.1

ip dhcp excluded-address 192.168.10.120 192.168.10.126


ip dhcp pool pc8
network 192.168.10.64 255.255.255.192
default-router 192.168.10.126
dns-server 172.16.0.1

no ip dhcp excluded-address 192.168.10.60 192.168.10.62


no ip dhcp pool pc9
no network 192.168.10.0 255.255.255.192
no default-router 192.168.10.62
no dns-server 172.16.0.1
no ip dhcp excluded-address 192.168.10.120 192.168.10.126
no ip dhcp pool pc8
no network 192.168.10.64 255.255.255.192
no default-router 192.168.10.126
no dns-server 172.16.0.1

no ip helper-address 10.0.0.6
ip helper-address 10.0.0.9

%DHCPD-4-PING_CONFLICT: DHCP address conflict: server pinged 192.168.10.1.

ip dhcp excluded-address 10.1.0.250 10.1.0.254


ip dhcp pool pc10
network 10.1.0.0 255.255.255.0
default-router 10.1.0.254
dns-server 172.16.1.1

ip dhcp pool pc9


dns-server 172.16.0.1
ip dhcp pool pc8
dns-server 172.16.0.1

ip dhcp pool pc9


dns-server 172.16.1.1
ip dhcp pool pc8
dns-server 172.16.1.1

interface GigabitEthernet0/0.2
no ip helper-address 10.0.0.9
ip helper-address 10.0.0.6
exit
interface GigabitEthernet0/0.3
no ip helper-address 10.0.0.9
ip helper-address 10.0.0.6
exit

conf t
ip route 0.0.0.0 0.0.0.0 10.0.0.21 5
exit

apagar rip2 (backup)

router rip
version 2
network 10.0.0.0
network 172.16.0.0
network 192.168.10.0
network 192.168.11.0
network 192.168.12.0
network 192.168.13.0
network 192.168.20.0

You might also like