I ever resume about queueing & congestion, there are
- occur at any point where there re points of speed mismatches, aggregation or confluence
- queuing manages congestion to provide bandwidth & delay guarantees
- queuing algorithms
.fifo: simplest algorithm, one queue
.pq (priority queuing): allows certain traffic to be strictly-prioritized, multiple queue, allow priority
.round robin: allows serveral traffic flows to share bandwidth, multiple queue, no prioritization
.wrr (weighted round robin): allows sharing of bw with preferential treatment, allow priority, assign a 'weight' to each queue, drawbacks not allocate bw accurately
.drr (deficit round robin): resolves problem with some wrr implementations (inaccurate bw), keeps track number of 'extra' bytes dispatched in each round, add 'deficit' in next round
- queuing components
.hardware queuing always use fifo
.software queuing can be selected: schedules packets into hardware queue
- queue mechanisms incl classification of packets
.after classification put packet into queue or drop
.drop if queue is full
.some mechanisms use intelligent dropping ex. wfq, wred
- soft queue use if hardware queue is full
- a full hardware queue indicates int congestion & soft queue is used to manage it
- a packet forward, router bypass soft queue
- hardware queue (txq) size
- logical interface like subinterface / vlan there is not have dedicated queueing but shared with main interface / physical interface
I have experience about queue, serial interface limit using time slot (controller E1) ex. 128Kbps, moment full traffic if try ping / telnet across the link still done but slow, result ping slow but sure (no time out), but ethernet interface using subinterface limit using rate-limit / policy-map ex. 128Kbps, condition full traffic if try ping / telnet across the link intermitten even time out (in ICMP) like ping. WHY ?
ok look at a little resume in there about queue management, serial default using 'weighted fair' so time-out if try ping just slow but sure, different about ethernet default using 'fifo' there is no queue, if tail drop happen packet are drop. if you want ethernet interface like serial can using command 'fair-queue' in interface configuration that mean enable fair queuing on an interface ;)
so remember default of queueing management every interface model is different.
Sunday, July 1, 2007
QoS | Get IP Address Accounting Information
here is I will share how capture near 'real-time' about packets accross interface ini Cisco router. by enabling IP accounting, you can see the number of bytes and packets switched through the Cisco IOS® software on a source and destination IP address basis. only transit IP traffic is measured and only on an outbound basis, traffic generated by the software or terminating in the software is not included in the accounting statistics. different feature on serial interface and ethernet you can see in below. this feature accounting information just work on physical interface not work in logical interface like subinterface or interface vlan except interface controller like 'serial1/0:4'.
#interface Serial
#interface FastEthernet
[...] optional
#interface Serial
(config-if)#ip accounting ?
access-violations Account for IP packets violating access lists on this interface
output-packets Account for IP packets output on this interface
precedence Count packets by IP precedence on this interface
#interface FastEthernet
(config-if)#ip accounting ?
access-violations Account for IP packets violating access lists on this interface
mac-address Account for MAC addresses seen on this interface
output-packets Account for IP packets output on this interface
precedence Count packets by IP precedence on this interface
interface Serial1
ip address x.x.x.x x.x.x.x
ip accounting output-packets
no fair-queue --> 'Queueing strategy: fifo'
end
sh ip accounting | [output-packets]
Source Destination Packets Bytes
172.16.1.55 172.16.0.3 6 552
172.16.1.55 172.16.0.3 2 96
172.16.1.55 172.16.0.3 4 192
Accounting data age is xdxxh
Accounting threshold exceeded for 952906 packets and 888094275 bytes
[...] optional
A Little of Network
continue my first post in a few hours ago, this time I want to describe what about I will share in this site. a little of network mean a little very very little as long as I know about network, may be I often share about proprietary of cisco b'cause I often play & experiment in there.
first time I share allocating of IP address in network, IP address is like address of your home in real live or real world
Class A
range : 1.0.0.0 - 126.0.0.0
network : 127 but only 126 can use
host every network : 16 777 216
first bit 0 in binary
Class B
range : 128.0.0.0 - 191.255.0.0
network : 16 384
host every network : 65 536
first 2 bit 10 in binary
Class C
range : 192.0.0.0 - 223.255.255.0
network : 2 097 152
host every network : 256
first 3 bit 110 in binary
Class D is Multicast
range : 224.0.0.0 - 239.255.255.255
Class E is Research
host 10.0.0.0
range : 172.16.0.0 - 172.31.0.0
host 192.168.0.0
I hope u not confuse with my post ;) next time I will share about subnet & something all there is connecting with IP address
first time I share allocating of IP address in network, IP address is like address of your home in real live or real world
Class A
range : 1.0.0.0 - 126.0.0.0
network : 127 but only 126 can use
host every network : 16 777 216
first bit 0 in binary
Class B
range : 128.0.0.0 - 191.255.0.0
network : 16 384
host every network : 65 536
first 2 bit 10 in binary
Class C
range : 192.0.0.0 - 223.255.255.0
network : 2 097 152
host every network : 256
first 3 bit 110 in binary
Class D is Multicast
range : 224.0.0.0 - 239.255.255.255
Class E is Research
host 10.0.0.0
range : 172.16.0.0 - 172.31.0.0
host 192.168.0.0
I hope u not confuse with my post ;) next time I will share about subnet & something all there is connecting with IP address
Subscribe to:
Posts (Atom)
