AW: [j-nsp] queueing on juniper interface (dscp classifier)

Struck, Olaf Olaf.Struck at lambdanet.net
Wed May 19 04:16:45 EDT 2004


Assuming that you deploy eFPCs on your system, class resp. queue counters
can be viewed by "show interface fe-0/1/0 extensive". If you use standard
FPCs no counters are maintained. By "show chassis hardware" you can check
whether you have standard or eFPCs.

/Olaf

-----Ursprüngliche Nachricht-----
Von: Young-Soo Basler [mailto:young-soo.basler at ch.tiscali.com]
Gesendet: Mittwoch, 19. Mai 2004 09:38
An: juniper-nsp at puck.nether.net
Betreff: [j-nsp] queueing on juniper interface (dscp classifier)


Hi
How can I check the queueing or check if the classification (classifier
inet-precedence VIDEO) is used on the router interface:

cisco-----------------------juniper----------------cisco


class-of-service { 
classifiers { 
inet-precedence VIDEO { 
forwarding-class assured-forwarding { 
loss-priority high code-Ponys af21; 
} 
}

on the cisco it's show policy-map interface and the dscp af21 is used !!!
Thx 
Charly
----------------------------------------------------------------------------
-------------------------------------------------------------------------- 
7200vxr-mpls#sh policy-map interface 
FastEthernet0/0 
Service-policy output: QoS
Class-map: silver (match-all) 
5 packets, 570 bytes 
5 minute offered rate 0 bps, drop rate 0 bps 
Match: ip dscp af21 af22 af23 
Queueing 
Output Queue: Conversation 265 
Bandwidth 25 (%) 
Bandwidth 25000 (kbps) 
(pkts matched/bytes matched) 0/0 
(depth/total drops/no-buffer drops) 0/0/0 
exponential weight: 9 
mean queue depth: 0
dscp Transmitted Random drop Tail drop Minimum Maximum Mark 
pkts/bytes pkts/bytes pkts/bytes thresh thresh prob 
af11 0/0 0/0 0/0 32 40 1/10 
af12 0/0 0/0 0/0 28 40 1/10 
af13 0/0 0/0 0/0 24 40 1/10 
af21 5/570 0/0 0/0 20 40 1/10 
af22 0/0 0/0 0/0 20 40 1/30 
af23 0/0 0/0 0/0 2 3 1/3 
af31 0/0 0/0 0/0 32 40 1/10 
af32 0/0 0/0 0/0 28 40 1/10 
af33 0/0 0/0 0/0 24 40 1/10 
af41 0/0 0/0 0/0 32 40 1/10 
af42 0/0 0/0 0/0 28 40 1/10 
af43 0/0 0/0 0/0 24 40 1/10 
cs1 0/0 0/0 0/0 22 40 1/10 
cs2 0/0 0/0 0/0 24 40 1/10 
cs3 0/0 0/0 0/0 26 40 1/10 
cs4 0/0 0/0 0/0 28 40 1/10 
cs5 0/0 0/0 0/0 30 40 1/10 
cs6 0/0 0/0 0/0 32 40 1/10 
cs7 0/0 0/0 0/0 34 40 1/10 
ef 0/0 0/0 0/0 36 40 1/10 
rsvp 0/0 0/0 0/0 36 40 1/10 
default 0/0 0/0 0/0 20 40 1/10
----------------------------------------------------------------------------
--------------------------------------------------------------------------
Juniper config:

policy-options } 
prefix-list pref-list-net2 { 
172.16.2.0/24; 
172.18.1.0/24; 
} 
prefix-list pref-list-net1 { 
172.16.1.0/24; 
172.18.1.0/24; 
class-of-service { 
classifiers { 
dscp BEST-EFFORT { 
forwarding-class best-effort { 
loss-priority high code-points cs1; 
} 
} 
dscp VIDEO { 
forwarding-class assured-forwarding { 
loss-priority high code-points cs2; 
}
inet-precedence VIDEO { 
forwarding-class assured-forwarding { 
loss-priority high code-Ponys af21; 
} 
} 
.....etc






fe-0/1/0 { 
unit 0 { 
scheduler-map QoS; 
rewrite-rules { 
exp RULE1; 
exp exp-inet-table protocol mpls-inet-both; 
exp RULE-NON-VPN protocol mpls-inet-both-non-vpn; 
inet-precedence RULE2; 
} 
} 
} 




scheduler-maps { 
QoS { 
forwarding-class best-effort scheduler BEST-EFFORT; 
forwarding-class assured-forwarding scheduler VIDEO; 
forwarding-class network-control scheduler CRITICAL-DATA; 
forwarding-class expedited-forwarding scheduler REALTIME; 
} 
}





schedulers { 
REALTIME { 
transmit-rate percent 35; 
buffer-size percent 35; 
priority low; 
drop-profile-map loss-priority any protocol any drop-profile TERMINAL; 
} 
CRITICAL-DATA { 
transmit-rate percent 20; 
buffer-size percent 20; 
priority low; 
drop-profile-map loss-priority any protocol any drop-profile TERMINAL; 
} 
VIDEO { 
transmit-rate percent 15; 
buffer-size percent 15; 
priority low; 
drop-profile-map loss-priority any protocol any drop-profile TERMINAL; 
} 
BEST-EFFORT { 
transmit-rate percent 30; 
buffer-size percent 30; 
priority low; 
drop-profile-map loss-priority any protocol any drop-profile TERMINAL; 
} 
}




firewall { 
policer pol-net1-net2 { 
if-exceeding { 
bandwidth-limit 100m; 
burst-size-limit 22350; 
} 
then discard;
} 
filter network1-in { 
term rl-IP-PREMIUM-net1-net2 { 
from { 
source-prefix-list { 
pref-list-net1; 
} 
destination-prefix-list { 
pref-list-net2; 
} 
dscp 46; 
} 
then { 
policer pol-net1-net2; 
count IP-PREMIUM-net1-net2; 
loss-priority low; 
forwarding-class expedited-forwarding; 
accept; 
} 
}




> Mit freundlichen Grüssen
> 
> Young-Soo Basler
> Network Engineer
> Tiscali AG
> 
> Flughafenstrasse 10
> CH-4056 Basel
> Tel:	+41 (0)61 561 65 04
> Fax: 	+41 (0)61 383 28 38
> E-Mail:	young-soo.basler at ch.tiscali.com
> www.tiscali.ch
> 
> 
	This email and any attachments may be confidential and the subject
of legal professional privilege. Any disclosure, use, storage or copying of
this email without the consent of the sender is strictly prohibited. Please
notify the sender immediately if you are not the intended recipient and then
delete the email from your inbox and do not disclose the contents to another
person, use, copy or store the information in any medium. 

_______________________________________________
juniper-nsp mailing list juniper-nsp at puck.nether.net
http://puck.nether.net/mailman/listinfo/juniper-nsp



More information about the juniper-nsp mailing list