Coomandost

Download as pdf or txt
Download as pdf or txt
You are on page 1of 11

redes 2

Router:

Enable
Conf t
hostname RX
service password-encryption
ip domain-name lesand.cl
enable secret L354nd
username admin privilege 15 secret L354nd
crypto key generate rsa general-keys modulus 4096
ip ssh v 2
ip ssh authentication-retries 3
ip ssh time-out 60
line vty 0 15
transport imput ssh
line consol 0
login local
do wr mem

interface f0/0.10
encapsulation dot1q 10
ip add 192.168.10.1 255.255.255.0
description NET-10

interface f0/0.20
encapsulation dot1q 20
ip add 192.168.20.1 255.255.255.0
description NET-ADM

interface f0/0
no sh
do wr mem

------------------------------------------------------
-------------

sw

Enable
Conf t
hostname SD
service password-encryption
ip domain-name lesand.cl
enable secret L354nd
username admin privilege 15 secret L354nd
crypto key generate rsa general-keys modulus 4096
ip ssh v 2
ip ssh authentication-retries 3
ip ssh time-out 60
line vty 0 15
transport imput ssh
login local

interfce f0/24
sw mode trank
sw t a v 10,20
vlan 10
name NET-10
vlan 20
name NET-ADM
Exit
do wr mem

int p1
int p2
do show int status
int range f0/1-2
chanel-grup 1 mode on

itn p1
sw m t
sw t a v 10,20
switchport nonegociate

do show run

int range f0/3-4


channel-grup 2 mode on

itn p2
sw m t
sw t a v 10,20
switchport nonegociate
do wr mem

do show run

do show ether sum

no cdp run

--------------------------------------

sw1

Enable
Conf t
hostname sw1
service password-encryption
ip domain-name lesand.cl
enable secret L354nd
username admin privilege 15 secret L354nd
crypto key generate rsa general-keys modulus 4096
ip ssh v 2
ip ssh authentication-retries 3
ip ssh time-out 60
line vty 0 15
line console 0
transport imput ssh
login local

vlan 10
name NET-10
vlan 20
name NET-ADM

int p1
int p2
do show int status
int range f0/23-24
chanel-grup 1 mode on

itn p1
sw m t
sw t a v 10,20
switchport nonegociate

do show run

int range f0/23-24


channel-grup 2 mode on

itn p2
sw m t
sw t a v 10,20
switchport nonegociate

int f0/1
sw m a
sw a v 10

do wr mem

---------------------------------------

sw2

Enable
Conf t
hostname sw2
service password-encryption
ip domain-name lesand.cl
enable secret L354nd
username admin privilege 15 secret L354nd
crypto key generate rsa general-keys modulus 4096
ip ssh v 2
ip ssh authentication-retries 3
ip ssh time-out 60
line vty 0 15
line console 0
transport imput ssh
login local

vlan 10
name NET-10
vlan 20
name NET-ADM

int p1
int p2
do show int status
int range f0/23-24
chanel-grup 1 mode on

itn p1
sw m t
sw t a v 10,20
switchport nonegociate

do show run

int range f0/23-24


channel-grup 2 mode on

itn p2
sw m t
sw t a v 10,20
switchport nonegociate

int f0/1
sw m a
sw a v 10

do wr mem

----------------------------------------

pc1

ip 192.168.10.10
255.255.255.0
192.168.10.1

----------------------------------------

pc2

192.168.20.10
255.255.255.0
192.168.20.1

----------------------------------------

ping 192.168.20.10

You might also like