codigos pract 1 cisco

5
! interface FastEthernet0/1 no ip address no shutdown ! interface FastEthernet0/1.12 encapsulation dot1Q 12 ip address 10.12.12.2 255.255.255.0 no snmp trap link-status ! interface FastEthernet0/1.20 encapsulation dot1Q 20 ip address 192.168.20.1 255.255.255.0 no snmp trap link-status ! interface Serial0/0/0 ip address 10.1.1.2 255.255.255.252 no shutdown ! interface Serial0/0/1 ip address 10.2.2.1 255.255.255.252 clock rate 64000 no shutdown R1 ! interface FastEthernet0/1 no ip address no shutdown ! interface FastEthernet0/1.10 encapsulation dot1Q 10 ip address 192.168.10.1 255.255.255.0 ! interface FastEthernet0/1.12 encapsulation dot1Q 12 ip address 10.12.12.1 255.255.255.0 ! interface FastEthernet0/1.13 encapsulation dot1Q 13 ip address 10.13.13.1 255.255.255.0 ! interface Serial0/0/0 ip address 10.1.1.1 255.255.255.252 no shutdown clock rate 64000 ! R2 ! interface FastEthernet0/1 no ip address no shutdown ! interface FastEthernet0/1.12 encapsulation dot1Q 12 ip address 10.12.12.2 255.255.255.0

Upload: juan-sthiven-ortiz

Post on 14-Apr-2018

222 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Codigos Pract 1 Cisco

7/30/2019 Codigos Pract 1 Cisco

http://slidepdf.com/reader/full/codigos-pract-1-cisco 1/5

!interface FastEthernet0/1no ip addressno shutdown!interface FastEthernet0/1.12encapsulation dot1Q 12ip address 10.12.12.2 255.255.255.0no snmp trap link-status!interface FastEthernet0/1.20encapsulation dot1Q 20ip address 192.168.20.1 255.255.255.0no snmp trap link-status!interface Serial0/0/0ip address 10.1.1.2 255.255.255.252no shutdown!interface Serial0/0/1ip address 10.2.2.1 255.255.255.252clock rate 64000no shutdown

R1

!interface FastEthernet0/1no ip addressno shutdown!interface FastEthernet0/1.10encapsulation dot1Q 10ip address 192.168.10.1 255.255.255.0!interface FastEthernet0/1.12

encapsulation dot1Q 12ip address 10.12.12.1 255.255.255.0!interface FastEthernet0/1.13encapsulation dot1Q 13ip address 10.13.13.1 255.255.255.0!interface Serial0/0/0ip address 10.1.1.1 255.255.255.252no shutdownclock rate 64000!

R2

!interface FastEthernet0/1no ip addressno shutdown!interface FastEthernet0/1.12encapsulation dot1Q 12ip address 10.12.12.2 255.255.255.0

Page 2: Codigos Pract 1 Cisco

7/30/2019 Codigos Pract 1 Cisco

http://slidepdf.com/reader/full/codigos-pract-1-cisco 2/5

no snmp trap link-status!interface FastEthernet0/1.20encapsulation dot1Q 20ip address 192.168.20.1 255.255.255.0no snmp trap link-status!interface Serial0/0/0ip address 10.1.1.2 255.255.255.252no shutdown!interface Serial0/0/1ip address 10.2.2.1 255.255.255.252clock rate 64000no shutdown!

R3!interface FastEthernet0/1no ip addressno shutdown!interface FastEthernet0/1.13

encapsulation dot1Q 13ip address 10.13.13.3 255.255.255.0!

!no interface FastEthernet0/1.30encapsulation dot1Q 30ip address 192.168.30.1 255.255.255.0!

interface FastEthernet0/1.10encapsulation dot1Q 30

ip address 192.168.30.1 255.255.255.0!!interface Serial0/0/1ip address 10.2.2.2 255.255.255.252no shutdown

S1!!interface FastEthernet0/1switchport trunk allowed vlan 10,12,13switchport mode trunk

!interface FastEthernet0/2switchport access vlan 10switchport mode access!interface GigabitEthernet0/1switchport trunk allowed vlan 1,12switchport mode trunk!interface GigabitEthernet0/2

Page 3: Codigos Pract 1 Cisco

7/30/2019 Codigos Pract 1 Cisco

http://slidepdf.com/reader/full/codigos-pract-1-cisco 3/5

switchport trunk allowed vlan 1,13switchport mode trunk

!!!!!

!interface FastEthernet0/1switchport trunk allowed vlan 13switchport mode trunk!!

!!interface GigabitEthernet1/1switchport trunk allowed vlan 12switchport mode trunk

interface GigabitEthernet1/2switchport trunk allowed vlan 13

switchport mode trunk! ______________________________________________ s2

interface FastEthernet0/1switchport trunk allowed vlan 12switchport mode trunk!

interface FastEthernet0/1switchport trunk allowed vlan 20switchport mode trunk

interface FastEthernet0/2switchport access vlan 20switchport mode access!interface GigabitEthernet1/1switchport trunk allowed vlan 12switchport mode trunk!

 __________________________________________________ S3

interface FastEthernet0/1switchport trunk allowed vlan 13switchport mode trunk!interface FastEthernet0/1switchport trunk allowed vlan 30switchport mode trunk

interface FastEthernet0/2switchport access vlan 30

Page 4: Codigos Pract 1 Cisco

7/30/2019 Codigos Pract 1 Cisco

http://slidepdf.com/reader/full/codigos-pract-1-cisco 4/5

swotchport mode access!interface GigabitEthernet1/1switchport trunk allowed vlan 13switchport mode trunk!

 __________________________________________________ r1!router ripversion 2no auto-summarynetwork 10.0.0.0network 192.168.10.0!

 _____________________________________________________ R2!router ripversion 2no auto-summarynetwork 10.0.0.0network 192.168.30.0!

 __________________________________________________-R3!router ripversion 2not auto-summarynetwork 10.0.0.0network 192.168.30.0

---

R1!

router ospf 1network 10.1.1.0 0.0.0.3 area 0network 10.12.12.0 0.0.0.255 area 0network 10.13.13.0 0.0.0.255 area 0network 192.168.10.0 0.0.0.255 area 0!

 __________________________________________________ r3!router ospf 1network 10.2.2.0 0.0.0.3 area 0network 10.13.13.0 0.0.0.255 area 0

network 192.168.30.0 0.0.0.255 area 0!

 _------------------------------------------------------

R1!router eigrp 10no auto-summarynetwork 10.1.1.0 0.0.0.3

Page 5: Codigos Pract 1 Cisco

7/30/2019 Codigos Pract 1 Cisco

http://slidepdf.com/reader/full/codigos-pract-1-cisco 5/5

network 10.12.12.0 0.0.0.255network 10.13.13.0 0.0.0.255network 192.168.10.0! 

R2!router eigrp 10no auto-summarynetwork 10.1.1.0 0.0.0.3network 10.2.2.0 0.0.0.3network 10.12.12.0 0.0.0.255network 192.168.20.0!

R3!router eigrp 10no auto-summarynetwork 10.2.2.0 0.0.0.3network 10.13.13.0 0.0.0.255network 192.168.30.0!