Beruflich Dokumente
Kultur Dokumente
time_continue=1&v=dcKYl7qOE2k
skill
deber 1.3.1.3
https://www.youtube.com/watch?v=eeYIkKpRiIQ
---Site-1
sh run conf
show running-conf
en
conf t
hostname Site-1
no ip domain-lookup
enable secret cisco
line console 0
no logging synchronous
password class
login
service password-encryption
banner mo # router site-1 #
---p2
en
class
conf t
ip route 0.0.0.0 0.0.0.0 s0/0/0
---ospf
conf t
router ospf 10
exit
do sh ip rou
router ospf 10
router-id 1.1.1.1
en
conf t
ip dhcp pool vlan45
network 192.168.45.0 255.255.255.0
dns-server 192.168.18.100
default-router 192.168.45.1
exit
en
conf t
interface f 0/0.45
encapsulation dot1q 45
ip address 192.168.45.1 255.255.255.0
exi
encapsulation dot1q 47
ip address 192.168.47.1 255.255.255.0
exit
intreface g 0/0
no sh
do sh ip int bri
----------------
exit
exi
exit
line vty 0 4
password class
login
---hq
en
conf t
hostname HQ
interface serial 0/0/0
ip address 192.168.101.106 255.255.255.252
no sh
interface serial 0/0/1
ip address 192.168.10.113 255.255.255.252
no shu
exit
interface serial 0/1/0
ip address 198.51.100.1 255.255.255.240
no sh
exit
interface gigabitethernet 0/0
ip address 192.168.18.41 255.255.255.248
no sh
-----------------------
interface serial 0/0/1
clock rate 128000
----p2
do sh ip rou
do sh ip int bri
----ospf
router ospf 10
do sh ip rou
--------configuracion de ospf id
router ospf 10
router-id 2.2.2.2
do clear ip os pr
----configuracion de nat
exit
interface gigabitethernet 0/0
ip nat inside
exit
ip nat pool internet 198.51.100.3 198.51.100.13 net 255.255.255.240
-----acl
access-list 1 permit 192.168.45.0 0.0.0.255
do sh ip acc
----acl manage
do sh ip acc
line vty 0 4
password class
login
access-class MANAGE in
exit
access-list 101 permit ip host 203.0.113.18 any
aceess-list 101 permit tcp any host 198.51.100.14 eq www
exit
en
conf t
hostname Site-2
interface serial 0/0/0
ip address 192.168.10.126 255.255.255.252
no sh
exit
---p2
ip route 0.0.0.0 0.0.0.0 serial 0/0/1
do sh ip int bri
ip route 192.168.200.0 255.255.252.0 serial 0/0/0
---ospf
router ospf 10
do sh ip rou
router-id 3.3.3.3
do clea ip os pro
confirma y poner no
exi
en
conf t
hostname Site1-SW1
vlan 45
name finance
vl 47
name sales
vl 101
name netadmin
exi
---------vlan 101 sw 1
conf t
do sh ip int bri
exi
conf t
do sh vl bri
interface range f 0/1-9
switchport mode access
sh
do sh vl bri
interface range f 0/11-14
switchport mode access
sh
sh
min 0:41:44
ya
----conf vlan sw2
en
conf t
hostname site1-SW2
vlan 45
name finance
vl 47
name sales
vl 101
na netadmin
exi
exit
interface f0/3
switchport mode access
switchport access vlan 45
no sh
interface f0/21
switchport mode access
switchport acces vlan 47
no sh
exit
exit
ip default-gateway 192.168.101.1
do sh vl b
----
interface fa
do sh vl b
interface f0/21
switchport mode access
no sh
---
ya