Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Comandos CNNA 2 OFICIAL

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 14

______________________________________________________

Hostname SUCURSAL1

Int g1/0/2

No switchport

ip add 192.168.255.225 255.255.255.252

descript “Enlace a EDI-CCENTRAL”

no shut

int g1/0/1

no switchport

ip add 10.50.100.1 255.255.252.0

descript “Enlace a SW-1”

no shut

exit

ip routing

Ip route 172.31.10.0 255.255.254.0 192.168.255.226

Ip route 10.1.2.0 255.255.255.0 192.168.255.226

Ip route 172.20.4.0 255.255.255.0 192.168.255.226

Ip route 172.20.5.0 255.255.255.0 192.168.255.226

Ip route 172.20.6.0 255.255.255.0 192.168.255.226

Ip route 172.20.255.0 255.255.255.240 192.168.255.226

ip route 192.168.255.232 255.255.255.252 192.168.255.226

ip route 192.168.255.228 255.255.255.252 192.168.255.226

ip route 192.168.255.224 255.255.255.252 192.168.255.226

ip route 192.168.255.236 255.255.255.252 192.168.255.226

ip helper-address 172.20.255.1 “int g1/0/1”

32/365
______________________________________
Hostname EDI-CENTRAL

Ipv6 unicast-routing

Int s0/1/0

Ip add 192.168.255.229 255.255.255.252

Descrip “Enlace a SUCURSAL2”

Clock rate 64000

NO shut

Int g0/0/0

ip add 192.168.255.226 255.255.255.252

Descrip “Enlace a SUCURSAL1”

No shut

Int g0/0/1.4

Descrip Gateway para Vlan4 CONTA

Encapsulation dot1q 4

Ip add 172.20.4.1 255.255.255.0

Ipv6 add 2001:ACAD:AFA:4::1/64

ipv6 dhcp server DNS-IPV6

Ipv6 add FE80::1 Link-local

Int g0/0/1.5

Descrip Gateway para Vlan5 RRHH

Encapsulation dot1q 5

Ip add 172.20.5.1 255.255.255.0

ipv6 dhcp server DNS-IPV6

Ipv6 add 2001:ACAD:AFA:5::1/64

Ipv6 add FE80::1 Link-local

Int g0/0/1.6

Descrip Gateway para Vlan6 REGIS


Encapsulation dot1q 6

ipv6 dhcp server DNS-IPV6

Ip add 172.20.6.1 255.255.255.0

Ipv6 add 2001:ACAD:AFA:6::1/64

Ipv6 add FE80::1 Link-local

Int g0/0/1.255

Descrip Gateway para Vlan255 REGIS

Encapsulation dot1q 255 native

ipv6 dhcp server DNS-IPV6

Ip add 172.20.255.1 255.255.255.240

Ipv6 add 2001:ACAD:AFA:255::1/64

Ipv6 add FE80::1 Link-local

Int g0/0/1

No shut

Exit 58/365

Ip dhcp excluded-add 10.50.100.254

Ip dhcp excluded-add 10.50.100.1 10.50.100.5

Ip dhcp pool SUCURSAL1

Network 10.50.100.0 255.255.252.0

Default-router 10.50.100.1

Dns-server 10.1.2.254

Domain-name mep.go.cr

Ip dhcp excluded-add 172.31.10.1 172.31.10.5

Ip dhcp pool PRINCIPAL

Network 172.31.10.0 255.255.254.0

Default-router 172.31.10.1
Dns-server 10.1.2.254

Domain-name mep.go.cr

Ip dhcp excluded-add 172.20.4.1 172.20.4.5

Ip dhcp pool CONTA

Network 172.20.4.0 255.255.255.0

Default-router 172.20.4.1

Dns-server 10.1.2.254

Domain-name mep.go.cr

Ip dhcp excluded-add 172.20.5.1 172.20.5.5

Ip dhcp pool RRHH

Network 172.20.5.0 255.255.255.0

Default-router 172.20.5.1

Dns-server 10.1.2.254

Domain-name mep.go.cr

Ip dhcp excluded-add 172.20.6.1 172.20.6.5

