Sunteți pe pagina 1din 7

TRONCALES

todos los switch


conf ter
int range f1/13 - 15
switchport mode trunk
switchport trunk native vlan 300
exit
rama 1 192.
****************
vtp domain marina
vtp password sistemas
vtp mode Server
vtp domain marina
vtp password sistemas
vtp mode Client
****************
en el server
vlan
vlan
vlan
vlan

database
100
200
300

sh vlan-switch
*****************
asignando puertos en switch
en todos los switch (3)
conf ter
int range f1/1 , f1/3 , f1/5
switchport mode access
switchport access vlan 100
exit
int range f1/2 , f1/4 , f1/6
switchport mode access
switchport access vlan 200
exit
int range f1/7 - 10
switchport mode access
switchport access vlan 300
exit
***************
asignando ip y mascara
router1
conf ter
int f0/0
no shut

int f0/0.100
encapsulation dot1q 100
ip address 192.12.100.1 255.255.255.0
no shut
int f0/0.200
encapsulation dot1q 200
ip address 192.12.200.1 255.255.255.0
no shut
int f0/0.300
encapsulation dot1q 300 native
ip address 192.12.30.1 255.255.255.0
no shut
rama2 172.
****************
troncales
*****************
int range f1/13 - 15
switchport mode trunk
**************
vtp domain marina1
vtp password sistemas
vtp mode Server
vtp domain marina1
vtp password sistemas
vtp mode Client
*******************
en el server
vlan database
vlan 10
vlan 20

**************
asignar puertos
conf ter
int range f1/1 - 5
switchport mode access
switchport access vlan 10
exit
int range f1/6 - 10
switchport mode access
switchport access vlan 20
exit
***************
asignando ip y mascara
router2
conf ter

int f0/0
no shut
int f0/0.10
encapsulation dot1q 10
ip address 172.12.10.1 255.255.255.0
no shut
int f0/0.20
encapsulation dot1q 20
ip address 172.12.20.1 255.255.255.0
no shut
configurando la ip de las int seriales
**************************************
router1
int s0/0
ip address 10.2.1.1 255.255.255.252
no shut
router2
int s0/0
ip address 10.2.1.2 255.255.255.252
no shut
router rip router1
******************
router rip
network 10.2.1.0
network 192.12.100.0
network 192.12.200.0
network 192.12.30.0

router rip router2


******************
router rip
network 10.2.1.0
network 172.12.10.0
network 172.12.20.0
dhcp router 1
**************
ip dhcp pool vlan100
network 192.12.100.0 255.255.255.0
default-router 192.12.100.1
dns-server 200.48.225.130 200.48.225.146
ip dhcp pool vlan200
network 192.12.200.0 255.255.255.0
default-router 192.12.200.1
dns-server 200.48.225.130 200.48.225.146
ip dhcp pool vlan300
network 192.12.30.0 255.255.255.0
default-router 192.12.30.1
dns-server 200.48.225.130 200.48.225.146

dhcp router 2
**************
ip dhcp pool vlan10
network 172.12.10.0 255.255.255.0
default-router 192.12.10.1
dns-server 200.48.225.130 200.48.225.146
ip dhcp pool vlan20
network 172.12.20.0 255.255.255.0
default-router 192.12.20.1
dns-server 200.48.225.130 200.48.225.146

NAT-PAD r2
*************************
configuro f0/1 router
int f0/1
ip add 172.200.200.93 255.255.0.0
no shut
ruta por defecto en r2
**********************
ip route 0.0.0.0 0.0.0.0 172.200.200.1
router rip
default-information originate
ip nat inside source list 1 int f0/1 overload
access-list 1 permit 192.12.0.0 0.0.255.255
access-list 1 permit 172.12.0.0 0.0.255.255
int s0/0
ip nat inside
exit
int f0/0
ip nat inside
int f0/0.10
ip nat inside
int f0/0.20
ip nat inside
exit
int f0/1
ip nat outside
exit
ping 172.200.200.93
ping 172.200.200.1
ping 200.48.225.130

*******************************
ipv6
*******************************
router1
ipv6 unicast-routing (todos los router y switch)
router1
int f0/0
int f0/0.100
ipv6 enable
int f0/0.200
ipv6 enable
int f0/0.300
ipv6 enable
conf ter
int f0/0
no shut
int f0/0.100
encapsulation dot1q 100
ipv6 address 2010:d9b:12:1::1/64
no shut
int f0/0.200
encapsulation dot1q 200
ipv6 address 2010:d9b:12:2::1/64
no shut
int f0/0.300
encapsulation dot1q 300 native
ipv6 address 2010:d9b:12:3::1/64
no shut
vpcs ipv6
*********************
1 ip 2010:d9b:12:2::10/64 2010:d9b:12:2::1
2 ip 2010:d9b:12:3::10/64 2010:d9b:12:3::1
3 ip 2010:d9b:12:3::10/64 2010:d9b:12:3::1

router2
*************************
router2
int f0/0
int f0/0.10
ipv6 enable
int f0/0.20
ipv6 enable

conf ter
int f0/0
no shut
int f0/0.10
encapsulation dot1q 10
ipv6 address 2010:d9b:12:5::1/64
no shut
int f0/0.20
encapsulation dot1q 20
ipv6 address 2010:d9b:12:6::1/64
no shut
configurando ip de la int seriales
**************************************
router1
int s0/0
ipv6 address 2010:d9b:12:4::1/64
no shut
router2
int s0/0
ipv6 address 2010:d9b:12:4::2/64
no shut
router rip router1
******************
ipv6 router rip empresarial
exit
int s0/0
ipv6 rip empresarial enable
exit
int f0/0
ipv6 rip empresarial enable
int f0/0
int f0/0.100
ipv6 rip empresarial enable
int f0/0.200
ipv6 rip empresarial enable
int f0/0.300
ipv6 rip empresarial enable
router rip router2
*******************
ipv6 router rip empresarial
exit
int s0/0
ipv6 rip empresarial enable
exit
int f0/0
ipv6 rip empresarial enable
int f0/0.10
ipv6 rip empresarial enable
int f0/0.20

ipv6 rip empresarial enable


seguridad basica (todos router y switch)
****************************************
conf ter
enable secret class
line console 0
password cisco
login
exit
line vty 0 4
password cisco
login
exit
service password-encryption
banner motd #cuidado#

S-ar putea să vă placă și