Cisco Certification Exam Command Review:
Frame Relay
By Chris Bryant, CCIE #12933
debug frame lmi - Used to detect LMI mismatches.
R1#debug frame lmi
Frame Relay LMI debugging is on
Displaying all Frame Relay LMI data
00:11:16: Serial0(out): StEnq, myseq 22, yourseen 0, DTE down
00:11:16: datagramstart = 0xE46F98, datagramsize = 14
00:11:16: FR encap = 0x00010308
00:11:16: 00 75 95 01 01 00 03 02 16 00
00:11:16:
00:11:26: Serial0(out): StEnq, myseq 23, yourseen 0, DTE down
00:11:26: datagramstart = 0xE470C8, datagramsize = 14
00:11:26: FR encap = 0x00010308
00:11:26: 00 75 95 01 01 00 03 02 17 00
encapsulation frame-relay - Default is Cisco, which is not listed in the choices for the command or in the output of show interface serial.
R1(config)#int s0
R1(config-if)#encap frame ?
ietf Use RFC1490/RFC2427 encapsulation
<cr>
frame-relay traffic-shaping, frame-relay class -- The first command enables FRTS on the physical interface; the second is used to apply a map class to a subinterface or PVC. (If it's being applied to a PVC, you'll apply it in the middle of the frame map statement.)
R1(config)#int s0
R1(config-if)#frame-relay traffic-shaping
R1(config-if)#int s0.12
R1(config-subif)#frame-relay class R2
frame map, no frame inverse-arp - The first command is used to create static frame mappings; the second is used to prevent dynamic mappings from forming.
R1(config)#int s0
R1(config-if)#shut
R1(config-if)#no frame inverse
R1(config-if)#frame map ip 172.12.123.2 122 broadcast
R1(config-if)#frame map ip 172.12.123.3 123 broadcast
R1(config-if)#no shut
frame interface-dlci is used on point-to-point interfaces. Remember, the DLCI number in this command is the local router's DLCI!
R1(config)#int s0.31 point-to-point
R1(config-subif)#frame map ip 172.12.123.3 123 broadcast
FRAME-RELAY INTERFACE-DLCI command should be used on point-to-point interfaces
frame-relay lmi-type - Used to change LMI type to Cisco (default), ansi, or q933a.
R1(config)#int s0
R1(config-if)#frame lmi-type ansi
frame-relay adaptive-shaping becn - Used to enable BECN adaptive shaping.
KC(config)#int s0
KC(config-if)#frame-relay adaptive-shaping becn
map-class frame - The first step in FRTS, the map class contains the FRTS values to be applied to a PVC or subinterface.
R1(config)#map-class frame-relay R2
R1(config-map-class)#frame-relay ?
adaptive-shaping Adaptive traffic rate adjustment, Default = none
bc Committed burst size (Bc), Default = 56000 bits
be Excess burst size (Be), Default = 0 bits
cir Committed Information Rate (CIR), Default = 56000 bps
custom-queue-list VC custom queueing
end-to-end Configure frame-relay end-to-end VC parameters
fair-queue VC fair queueing
fecn-adapt Enable Traffic Shaping reflection of FECN as BECN
mincir Minimum acceptable CIR, Default = CIR/2 bps
priority-group VC priority queueing
traffic-rate VC traffic rate
frame-relay traffic-rate - A frame class command, the two values listed are the CIR and Peak (CIR + EIR)
R1(config-map-class)#frame-relay traffic-rate 512000 640000
show frame map - Displays frame mappings, both dynamic and static.
R1#show frame map
Serial0 (up): ip 172.12.123.2 dlci 122(0x7A,0x1CA0), static,
broadcast,
CISCO, status defined, active
Serial0 (up): ip 172.12.123.3 dlci 123(0x7B,0x1CB0), static,
broadcast,
CISCO, status defined, active
show frame lmi - Shows LMI statistics and type. Indicates possible mismatch with the Num Status Timeouts command.
R1#show frame 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 35 Num Status msgs Rcvd 35
Num Update Status Rcvd 0 Num Status Timeouts 0
To your success,
Chris Bryant
CCIE #12933
chris@thebryantadvantage.com
|