Ip dhcp pool REGIS

Network 172.20.6.0 255.255.255.0

Default-router 172.20.6.1

Dns-server 10.1.2.254

Domain-name mep.go.cr

Exit 111/365
Ip route 172.31.10.0 255.255.254.0 192.168.255.230

Ip route 10.1.2.0 255.255.255.0 192.168.255.230

Ip route 10.50.100.0 255.255.252.0 192.168.255.225

ip route 192.168.255.236 255.255.255.252 192.168.255.230

ip route 192.168.255.232 255.255.255.252 192.168.255.230

121/365

_____________________________________________________

Hostname SUCURSAL2

Int s0/1/0

Ip add 192.168.255.230 255.255.255.252

Descrip “Enlace a EDI-CENTRAL”

NO shut

Int g0/0/1

ip add 192.168.255.233 255.255.255.252

Descrip “Enlace a PRINCIPAL”

No shut

Int g0/0/0

Ip add 10.1.2.2 255.255.255.0

No shut

Descrip “Enlace a SW-3”

Int g0/0/0

Standby version 2

Standby 1 ip 10.1.2.1

Standby priority 150

Standby 1 preempt

Exit

Ip route 10.50.100.0 255.255.252.0 192.168.255.229

Ip route 172.31.10.0 255.255.254.0 192.168.255.234


Ip route 172.20.4.0 255.255.255.0 192.168.255.229

Ip route 172.20.5.0 255.255.255.0 192.168.255.229

Ip route 172.20.6.0 255.255.255.0 192.168.255.229

Ip route 172.20.255.0 255.255.255.240 192.168.255.229

ip route 192.168.255.224 255.255.255.252 192.168.255.229

ip route 192.168.255.236 255.255.255.252 192.168.255.234

142/365

______________________________________________
Hostname PRINCIPAL

Int g1/0/24

No switchport

ip add 192.168.255.234 255.255.255.252

Descrip “Enlace a SUCURSAL2”

no shut

Int g1/0/23

No switchport

ip add 192.168.255.237 255.255.255.252

Descrip “Enlace a BACKUP”

no shut

int g1/0/1

no switchport

ip add 172.31.10.1 255.255.254.0

no shut

Descrip “Enlace a SW-PUBLICO”

Exit

ip routing

Ip route 10.50.100.0 255.255.252.0 192.168.255.233

Ip route 10.1.2.0 255.255.255.0 192.168.255.233

Ip route 172.20.4.0 255.255.255.0 192.168.255.233


Ip route 172.20.5.0 255.255.255.0 192.168.255.233

Ip route 172.20.6.0 255.255.255.0 192.168.255.233

Ip route 172.20.255.0 255.255.255.240 192.168.255.233

ip route 192.168.255.224 255.255.255.252 192.168.255.233

ip route 192.168.255.228 255.255.255.252 192.168.255.233

160/365

ip helper-address 172.20.255.1 “ INT g1/0/1”

____________________________________________________________

Hostname BACKUP

Int g0/0/1

Ip add 192.168.255.238 255.255.255.252

Descrip “Enlace a PRINCIPAL”

No shut

Int g0/0/0

Ip add 10.1.2.3 255.255.255.0

Descrip “Enlace a SW-3”

Int g0/0/0

Standby version 2

Standby 1 ip 10.1.2.1

Standby priority 150

Standby 1 preempt

Exit

ip route 192.168.255.232 255.255.255.252 192.168.255.237

ip route 192.168.255.228 255.255.255.252 192.168.255.237

ip route 192.168.255.224 255.255.255.252 192.168.255.237

ip route 10.50.100.0 255.255.252.0 192.168.255.237


ip route 172.20.4.0 255.255.255.0 192.168.255.237

ip route 172.20.5.0 255.255.255.0 192.168.255.237

ip route 172.20.6.0 255.255.255.0 192.168.255.237

ip route 172.20.255.0 255.255.255.240 192.168.255.237

ip route 172.31.10.0 255.255.254.0 192.168.255.237

176/365

_________________________________________________________

Hostname SW-1

spanning-tree mode pvst

int range f0/1-2

Sw mode trunk

