Frame Relay switch configuration
Target:
Frame Relay switch configuration
Lab preparation:
Configuration knowledge and Frame Relay knowledge.
Lab device:
Router with serial port) 4
V.35 cable DTE/DCE) 3
Tutorial principle:
The frame relay standard can be configured and managed permanent virtual circuit PVC in the frame relay network) for addressing, and the frame relay permanent virtual circuit is identified by the data link connection identifier DLCI.
When frame relay provides multiple methods for multiple Logical Data sessions, the ISP's switching device must first create a table to map different DLCI values to the outbound port. Second, when a data frame is received, the Exchange Device analyzes its connection identifier and sends the data frame to the corresponding port. Finally, a full path to the destination will be created before the first data frame is sent.
Experiment topology:
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/042G13048-0.png "title =" 001.png" alt = "153401181.png"/>
Step:
Step 1 configure the frame relay switch.
FR (config) # frame-relay switching
FR (config) # interface Serial0/0
FR (config-if) # no ip address
FR (config-if) # encapsulation frame-relay IETF
FR (config-if) # frame-relay lm-type ansi
FR (config-if) # frame-relay intf-type dce
FR (config-if) # frame-relay route 16 interface Serial0/2 37
FR (config-if) # frame-relay route 17 interface Serial0/1 26
FR (config) # interface Serial0/1
FR (config-if) # no ip address
FR (config-if) # encapsulation frame-relay IETF
FR (config-if) # frame-relay lm-type ansi
FR (config-if) # frame-relay intf-type dce
FR (config-if) # frame-relay route 26 interface Serial0/0 17
FR (config-if) # frame-relay route 27 interface Serial0/2 36
FR (config) # interface Serial0/2
FR (config-if) # no ip address
FR (config-if) # encapsulation frame-relay IETF
FR (config-if) # frame-relay lm-type ansi
FR (config-if) # frame-relay intf-type dce
FR (config-if) # frame-relay route 36 interface Serial0/1 27
FR (config-if) # frame-relay route 37 interface Serial0/0 16
Step 2 configure the vro.
Router A (config) # interface Serial0/0
Router A (config-if) # ip address 10.1.1.1 255.255.255.0
Router A (config-if) # encapsulation frame-relay IETF
Router A (config-if) # frame-relay interface-dlci 16
Router A (config-if) # frame-relay interface-dlci 17
Tutorial 36 frame relay switch configuration-63 ·
Router A (config-if) # frame-relay lm-type ansi
Router B (config) # interface Serial0/0
Router B (config-if) # ip address 10.1.1.2 255.255.255.0
Router B (config-if) # encapsulation frame-relay IETF
Router B (config-if) # frame-relay interface-dlci 26
Router B (config-if) # frame-relay interface-dlci 27
Router B (config-if) # frame-relay lm-type ansi
Router C (config) # interface Serial0/0
Router C (config-if) # interface Serial0/0
Router C (config-if) # ip address 10.1.1.3 255.255.255.0
Router C (config-if) # encapsulation frame-relay IETF
Router C (config-if) # frame-relay interface-dlci 36
Router C (config-if) # frame-relay interface-dlci 37
Router C (config-if) # frame-relay lm-type ansi
Step 3. Verify the configuration of the frame relay switch.
FR # show frame-relay route
Input Intf Input Dlci Output Intf Output Dlci Status
Serial0/0 16 Serial0/2 37 active
Serial0/0 17 Serial0/1 26 active
Serial0/1 26 Serial0/0 17 active
Serial0/1 27 Serial0/2 36 active
Serial0/2 36 Serial0/1 27 active
Serial0/2 37 Serial0/0 16 active
FR # show frame-relay pvc
PVC Statistics for interface Serial0/0 (Frame Relay DCE)
Active Inactive Deleted Static
Local 0 0 0 0
Switched 2 0 0 0
Unused 0 0 0 0
DLCI = 16, dlci usage = SWITCHED, pvc status = ACTIVE, INTERFACE = Serial0/0
Input pkts 23 output pkts 22 in bytes 2170
Out bytes 2140 dropped pkts 0 in pkts dropped 0
Out pkts dropped 0 out bytes dropped 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 0 out bcast bytes 0
30 second input rate 0 bits/sec, 0 packets/sec
30 second output rate 0 bits/sec, 0 packets/sec
Switched pkts 23
Detailed packet drop counters:
No out intf 0 out intf down 0 no out PVC 0
In PVC down 0 out PVC down 0 pkt too big 0
Shaping Q full 0 pkt abve DE 0 sorting ing drop 0
Pvc create time 00:21:46, last time pvc status changed 00:15:05
DLCI = 17, dlci usage = SWITCHED, pvc status = ACTIVE, INTERFACE = Serial0/0
Input pktes 13 output pkts 12 in bytes 1130
Out bytes 1100 dropped pkts 0 in pkts dropped 0
Out pkts dropped 0 out bytes dropped 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 0 out bcast bytes 0
30 second input rate 0 bits/sec, 0 packets/sec
30 second output rate 0 bits/sec, 0 packets/sec
Switched pkts 13
Detailed packet drop counters:
No out intf 0 out intf down 0 no out PVC 0
In PVC down 0 out PVC down 0 pkt too big 0
Shaping Q full 0 pkt abve DE 0 sorting ing drop 0
Pvc create time 00:21:33, last time pvc status changed 00:09:06
PVC Statistics for interface Serial0/1 (Frame Relay DCE)
Active Inactive Deleted Static
Local 0 0 0 0
Switched 2 0 0 0
Unused 0 0 0 0
DLCI = 26, dlci usage = SWITCHED, pvc status = ACTIVE, INTERFACE = Serial0/1
Input pkts 12 output pkts 13 in bytes 1100
Out bytes 1130 dropped pkts 0 in pkts dropped 0
Out pkts dropped 0 out bytes dropped 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 0 out bcast bytes 0
30 second input rate 0 bits/sec, 0 packets/sec
30 second output rate 0 bits/sec, 0 packets/sec
Switched pkts 12
Detailed packet drop counters:
No out intf 0 out intf down 0 no out PVC 0
In PVC down 0 out PVC down 0 pkt too big 0
Shaping Q full 0 pkt abve DE 0 sorting ing drop 0
Pvc create time 00:20:25, last time pvc status changed 00:10:06
DLCI = 27, dlci usage = SWITCHED, pvc status = ACTIVE, INTERFACE = Serial0/1
Input pkts 12 output pkts 13 in bytes 1100
Out bytes 1130 dropped pkts 0 in pkts dropped 0
Out pkts dropped 0 out bytes dropped 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 0 out bcast bytes 0
30 second input rate 0 bits/sec, 0 packets/sec
30 second output rate 0 bits/sec, 0 packets/sec
Switched pkts 12
Detailed packet drop counters:
No out intf 0 out intf down 0 no out PVC 0
In PVC down 0 out PVC down 0 pkt too big 0
Shaping Q full 0 pkt abve DE 0 sorting ing drop 0
Pvc create time 00:20:03, last time pvc status changed 00:10:06
PVC Statistics for interface Serial0/2 (Frame Relay DCE)
Active Inactive Deleted Static
Local 0 0 0 0
Switched 2 0 0 0
Unused 0 0 0 0
DLCI = 36, dlci usage = SWITCHED, pvc status = ACTIVE, INTERFACE = Serial0/2
Input pktes 13 output pkts 12 in bytes 1130
Out bytes 1100 dropped pkts 0 in pkts dropped 0
Out pkts dropped 0 out bytes dropped 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 0 out bcast bytes 0
30 second input rate 0 bits/sec, 0 packets/sec
30 second output rate 0 bits/sec, 0 packets/sec
Switched pkts 13
Detailed packet drop counters:
No out intf 0 out intf down 0 no out PVC 0
In PVC down 0 out PVC down 0 pkt too big 0
Shaping Q full 0 pkt abve DE 0 sorting ing drop 0
Pvc create time 00:19:19, last time pvc status changed 00:09:09
DLCI = 37, dlci usage = SWITCHED, pvc status = ACTIVE, INTERFACE = Serial0/2
Input pkts 22 output pkts 23 in bytes 2140
Out bytes 2170 dropped pkts 0 in pkts dropped 0
Out pkts dropped 0 out bytes dropped 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 0 out bcast bytes 0
30 second input rate 0 bits/sec, 0 packets/sec
30 second output rate 0 bits/sec, 0 packets/sec
Switched pkts 22
Detailed packet drop counters:
No out intf 0 out intf down 0 no out PVC 0
In PVC down 0 out PVC down 0 pkt too big 0
Shaping Q full 0 pkt abve DE 0 sorting ing drop 0
Pvc create time 00:19:04, last time pvc status changed 00:15:22
FR # show frame-relay LMS
LMIS Statistics for interface Serial0/0 (Frame Relay DCE) lmis type = ANSI
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. Rcvd 114 numstatus msgs Sent 114
Num Update Status Sent 0 Num St Enq. Timeouts 18
LMIS Statistics for interface Serial0/1 (Frame Relay DCE) lmis type = ANSI
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. Rcvd 67 Num Status msgs Sent 67
Num Update Status Sent 0 Num St Enq. Timeouts 1
LMIS Statistics for interface Serial0/2 (Frame Relay DCE) lmis type = ANSI
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. Rcvd 100 numstatus msgs Sent 100
Num Update Status Sent 0 Num St Enq. Timeouts 14
Router A # show frame-relay map
Serial0/0 (up): ip 10.1.1.2 dlci 17 (0x11, 0x410), dynamic,
Broadcast,
IETF, status defined, active
Serial0/0 (up): ip 10.1.1.3 dlci 16 (0x10, 0x400), dynamic,
Broadcast,
IETF, status defined, active
Note]
When the WAN protocol is encapsulated, the two port encapsulation protocols of the V.35 cable must be consistent. Otherwise, a link cannot be established.
Reference Configuration]
FR # show running-config
Building configuration...
Current configuration: 574 bytes
!
Version RGNOS 10.1.00 (4), Release (18443) (Tue Jul 17 21:16:17 CST 2007-ubu1server)
Hostname FR
!
Interface Serial0/0
No ip address
Encapsulation frame-relay IETF
Serial restart-delay 0
Frame-relay lm-type ansi
Frame-relay intf-type dce
Frame-relay route 16 interface Serial0/2 37
Frame-relay route 17 interface Serial0/1 26
!
Interface Serial0/1
No ip address
Encapsulation frame-relay IETF
Serial restart-delay 0
Frame-relay lm-type ansi
Frame-relay intf-type dce
Frame-relay route 26 interface Serial0/0 17
Frame-relay route 27 interface Serial0/2 36
!
Interface Serial0/2
No ip address
Encapsulation frame-relay IETF
Serial restart-delay 0
Frame-relay lm-type ansi
Frame-relay intf-type dce
Frame-relay route 36 interface Serial0/1 27
Frame-relay route 37 interface Serial0/0 16!
!
Line con 0
Line aux 0
Line vty 0 4
Login
!
End
Router A # show running-config
Building configuration...
Current configuration: 581 bytes
!
Version RGNOS 10.1.00 (4), Release (18443) (Tue Jul 17 21:16:17 CST 2007-ubu1server)
Hostname Router
!
Interface Serial0/0
Ip address 10.1.1.1 255.255.255.0
Encapsulation frame-relay IETF
Serial restart-delay 0
Frame-relay interface-dlci 16
Frame-relay interface-dlci 17
Frame-relay lm-type ansi!
Interface GigabitEthernet 0/0
Duplex auto
Speed auto
!
Interface FastEthernet 1/0
Ip address 192.168.2.1 255.255.255.0
Duplex auto
Speed auto
!
Line con 0
Line aux 0
Line vty 0 4
Login
!
End
Router B # show running-config
Building configuration...
Current configuration: 581 bytes
!
Version RGNOS 10.1.00 (4), Release (18443) (Tue Jul 17 21:16:17 CST 2007-ubu1server)
Hostname Router B
!
Interface Serial0/0
Ip address 10.1.1.2 255.255.255.0
Encapsulation frame-relay IETF
Serial restart-delay 0
Frame-relay interface-dlci 26
Frame-relay interface-dlci 27
Frame-relay lm-type ansi
!
Line con 0
Line aux 0
Line vty 0 4
Login
!
End
Router C # show running-config
Building configuration...
Current configuration: 581 bytes
!
Version RGNOS 10.1.00 (4), Release (18443) (Tue Jul 17 21:16:17 CST 2007-ubu1server)
Hostname Router C
!
Interface Serial0/0
Ip address 10.1.1.3 255.255.255.0
Encapsulation frame-relay IETF
Serial restart-delay 0
Frame-relay interface-dlci 36
Frame-relay interface-dlci 37
Frame-relay lm-type ansi!
!
Line con 0
Line aux 0
Line vty 0 4
Login
!
End
This article is from the "Security_net" blog, please be sure to keep this http://yxh1157686920.blog.51cto.com/7743046/1300625