Frame-Relay Traffic Shaping

advertisement
Lab Procedures:
Unit 8: Design Requirements
Frame-Relay Traffic Shaping
The router, FrameSwitch, will simulate a frame relay network. It was provide clock and map dlci.
Configure the above network with the following minimal commands:
FrameSwitch
HQ1
hostname FrameSwitch
frame-relay switching
interface s1/4
no ip address
encapsulation frame-relay
clock rate 64000
frame-relay lmi-type ansi
frame-relay intf-type dce
frame-relay route 100 interface s1/7 110
no shutdown
interface s1/7
no ip address
encapsulation frame-relay
clock rate 64000
frame-relay lmi-type ansi
frame-relay intf-type dce
frame-relay route 110 interface s1/4 100
no shutdown
hostname HQ1
interface s0/0
ip address 10.10.10.1 255.255.255.252
encapsulation frame-relay
frame-relay lmi-type ansi
no shutdown
RemoteEnd2
hostname HQ1
interface s0/0
ip address 10.10.10.2 255.255.255.252
encapsulation frame-relay
frame-relay lmi-type ansi
no shutdown
1
Lab Handout
IT412 Voice and Data Integration
Name:
Ensure connectivity between routers before continuing, ping 10.10.10.1 from RemoteEnd2.
Verify that the frame switching process is functioning by issuing the show frame route command.
This output is interpreted by reading each line from left to right. The first line indicates that any
traffic coming in Serial1/4 with the DLCI value of 100 will be sent out interface Serial 1/7 with a
DLCI value of 110. The active status indicates operation.
Use the following to add the FXS phones to configuration:
HQ1
RemoteEnd2
dial-peer voice 1 pots
destination-pattern 1111
port 1/0/0
dial-peer voice 2 voip
destination-pattern 2222
session target ipv4:10.10.10.2
codec g711ulaw
dial-peer voice 1 pots
destination-pattern 2222
port 1/0/0
dial-peer voice 2 voip
destination-pattern 1111
session target ipv4:10.10.10.1
codec g711ulaw
Place a call from destination-pattern 2222 to 1111. Was it successful?_____
Remove and replace the current codec with the default codec command under both dial-peers.
Again attempt to call across the frame-relay network. What is the default codec?_________
Enabling frame-relay traffic shaping is a multi-step process. On RemoteEnd2, enter the following:
map-class frame-relay shapeme
frame-relay adaptive-shaping becn
frame-relay cir 56000
frame-relay bc 1100
frame-relay mincir 1000
Names the map class shapeme
Enables BECN flow control
Defines CIR value for traffic shaping
Defines Bc value for traffic shaping
Defines minimum CIR for traffic shaping
Enable and associate the map-class to the Serial 0/0 interface.
Interface S0/0
frame-relay traffic-shaping
frame-relay class shapeme
Enable traffic shaping
Associates map-class to interface
Ensure network connectivity by pinging or calling across the frame-relay network.
2
Lab Handout
IT412 Voice and Data Integration
Name:
To observation the action of traffic shaping on RemoteEnd2, enter the following:
clear counters
clear frame-relay counter
ping 10.10.10.1
show frame-relay pvc 110
Your output should look similar to this.
Observe that this pinging did not generate enough traffic to exceed the CIR value.
An extended ping, targeting 10.10.10.1, can help increase the traffic. Set the repeat count to 100 and
the datagram size to 900. Simultaneously call destination-pattern 1111 from 2222. Re-enter the
show frame-relay pvc 110 command.
How many bytes were delayed by traffic shaping?_______
Repeat the extended ping varying the datagram size. Was there any dropped packets?______
Did the voice quality of the circuit change?________
3
Lab Handout
IT412 Voice and Data Integration
Download