Académique Documents
Professionnel Documents
Culture Documents
- R1
Router>enable
Router#config terminal
R1(config)#line console 0
R1(config-line)#password cisco
R1(config-line)#login
R1(config-line)#line vty 0 4
R1(config-line)#password cisco
R1(config-line)#login
R1(config-line)#exit
R1(config)#service passwordR1(config)#service password-encryption
R1(config)#banner motd $Advertencia$
R1(config)#
- R2
Router>enable
Router#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface g0/0
Router(config-if)#ip address 172.16.4.1 255.255.255.0
Router(config-if)#no shut
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
Router(config-if)#interface g0/1
Router(config-if)#ip address 172.16.5.1 255.255.255.128
Router(config-if)#no shut
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up
Router(config-if)#interface s0/0/0
Router(config-if)#ip address 172.16.6.229 255.255.255.252
Router(config-if)#no shut
- R3
Router>enable
Router#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R3
R3(config)#interface g0/0
R3(config-if)#ip address 172.16.5.129 255.255.255.128
R3(config-if)#no shut
R3(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
R3(config-if)#interface g0/1
R3(config-if)#ip address 172.16.6.1 255.255.255.128
R3(config-if)#no shut
R3(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up
R3(config-if)#interface s0/0/0
R3(config-if)#ip address 172.16.6.233 255.255.255.252
R3(config-if)#no shut
- R4
Router>enable
Router#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R4
R4(config)#interface g0/0
R4(config-if)#ip address 172.16.6.129 255.255.255.192
R4(config-if)#no shut
R4(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
R4(config-if)#interface g0/1
R4(config-if)#ip address 172.16.6.193 255.255.255.224
R4(config-if)#no shut
R4(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up
R4(config-if)#interface s0/0/0
R4(config-if)#ip address 172.16.6.237 255.255.255.252
R4(config-if)#no shut
R4#
%SYS-5-CONFIG_I: Configured from console by console
- HQ
Router>enable
Router#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname HQ
HQ(config)#interface s0/0/1
HQ(config-if)#ip address 172.16.6.226 255.255.255.252
HQ(config-if)#clock rate 128000
HQ(config-if)#no shut
HQ(config-if)#interface s0/1/0
HQ(config-if)#ip address 172.16.6.230 255.255.255.252
HQ(config-if)#clock rate 128000
HQ(config-if)#no shut
HQ(config-if)#interface s0/1/1
HQ(config-if)#ip address 172.16.6.234 255.255.255.252
HQ(config-if)#clock rate 128000
HQ(config-if)#no shut
HQ(config-if)#interface s0/1/0
HQ(config-if)#clock rate 128000
HQ(config-if)#interface s0/2/0
HQ(config-if)#ip address 172.16.6.238 255.255.255.252
HQ(config-if)#clock rate 128000
HQ(config-if)#no shut
HQ(config-if)#interface s0/0/0
HQ(config-if)#ip address 209.165.200.234 255.255.255.252
HQ(config-if)#no shut
HQ>enable
HQ#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
HQ(config)#ip route 0.0.0.0 0.0.0.0 s0/0/0
HQ(config)#router eigrp 1
HQ(config-router)#do show ip route connected
C 172.16.6.224/30 is directly connected, Serial0/0/1
C 172.16.6.228/30 is directly connected, Serial0/1/0
C 172.16.6.232/30 is directly connected, Serial0/1/1
C 172.16.6.236/30 is directly connected, Serial0/2/0
C 209.165.200.232/30 is directly connected, Serial0/0/0
HQ(config-router)#network 172.16.6.224 0.0.0.3
HQ(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 172.16.6.225 (Serial0/0/1) is up: new
adjacency
HQ(config-router)#no auto-summary
HQ(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 172.16.6.229 (Serial0/1/0) is up: new
adjacency
HQ(config-router)#passive-interface s0/0/0
HQ(config-router)#redistribute static
HQ(config-router)#exit
HQ(config)#interface s0/0/1
HQ(config-if)#ip hello-interval eigrp 1 12
HQ(config-if)#bandwidth 512
HQ(config-if)#
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 172.16.6.225 (Serial0/0/1) is down:
interface down
HQ(config-if)#
HQ(config-if)#interface s0/1/0
HQ(config-if)#ip hello-interval eigrp 1 12
HQ(config-if)#bandwidth 512
HQ(config-if)#
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 172.16.6.229 (Serial0/1/0) is down:
interface down
HQ(config-if)#interface s0/1/1
HQ(config-if)#ip hello-interval eigrp 1 12
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 172.16.6.229 (Serial0/1/0) is up: new
adjacency
HQ(config-if)#bandwidth 512
HQ(config-if)#
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 172.16.6.233 (Serial0/1/1) is down:
interface down
HQ(config-if)#interface s0/2/0
HQ(config-if)#ip hello-interval eigrp 1 12
HQ(config-if)#bandwidth 512
HQ(config-if)#
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 172.16.6.237 (Serial0/2/0) is down:
interface down
HQ(config-if)#
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 172.16.6.237 (Serial0/2/0) is up: new
adjacency
HQ#show ip route
HQ#
HQ>enable
HQ#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
HQ(config)#line console 0
HQ(config-line)#password cisco
HQ(config-line)#login
HQ(config-line)#line vty 0 15
HQ(config-line)#password cisco
HQ(config-line)#login
HQ(config-line)#exit
HQ(config)#service passwo
HQ(config)#service password-encryption
HQ(config)#banner motd $Advertencia$
HQ(config)#
HQ(config)#ip access-list extended HQACL
HQ(config-ext-nacl)#permit tcp any any
HQ(config-ext-nacl)#interface s0/2/0
HQ(config-if)#ip access-group HQACL in
HQ(config-if)#
- ISP
Router>enable
Router#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname ISP
ISP(config)#interface s0/0/0
ISP(config-if)#ip address 209.165.200.233 255.255.255.252
ISP(config-if)#clock rate 128000
ISP(config-if)#no shut
ISP(config-if)#interface g0/0
ISP(config-if)#ip address 209.165.200.225 255.255.255.248
ISP(config-if)#no shut
ISP>enable
ISP#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
ISP(config)#ip route 172.16.0.0 255.255.0.0 s0/0/0
ISP(config)#
ISP(config)#^Z
ISP#
%SYS-5-CONFIG_I: Configured from console by console
ISP#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
- Resultados