Configuration d’un switch frame-relay
Dans cette architecture nous avons trois routeurs dont un qui à le role de switch Frame-Relay.
Configuration du swith frame-relay
Pour cela il est necessaire d’activer le frame-relay switching :
frame-relay switching.
Ensuite il faut définir quel port sera attaché à tel routeur avec les bon DLCI. Dans notre exemple, nous aurons la configuration suivante :
R1 |-DLCI 104 ---------------se0/0-| FR1 |-se0/1---------------DLCI 401-| R4
Configuration de FR1 :
interface Serial0/0 no ip address encapsulation frame-relay serial restart-delay 0 frame-relay intf-type dce frame-relay route 104 interface Serial0/1 401 ! interface Serial0/1 no ip address encapsulation frame-relay serial restart-delay 0 frame-relay intf-type dce frame-relay route 401 interface Serial0/0 104 !
Configuration des interfaces series de R1 et R4 :
R1#sh run int se1/0 Building configuration... Current configuration : 212 bytes ! interface Serial1/0 ip address 192.168.1.1 255.255.255.0 encapsulation frame-relay serial restart-delay 0 frame-relay map ip 192.168.1.4 104 frame-relay interface-dlci 104 no frame-relay inverse-arp interface Serial0/0 ip address 192.168.1.4 255.255.255.0 encapsulation frame-relay serial restart-delay 0 frame-relay map ip 192.168.1.1 401 frame-relay interface-dlci 401 no frame-relay inverse-arp
Vérification
FR1#sh frame-relay route
Input Intf Input Dlci Output Intf Output Dlci Status
Serial0/0 104 Serial0/1 401 active
Serial0/1 401 Serial0/0 104 active
!
FR1#sh frame-relay pvc | inc DLCI
DLCI = 104, DLCI USAGE = SWITCHED, PVC STATUS = ACTIVE, INTERFACE = Serial0/0
DLCI = 401, DLCI USAGE = SWITCHED, PVC STATUS = ACTIVE, INTERFACE = Serial0/1
R1#sh frame map
Serial1/0 (up): ip 192.168.1.4 dlci 104(0x68,0x1880), static,
CISCO, status defined, active
R1#sh frame pvc | inc DLCI
DLCI = 104, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial1/0
R4#sh frame map
Serial0/0 (up): ip 192.168.1.1 dlci 401(0x191,0x6410), static,
CISCO, status defined, active
R4#sh frame pvc | inc DLCI
DLCI = 401, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0/0
R1#p 192.168.1.4 re 50
Type escape sequence to abort.
Sending 50, 100-byte ICMP Echos to 192.168.1.4, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Success rate is 100 percent (50/50), round-trip min/avg/max = 4/14/72 ms