Upload
tibisandres
View
217
Download
0
Embed Size (px)
Citation preview
8/14/2019 Configuracion Del Router Con DCE
1/7
Configuracion del router con DCE
Se coloca un modulo serial.
8/14/2019 Configuracion Del Router Con DCE
2/7
Router 1:
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.Router(config)#interface FastEthernet 0/0
Router(config-if)#ip address 10.10.13.1 255.255.255.0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router(config-if)#exit
Router(config)#interface FastEthernet 0/1
Router(config-if)#ip address 10.10.17.1 255.255.255.0Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
Router(config-if)# ?
bandwidth Set bandwidth informational parameter
cdp CDP interface subcommands
clock Configure serial interface clock
crypto Encryption/Decryption commands
custom-queue-list Assign a custom queue list to an interface
delay Specify interface throughput delay
description Interface specific description
encapsulation Set encapsulation type for an interface
exit Exit from interface configuration mode
fair-queue Enable Fair Queuing on an Interface
frame-relay Set frame relay parameters
hold-queue Set hold queue depth
ip Interface Internet Protocol config commands
ipv6 IPv6 interface subcommands
keepalive Enable keepalive
mtu Set the interface Maximum Transmission Unit (MTU)
no Negate a command or set its defaults
ppp Point-to-Point Protocol
priority-group Assign a priority group to an interface
service-policy Configure QoS Service Policy
shutdown Shutdown the selected interface
tx-ring-limit Configure PA level transmit ring limit
zone-member Apply zone name
Router(config)#interface Serial 0/1/0
Router(config-if)#ip address 10.10.12.1 255.255.255.0
8/14/2019 Configuracion Del Router Con DCE
3/7
Router(config-if)#clock rate
% Incomplete command.
Router(config-if)#clock rate 64000
Router(config-if)#no shutdown
Router(config-if)# clock ?
rate Configure serial interface clock speedRouter(config-if)#clock rate ?
Speed (bits per second
1200
2400
4800
9600
19200
38400
56000
64000
72000125000
128000
148000
250000
500000
800000
1000000
1300000
2000000
4000000
Choose clockrate from list above
Router(config-if)#clock rate 64000
Router(config-if)#exit
Tabla de enrutamiento Router 1:
Router(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Router#show ip route
Codes: C - connected, S - static, I - IGRP, 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
Gateway of last resort is not set
10.0.0.0/24 is subnetted, 2 subnets
C 10.10.10.0 is directly connected, FastEthernet0/0
C 10.10.11.0 is directly connected, FastEthernet0/1
Router#
8/14/2019 Configuracion Del Router Con DCE
4/7
a
Router(config)# router
% Incomplete command.
Router(config)# router ?
bgp Border Gateway Protocol (BGP)
eigrp Enhanced Interior Gateway Routing Protocol (EIGRP)
ospf Open Shortest Path First (OSPF)
rip Routing Information Protocol (RIP)
Router(config)# router rip ?
Router(config)# router rip
Router(config-router)# ?
auto-summary Enter Address Family command mode
default-information Control distribution of default information
distance Define an administrative distance
exit Exit from routing protocol configuration mode
network Enable routing on an IP network
no Negate a command or set its defaults
passive-interface Suppress routing updates on an interface
redistribute Redistribute information from another routing protocol
timers Adjust routing timers
version Set routing protocol version
Router(config-router)# network ?
A.B.C.D Network number
Router(config-router)# network 10.10.10.0 ?
Router(config-router)# network 10.10.10.0 //RED 1
Router(config-router)#network 10.10.11.0 //RED 2
Router(config-router)#network 10.10.12.0 //RED 3
Router#show ip route
Codes: C - connected, S - static, I - IGRP, 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
Gateway of last resort is not set
10.0.0.0/24 is subnetted, 2 subnets
C 10.10.10.0 is directly connected, FastEthernet0/0
C 10.10.11.0 is directly connected, FastEthernet0/1
8/14/2019 Configuracion Del Router Con DCE
5/7
Router(config)#router rip
Router(config-router)#version ?
version
Router(config-router)#version 2Router(config-router)#
Router 2:
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.Router(config)#interface FastEthernet 0/0
Router(config-if)#ip address 10.10.13.1 255.255.255.0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router(config-if)#exit
Router(config)#interface FastEthernet 0/1
Router(config-if)#ip address 10.10.17.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
Router(config)#interface Se0/1/0
Router(config-if)#ip address 10.10.12.1 255.255.255.254
Bad mask /31 for address 10.10.12.1
Router(config-if)#no shutdown
Router(config)#interface Serial 0/1/0
Router(config-if)#ip address 10.10.12.2 255.255.255.254
Bad mask /31 for address 10.10.12.2
Router(config-if)#no shutdown
Router(config-if)#exit
Tabla de enrutamiento Router 2:
Router# show ip route
Codes: C - connected, S - static, I - IGRP, 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
8/14/2019 Configuracion Del Router Con DCE
6/7
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/24 is subnetted, 2 subnetsC 10.10.13.0 is directly connected, FastEthernet0/0
C 10.10.17.0 is directly connected, FastEthernet0/1
Router#
a
Router>enable
Router#con
Router#configure Ter
Router#configure Terminal
Enter configuration commands, one per line. End with CNTL/Z.Router(config)#route
% Incomplete command.
Router(config)#router rip
Router(config-router)#network 10.10.12.0
Router(config-router)#network 10.10.13.0
Router(config-router)#network 10.10.14.0
Router(config-router)#?
auto-summary Enter Address Family command mode
default-information Control distribution of default information
distance Define an administrative distance
exit Exit from routing protocol configuration mode
network Enable routing on an IP network
no Negate a command or set its defaults
passive-interface Suppress routing updates on an interface
redistribute Redistribute information from another routing protocol
timers Adjust routing timers
version Set routing protocol version
Router(config-router)#version ?
version
Router(config-router)#version 2
8/14/2019 Configuracion Del Router Con DCE
7/7
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router rip
Router(config-router)#network 192.168.10.32
Router(config-router)#network 192.168.10.48Router(config-router)#network 192.168.10.128
Router(config-router)#network 192.168.10.136
Router(config-router)#exit
Router(config)#router rip
Router(config-router)#version 2
Router(config-router)#exit
Router(config)#