switchport nonegotiate

Int fa0/3

spanning-tree portfast

spanning-tree bpduguard enable

exit

180/365

_____________________________________________________________

Hostname SW-2

spanning-tree mode pvst

int range f0/1-2

Sw mode trunk

switchport nonegotiate

Int fa0/3

spanning-tree portfast

spanning-tree bpduguard enable

exit
_____________________________________________________________________________

184/365

Hostname CEN-1

ip default-gateway 172.20.255.1

Vlan 4

Name CONTA

Vlan 5

Name RRHH

Vlan 6

Name REGIS

Vlan 255

Name ADMIN

Int range f0/5-10

Sw mode ccess

Sw Access vlan 4

Int range f0/11-15

Sw mode ccess

Sw Access vlan 5

Int range f0/16-24

Sw mode ccess

Sw Access vlan 6

Int range fa0/1-4, g0/1

Sw mode trunk

sw trunk native vlan 255

switchport nonegotiate

int range f0/5-24

switchport port-security
switchport port-security mac-address sticky

switchport port-security maximum 5

switchport port-security violation protect

Interface range f0/3-4

channel-protocol lacp

shut

Channel-group 2 mode active

No shut

Exit

Int port-channel 2

Sw mode trunk

interface range fastEthernet 0/1-2

channel-protocol pagp

shut

channel-group 5 mode desirable

no shut

interface port-channel 5

sw mode trunk

exit

spanning-tree vlan 6 priority 0

221/365

______________________________________________________________

Hostname CEN-2

ip default-gateway 172.20.255.1

Vlan 4

Name CONTA

Vlan 5
Name RRHH

Vlan 6

Name REGIS

Vlan 255

Name ADMIN

Int range f0/5-10

Sw mode acces

Sw Access vlan 4

Int range f0/11-15

Sw mode acces

Sw Access vlan 5

Int range f0/16-24

Sw mode acces

Sw Access vlan 6

Int range fa0/1-4

Sw mode trunk

sw trunk native vlan 255

switchport nonegotiate

int range f0/5-24

switchport port-security

switchport port-security mac-address sticky

switchport port-security maximum 5

switchport port-security violation protect

Int vlan 255

Ip add 172.20.255.252 255.255.255.240

No shut

Interface range f0/3-4


Channel-protocol lacp

shut

Channel-group 2 mode passive

No shut

Exit

Int port-channel 2

Sw mode trunk

exit

spanning-tree vlan 4 priority 0

237/365

__________________________________________________________

Hostname CEN-3

ip default-gateway 172.20.255.1

Vlan 4

Name CONTA

Vlan 5

Name RRHH

Vlan 6

Name REGIS

Vlan 255

Name ADMIN

Int range f0/5-10

Sw mode ccess

Sw Access vlan 4

Int range f0/11-15

Sw mode ccess

Sw Access vlan 5

Int range f0/16-24


Sw mode ccess

Sw Access vlan 6

Int range fa0/1-4

Sw mode trunk

sw trunk native vlan 255

switchport nonegotiate

int range f0/5-24

switchport port-security

switchport port-security mac-address sticky

switchport port-security maximum 5

switchport port-security violation protect

Int vlan 255

Ip add 172.20.255.253 255.255.255.240

No shut

Interface range f0/1-2

Channel-protocol pagp

shut

Channel-group 5 mode auto

No shut

Exit

Int port-channel 5

Sw mode trunk

Exit

spanning-tree vlan 5 priority 0

264/365
Hostname SW-PUBLICO

No ip domain-lookup

Ip default-gateway 172.31.10.1

Int vlan 1

Ip add 172.31.10.254 255.255.254.0

No shut

End

wr

copy tftp: flash:

10.1.2.253

c2960-lanbasek9-mz.150-2.SE4.bin

c2960-lanbasek9-mz.150-2.SE4.bin

boot system flash:c2960-lanbasek9-mz.150-2.SE4.bin

273/365 (tftp)

CONFIGURACIÓN DE ROUTER INALÁMBRICO


Conectar Pc

IP DHCP

Todo debe hacerse manu

.10
294/36

DCHCP - DNS

You might also like