Friday, September 7, 2007

QoS | Committed Information Rate

This is example about CIR. I have a link T1 with limit bandwidth CIR 768 kbps, BC set 96000 CIR/8, how many TC to across a link?

TC = BC / CIR
TC = 96000 / 768000
= 0.125 s
= 125 ms
= 1/8 s

ex. #2
CIR 1024 kbps
BC 256000
TC = 256000 / 1024000
= 0.25 s
= 250 ms
= 1/4 s


CIR : Committed Information Rate
TC : time committed
BC : burst committed

Thursday, September 6, 2007

QoS | Priority Queueing

PQ allows certain traffic to be strictly-prioritized, multiple queue, allow priority. By default is define 4 queue are high, medium, normal, low, if you not define queue type default use normal. Each of queue is 20, 40, 60, 80 packets by default.

PQ use round-robin sequence occurs for every single packet. Therefore, if there are consistently packets in upper queues, packet in lower queues will never get serviced. PQ like CQ no direction option is applied, as queuing is always outbound.

Task configuration of PQ

#define priority list (required)
R1(config)#priority-list ?
<1-16> Priority list number

R1(config)#priority-list 1 ?
default Set priority queue for unspecified datagrams
interface Establish priorities for packets from a named interface
protocol priority queueing by protocol
queue-limit Set queue limits for priority queues

R1(config)#priority-list 1 protocol ?
aarp AppleTalk ARP
appletalk AppleTalk
arp IP ARP
bridge Bridging
bstun Block Serial Tunnel
cdp Cisco Discovery Protocol
clns ISO CLNS
clns_es ISO CLNS End System
clns_is ISO CLNS Intermediate System
cmns ISO CMNS
compressedtcp Compressed TCP (VJ)
decnet DECnet
decnet_node DECnet Node
decnet_router-l1 DECnet Router L1
decnet_router-l2 DECnet Router L2
dlsw Data Link Switching (Direct encapsulation only)
http HTTP
ip IP
ipv6 IPV6
ipx Novell IPX
llc2 llc2
pad PAD links
pppoe PPP over Ethernet
qllc qllc protocol
rsrb Remote Source-Route Bridging
snapshot Snapshot routing support
stun Serial Tunnel

R1(config)#priority-list 1 protocol http ?
high
medium
normal
low

R1(config)#priority-list 1 protocol http high ?
gt Prioritize packets greater than a specified size
lt Prioritize packets less than a specified size


R1(config)#priority-list 1 protocol http high


#assigning priority list to an interface (required)
R1(config-if)#priority-group ?
<1-16> Priority group

R1(config-if)#priority-group 1 ?


#monitoring (optional)
- default queue FIFO on interface FastEthernet
...
Queueing strategy: fifo
Output queue: 0/40 (size/max)
...

- use PQ
...
Queueing strategy: priority-list 1
Output queue (queue priority: size/max/drops):
high: 0/20/0, medium: 0/40/0, normal: 0/60/0, low: 0/80/0
...


#final config
...
interface FastEthernet0/1
ip address 192.168.100.1 255.255.255.0
duplex auto
speed auto
priority-group 1

priority-list 1 protocol http high
priority-list 1 protocol ip medium
priority-list 1 protocol pppoe normal
priority-list 1 default low
...


The concept config PQ almost like CQ just change 'queue-list' with 'priority-list' in global configuration IOS command and applied on an interface use 'priority-group'. CQ and PQ still don't need MQC (modular QoS CLI) IOS command, next time may be I will explain about example Congestion Management with MQC.

New Apple iPod series

a several minutes later, Apple announce new iPod suffle with new color, iPod nano with video, iPod video with big storage 80-160GB called iPod classic, iPod-touch all user-interface like iPhone.

iPod nano with video has new interesting feature that is video. Now can watch video-on-demand on ipod nano, it's amazing feature, with small and thin iPod can watch amazing video, Apple say A little video for everyone. In photo album or music using cover-flow like in finder Mac OS X leopard.

iPod-touch has interesting feature too but I am not mention new but in iPhone launch several month ago has this feature. That is Wi-fi, so we can surf on internet using Safari built-in WOW we can read or search some IOS command in Cisco UniverCD or join in CCIE community or posting a blog. It's that amazing. I hope there is application can telnet to Cisco router :d.