Vous êtes ici : Accueil Wan & Gestion Labo Frame-Relay 1 : Configuration basique

Labo Frame-Relay 1 : Configuration basique

Dans cette configuration de base, un PVC est créé entre RA1 et RA2, le type de message LMI est Cisco par défaut. Puisqu'une interface physique est par défaut une interface multipoint, Inverse ARP est activé (ce ne sera pas le cas pour les interfaces point à point). IP Split Horizon est désactivé sur les interfaces configurées en encapsulation Frame-Relay, ainsi les mises à jour de routage peuvent entrer et sortir de la même interface. Les routeurs apprennent les DLCI dont ils ont besoin à partir du Switch Frame-Relay via des mises à jour LMI. Inverse ARP est appliqué sur l'adresse IP distante et un mapping des DLCI locaux est créé avec la correspondance des adresses IP à joindre.

 


 

RA1

 

interface Serial0

ip address 192.168.1.1 255.255.255.0

encapsulation frame-relay

 

RA2

 

interface Serial0

ip address 192.168.1.2 255.255.255.0

encapsulation frame-relay

 

SWITCH

 

frame-relay switching

!

interface Serial0/0

no ip address

encapsulation frame-relay

clockrate 64000

frame-relay intf-type dce

frame-relay route 130 interface Serial0/1 131

!

interface Serial0/1

no ip address

encapsulation frame-relay

clockrate 64000

frame-relay intf-type dce

frame-relay route 131 interface Serial0/0 130

Diagnostic sur RA1

RA1#show frame-relay map

Serial0 (up): ip 192.168.1.2 dlci 130(0x82,0x2020), dynamic,

broadcast,, status defined, active

RA1#show frame-relay pvc

 

PVC Statistics for interface Serial0 (Frame Relay DTE)

 

Active Inactive Deleted Static

Local 1 0 0 0

Switched 0 0 0 0

Unused 0 0 0 0

 

DLCI = 130, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0

 

input pkts 99 output pkts 95 in bytes 9580

out bytes 9316 dropped pkts 0 in FECN pkts 0

in BECN pkts 0 out FECN pkts 0 out BECN pkts 0

in DE pkts 0 out DE pkts 0

out bcast pkts 35 out bcast bytes 3076

5 minute input rate 0 bits/sec, 0 packets/sec

5 minute output rate 0 bits/sec, 0 packets/sec

pvc create time 00:19:59, last time pvc status changed 00:05:19

RA1#show frame-relay lmi

 

LMI Statistics for interface Serial0 (Frame Relay DTE) LMI TYPE = CISCO

Invalid Unnumbered info 0 Invalid Prot Disc 0

Invalid dummy Call Ref 0 Invalid Msg Type 0

Invalid Status Message 0 Invalid Lock Shift 0

Invalid Information ID 0 Invalid Report IE Len 0

Invalid Report Request 0 Invalid Keep IE Len 0

Num Status Enq. Sent 127 Num Status msgs Rcvd 128

Num Update Status Rcvd 0 Num Status Timeouts 0

RA1#ping 192.168.20.1

 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 192.168.20.1, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms

RA1#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

 

R 192.168.10.0/24 [120/1] via 192.168.1.2, 00:00:06, Serial0

C 192.168.20.0/24 is directly connected, FastEthernet0

C 192.168.1.0/24 is directly connected, Serial0

 

Diagnostic sur RA2

RA2#show frame-relay map

Serial0 (up): ip 192.168.1.1 dlci 131(0x83,0x2030), dynamic,

broadcast,, status defined, active

RA2#show frame-relay pvc

 

PVC Statistics for interface Serial0 (Frame Relay DTE)

 

Active Inactive Deleted Static

Local 1 0 0 0

Switched 0 0 0 0

Unused 0 0 0 0

 

DLCI = 131, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0

 

input pkts 37 output pkts 36 in bytes 3670

out bytes 3656 dropped pkts 0 in FECN pkts 0

in BECN pkts 0 out FECN pkts 0 out BECN pkts 0

in DE pkts 0 out DE pkts 0

out bcast pkts 6 out bcast bytes 536

5 minute input rate 0 bits/sec, 0 packets/sec

5 minute output rate 0 bits/sec, 0 packets/sec

pvc create time 00:02:43, last time pvc status changed 00:02:33

RA2#show frame-relay lmi

 

LMI Statistics for interface Serial0 (Frame Relay DTE) LMI TYPE = CISCO

Invalid Unnumbered info 0 Invalid Prot Disc 0

Invalid dummy Call Ref 0 Invalid Msg Type 0

Invalid Status Message 0 Invalid Lock Shift 0

Invalid Information ID 0 Invalid Report IE Len 0

Invalid Report Request 0 Invalid Keep IE Len 0

Num Status Enq. Sent 108 Num Status msgs Rcvd 110

Num Update Status Rcvd 0 Num Status Timeouts 0

RA2#ping 192.168.10.2

 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 192.168.10.2, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms

RA2#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

 

C 192.168.10.0/24 is directly connected, FastEthernet0

R 192.168.20.0/24 [120/1] via 192.168.1.1, 00:00:17, Serial0

C 192.168.1.0/24 is directly connected, Serial0

Mots-clés associés : , , , ,