Frame-Relay Configuring Author(s): Quality Assurance: Version Date
Tran Van Thanh Tran Van Thanh 1.0 August 14 2007
Command Utilities Equipments at BachKhoa Networking Academy: Router: CISCO2651XM/ CISC2621XM IOS IP Plus Version 12.2(28) RAM 128 MB, Flash 48 MB {2621XM la DRAM, 2651XM la SDRAM} WIC: wic-2a/s Cable V.35 Smart Serial Switch: Cisco Catalyst 2950 Series Swich
page 1 of 4
TOPOLOGY_LAB OSPF
50.50.50.50/24 (area 0)
70.70.70.70/24 (area 0)
10.10.10.0/24 (area 0)
DLCI 201
DLCI 102
Off1
Off2 S0/0
10.10.10.5/24
10.10.10.6/24
S0/0 S0/1
DLCI 103
S0/2
S0/0
DLCI 301
DLCI 302 S0/1 10.10.10.10/24
Off3
60.60.60.60/24 (area 0)
I. BUILDING FRAME-RELAY SWITCH – PREPARE (Full-mesh) Step 1: enable switching function on router Frame-Relay(config)#frame−relay switching
Step 2: Configuring DLCI route on Frame-relay router Frame-Relay(config)# interface Serial 0/0 Frame-Relay(config-if)# description *** static DCE connection to s1 OFF3 Frame-Relay(config-if)# encapsulation frame−relay [cisco | ietf] Frame-Relay(config-if)# clockrate 128000 → only apply for DCE Frame-Relay(config-if)# frame−relay intf−type dce Frame-Relay(config-if)# frame−relay route 302 interface Serial0/2 203 Frame-Relay(config-if)# frame−relay route 301 interface Serial0/1 103 Frame-Relay(config)# interface Serial 0/1 Frame-Relay(config-if)# description *** static DCE connection to s0/0 OFF1 Frame-Relay(config-if)# encapsulation frame−relay [cisco | ietf] Frame-Relay(config-if)# clockrate 128000 → only apply for DCE Frame-Relay(config-if)# frame−relay intf−type dce
page 2 of 4
DLCI 203
Frame-Relay(config-if)# frame−relay route 102 interface Serial0/2 201 Frame-Relay(config-if)# frame−relay route 103 interface Serial0/0 301 Frame-Relay(config)# interface Serial 0/2 Frame-Relay(config-if)# description *** static DCE connection to s0/0 OFF2 Frame-Relay(config-if)# encapsulation frame−relay [cisco | ietf] Frame-Relay(config-if)# clockrate 128000 → only apply for DCE Frame-Relay(config-if)# frame−relay intf−type dce Frame-Relay(config-if)# frame−relay route 201 interface Serial0/1 102 Frame-Relay(config-if)# frame−relay route 203 interface Serial0/0 302
II. CONFIGURE FRAME-RELAY AT CPE_DTE Step 1. Enable Frame Relay encapsulation on an interface or subinterface. router(config−if)#encapsulation frame−relay [cisco | ietf] Step 2. Set the LMI type. Router(config−if)#frame−relay lmi−type [ansi | cisco | q933i]
Step 3. Configure static or dynamic protocol and address mapping. Router(config−if)#frame−relay interface−dlci dlci_number Router(config−if)#frame−relay map protocol [ip | dec | appletalk | xns | ipx | vines | clns | bridge | llc2 | dlsw] next_hop_address dlci [broadcast] [ietf | cisco]
Step 4. Address protocol−specific issues (OSPF, EIGRP).
III. VERIFYING R#show interfaces serial R#show frame-relay pvc R#show frame-relay map R#show frame-relay lmi R#clear frame-relay-inarp R#debug frame lmi
TRAFFIC SHAPING
Step 1. Configure map class parameters map−class frame−relay cisco frame−relay cir 64000 frame−relay mincir 32000
page 3 of 4
frame−relay adaptive−shaping becn frame−relay bc 8000 frame−relay be 16000
Step 2. Apply map class to the DLCI / subinterface interface Serial0/0.1 point−to−point ip address 10.1.1.1 255.255.255.0 frame−relay interface−dlci 16 frame−relay class cisco
Step 3. Apply traffic shaping to main interface interface Serial0/0 no ip address encapsulation frame−relay no fair−queue frame−relay traffic−shaping
VERIFY
page 4 of 4