Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Sadjiajsdasd
Sadjiajsdasd
Configuracin
L3 Bsica
Agenda
A. Routing IP
B. Rutas Estticas
C. RIP
D. Troubleshooting
E. Laboratorio 1
F. OSPF
G. Troubleshooting
H. Laboratorio 2
Routing IP
Routing IP
Interfaces de Routing
A. El comando
show vlan
permite ver configuracin IP importante
* Summit1iTx:19 # show vlan
Name VID Protocol Addr Flags Proto Super Ports STPs
Default 0001 10.0.0.1 /24 -----f-r--- ANY 0/ 1 1
MacVlanDis 4095 ------------------ ----- ANY 0/ 0 0
v-any 4094 10.0.1.1-------/24 -----f-r--- ANY 0/ 1 0
v-ip 4093 10.0.2.1-------/24 -----f-r--- IP 0/ 4 0
v-nb 4092 ------------------ ----- netbio 0/ 3 0
A. El comando
show ipconfig
permite ver configuracin IP importante
* Summit1iTx:62 # sh ipconfig
IP Routing : Enabled
IPmc Routing : Disabled
Use Redirects : Disabled
RIP : Enabled
DVMRP : Disabled
PIM : Disabled
OSPF : Disabled
BGP : Disabled
IRDP : Disabled
BootpRelay : Disabled
Route Sharing : Disabled
Multinetting : Disabled
IGMP Snooping : Enabled
SLB : Disabled
VRRP : Disabled
IpOption LSRR : Enabled
IpOption SSRR : Enabled
IpOption RR : Enabled
IpOption TS : Enabled
Routing IP
Troubleshooting
A. El comando
show ipconfig
tambin permite ver ms configuracin IP importante
VLAN IP Address Flags nSIA nLRMA nLeMA
Default 10.0.0.1 /24 EUf----s--uRPXMTA----ir------ 0 3 0
v-any 10.0.1.1 /24 EUf----s--uRPXMTA----ir------ 0 3 2
v-ip 10.0.2.1 /24 E-f----s--uRPXMTA----ir------ 0 2 0
A. El comando
show iproute
muestra la tabla de rutas del switch
* Summit1iTx:70 # sh iproute
A. El comando
show rip
muestra informacin sobre la configuracin de RIP
* Summit1iTx:71 # sh rip
Rip Enabled: YES Split Horizon: YES Poison Reverse: YES
Triggered Updates: YES Aggregate Routes: NO
UpdateInterval: 30 RouteTimeout: 180 GarbageTime: 120
RouteChanges: 0 Queries: 0
Export Static: YES
Export Ospf-Intra: NO
Export Ospf-Inter: NO
Export Ospf-Extern1: NO
Export Ospf-Extern2: NO
Export Direct: NO
Export Vip: NO
Originate Default: NO
Objetivo
A. Aprender a configurar direcciones IP en las interfaces, habilitar
IP routing y configurar rutas estticas
B. Aprender a configurar y habilitar RIP
C. Aprender a exportar rutas externas a RIP
Laboratorio 1-A
IP Routing y Rutas Estticas
VLAN B11
.1
VLAN Red IP VLAN C2 .1
C1 10.0.1.x / 24 S1
C2 10.0.2.x / 24 VLAN B31
.1 .1
C3 10.0.3.x / 24 .3 .3 VLAN B12
B11 10.1.1.x / 24
S3 VLAN C1
B12 10.1.2.x / 24
B21 10.2.1.x / 24 .3 .3
VLAN B21
B22 10.2.2.x / 24 VLAN B32
.2 .2
B31 10.3.1.x / 24
S2
B32 10.3.2.x / 24 .2
VLAN C3
.2
VLAN B22
Laboratorio 1-A
IP Routing y Rutas Estticas
A. Desconfigurar el switch
B. Crear las VLANs correspondientes al switch elegido y
agregarles puertas
C. Habilitar ruteo IP
D. Establecer rutas estticas a las VLANs Bx1 de los otros
switches
E. Verificar conectividad mediante ping
F. Loopback?
Laboratorio 1-A
IP Routing y Rutas Estticas
Switch 1 Switch 2
Unconfigure switch Unconfigure switch
Config default del port all Config default del port all
Create vlan c1 Create vlan c1
Create vlan c2 Create vlan c3
Create vlan b11 Create vlan b21
Create vlan b12 Create vlan b22
Config c1 ip 10.0.1.1/24 Config c1 ip 10.0.1.2/24
Config c2 ip 10.0.2.1/24 Config c3 ip 10.0.3.2/24
Config b11 ip 10.1.1.1/24 Config b21 ip 10.2.1.2/24
Config b12 ip 10.1.2.1/24 Config b22 ip 10.2.2.2/24
# agregar puertos a las vlans # agregar puertos a las vlans
Enable loopback-mode b11 Enable loopback-mode b21
Enable ipforward Enable ipforward
Config iprou add 10.2.1.0/24 10.0.1.2 10 Config iprou add 10.1.1.0/24 10.0.1.1 10
Config iprou add 10.2.1.0/24 10.0.2.3 20 Config iprou add 10.1.1.0/24 10.0.3.3 20
Config iprou add 10.3.1.0/24 10.0.2.3 10 Config iprou add 10.3.1.0/24 10.0.3.3 10
Config iprou add 10.3.1.0/24 10.0.1.2 20 Config iprou add 10.3.1.0/24 10.0.1.1 20
Switch 3
Unconfigure switch # agregar puertos a las vlans
Config default del port all Enable loopback-mode b31
Create vlan c2 Enable ipforward
Create vlan c3 Config iprou add 10.1.1.0/24 10.0.3.1 10
Create vlan b31 Config iprou add 10.1.1.0/24 10.0.2.2 20
Create vlan b32 Config iprou add 10.2.1.0/24 10.0.2.2 10
Config c2 ip 10.0.2.3/24 Config iprou add 10.2.1.0/24 10.0.3.1 20
Config c3 ip 10.0.3.3/24
Config b31 ip 10.3.1.3/24
Config b32 ip 10.3.2.3/24
Laboratorio 1-B
RIP
Switch 2
Config rip add c1
Config rip add c3
Config rip add b22
Enable loopback-mode b22
Enable rip
Switch 3
Config rip add c2
Config rip add c3
Config rip add b32
Enable loopback-mode b32
Enable rip
Laboratorio 1-C
Export Static
Switch 2
config iproute add 21.0.0.0/8 10.2.1.100 5
enable rip export static metric 50
Switch 3
config iproute add 31.0.0.0/8 10.3.1.100 5
enable rip export static metric 50
OSPF
Routing IP
OSPF
Area Area
0.0.0.1 Area 0.0.0.3
0.0.0.0
Area Backbone Area
0.0.0.2 0.0.0.4
Routing IP
Areas OSPF (cont.)
R1 R2
R7 R6
Internet
R3 Area 1 R9
R8 Area 2
R4 R 10
ABR ABR
ASBR
Area 3 R 11
R5 Area 3
ABR
R 12
R 13
Autonomous S ystem
*Todos los routers no etiquetados como ASBR o ABR son Internal Routers
Routing IP
Network Type - Broadcast Networks
10.1.1.2 10.1.1.4
Routing IP
Designated Router
A. El comando
show vlan
permite ver configuracin IP importante
Name VID Protocol Addr Flags Proto Super Ports STPs
Default 0001 10.0.0.1 /24 -----f--o-- ANY 1/ 8 1
MacVlanDis 4095 ------------------ ----- ANY 0/ 0 0
c1 4094 10.0.1.1 /24 -L---f--o-- ANY 0/ 0 0
c2 4093 10.0.2.1 /24 -L---f--o-- ANY 0/ 0 0
c3 4092 10.0.3.1 /24 -L---f--o-- ANY 0/ 0 0
A. El comando
show ipconfig
permite ver configuracin IP importante
* Summit1iTx:62 # sh ipconfig
IP Routing : Enabled
IPmc Routing : Disabled
Use Redirects : Disabled
RIP : Disabled
DVMRP : Disabled
PIM : Disabled
OSPF : Enabled
BGP : Disabled
IRDP : Disabled
BootpRelay : Disabled
Route Sharing : Disabled
Multinetting : Disabled
IGMP Snooping : Enabled
SLB : Disabled
VRRP : Disabled
IpOption LSRR : Enabled
IpOption SSRR : Enabled
IpOption RR : Enabled
IpOption TS : Enabled
Routing IP
Troubleshooting
A. El comando
show ipconfig
tambin permite ver ms configuracin IP importante
VLAN IP Address Flags nSIA nLRMA nLeMA
Default 10.0.0.1 /24 EUf----s--uRPXMTA----i-o----- 0 4 3
c1 10.0.1.1 /24 EUf----s--uRPXMTA----i-o----- 0 4 0
c2 10.0.2.1 /24 EUf----s--uRPXMTA----i-o----- 0 4 0
c3 10.0.3.1 /24 EUf----s--uRPXMTA----i-o----- 0 4 0
A. El comando
show iproute
muestra la tabla de rutas del switch
* Summit1iTx:43 # sh iproute so
OR Destination Gateway Mtr Flags Use M-Use VLAN Acct-1
*d 10.0.0.0/24 10.0.0.1 1 U------u- 540 0 Default 0
*d 10.0.1.0/24 10.0.1.1 1 U------u- 0 0 c1 0
*d 10.0.2.0/24 10.0.2.1 1 U------u- 0 0 c2 0
*d 10.0.3.0/24 10.0.3.1 1 U------u- 0 0 c3 0
*oa 10.1.1.0/24 10.0.0.2 14 UG-----um 0 0 Default 0
*or 11.2.1.0/24 10.0.0.2 14 UG-----um 0 0 Default 0
*or 11.3.1.0/24 10.0.0.2 14 UG-----um 0 0 Default 0
*or 11.4.1.0/24 10.0.0.2 14 UG-----um 0 0 Default 0
*d 127.0.0.1/8 127.0.0.1 0 U-H----um 0 0 Default 0
A. El comando
show ospf
muestra informacin sobre la configuracin de RIP
* Summit1iTx:44 # sh osp
Router Id OSPF ASBR ABR ExtLSA ExtLSACsum OrigNewLSA RxNewLSA SpfHoldTime
1.1.1.1 E NO YES 0 0x0 30 16 3
A. El comando
show ospf interfaces
muestra informacin sobre la configuracin de RIP
* Summit1iTx:45 # sh osp interfaces
VLAN IP Address AREA ID Flags Cost State Neighbors
c3 10.0.3.1 /24 0.0.0.2 -rif- 10/A DR 0
c2 10.0.2.1 /24 0.0.0.2 -rif- 10/A DR 0
c1 10.0.1.1 /24 0.0.0.2 -rif- 10/A DR 0
Default 10.0.0.1 /24 0.0.0.0 -rif- 4/A DR 1
Flags : r - Router OSPF Enabled, i - Interface OSPF Enabled, f - Interface
Forwarding Enabled, p - Passive Interface.
Routing IP
Troubleshooting
A. El comando
show ospf interfaces detail
muestra informacin sobre la configuracin de OSPF
* Summit1iTx:46 # sh osp interfaces detail
Interface(rif0): 10.0.0.1/24 Vlan: Default Ospf: ENABLED Router: ENABLED
AreaId: 0.0.0.0 (0) RtId: 1.1.1.1 Link Type: broadcast(auto) Passive: No
Cost: 4/A Priority: 1 Transit Delay: 1
Hello Interval: 10s Rtr Dead Time: 40s Retransmit Interval: 5s
Wait Timer: 40s(auto)
Authentication: NONE
State: DR Number of events: 5
DR RtId: 1.1.1.1 DR IP addr: 10.0.0.1 BDR IP addr: 10.0.0.2
Num Neighbor State Change to FULL : 1
Neighbours:
RtrId: 2.2.2.2 IpAddr: 10.0.0.2 Pri: 1 Type: Auto
State: FULL Dr: 10.0.0.1 BDR: 10.0.0.2 Dead Time: 10
Options (0x2): Opaque LSA: No
Laboratorio 2
Laboratorio 2
OSPF
Objetivo
A. Aprender a configurar y habilitar OSPF
B. Aprender a exportar rutas externas a OSPF
Laboratorio 2-A
OSPF
VLAN B11
.1
VLAN C2 .1
S1
VLAN Red IP
VLAN B31
.1 Area
C1 10.0.1.x / 24
.3 .3 0.0.0.1
C2 10.0.2.x / 24
C3 10.0.3.x / 24 S3 VLAN C1
B11 10.1.1.x / 24 .3 Area
B21 10.2.1.x / 24 VLAN B21
0.0.0.3 .2 .2
B31 10.3.1.x / 24
S2
.2
VLAN C3
Area 0.0.0.0 Area
0.0.0.2
Laboratorio 2-A
OSPF
A. Desconfigurar el switch
B. Crear las VLANs correspondientes al switch elegido y
asignarles puertas
C. Habilitar ruteo IP
D. Configurar Router ID
S1: Rtr_ID = 1.1.1.1
S2: Rtr_ID = 2.2.2.2
S3: Rtr_ID = 3.3.3.3
E. Crear reas
F. Habilitar OSPF en las VLANs y en el switch
G. Verificar establecimiento de OSPF con vecinos
H. Verificar la propagacin de rutas de otros switches
I. Verificar conectividad mediante ping
Laboratorio 2-A
OSPF
Switch 1 Switch 2
Unconfigure switch Unconfigure switch
Config default del port all Config default del port all
Create vlan c1 Create vlan c1
Create vlan c2 Create vlan c3
Create vlan b11 Create vlan b21
Config c1 ip 10.0.1.1/24 Config c1 ip 10.0.1.2/24
Config c2 ip 10.0.2.1/24 Config c3 ip 10.0.3.2/24
Config b11 ip 10.1.1.1/24 Config b21 ip 10.2.1.2/24
# agregar puertos a las vlans # agregar puertos a las vlans
Enable loopback-mode b11 Enable loopback-mode b21
Enable ipforward Enable ipforward
Config ospf routerid 1.1.1.1 Config ospf routerid 2.2.2.2
Create ospf area 0.0.0.1 Create ospf area 0.0.0.2
Config ospf add vlan c1 area 0.0.0.0 Config ospf add vlan c1 area 0.0.0.0
Config ospf add vlan c2 area 0.0.0.0 Config ospf add vlan c3 area 0.0.0.0
Config ospf add vlan b11 area 0.0.0.1 Config ospf add vlan b21 area 0.0.0.2
Enable ospf Enable ospf
Switch 3
Unconfigure switch Enable loopback-mode b31
Config default del port all Enable ipforward
Create vlan c2 Config ospf routerid 3.3.3.3
Create vlan c3 Create ospf area 0.0.0.3
Create vlan b31 Config ospf add vlan c2 area 0.0.0.0
Config c2 ip 10.0.2.3/24 Config ospf add vlan c3 area 0.0.0.0
Config c3 ip 10.0.3.3/24 Config ospf add vlan b31 area 0.0.0.3
Config b31 ip 10.3.1.3/24 Enable ospf
# agregar puertos a las vlans
Laboratorio 2-B
Export Static
Switch 2
Config iproute add 21.0.0.0/8 10.2.1.100 200
Enable ospf export static cost 100 type ase-type-1
Switch 3
Config iproute add 31.0.0.0/8 10.3.1.100 200
Enable ospf export static cost 100 type ase-type-1
Fin !