
capshaw at juniper
Oct 11, 2002, 6:18 AM
Post #2 of 4
(363 views)
Permalink
|
Juan, Lokks like you forgot to define a classifier for ef.... On Thu, 10 Oct 2002, Juan Villasuso wrote: > Hi, > > I=B4m trying to configure IP premium services (EF) and the problem is tha= t the > classifier applied to the input interface don't queue the packets to the > apropiate forwarding-class. > > This can be achieved through filters and then forwarding to the > corresponding forwarding-class > > filter expedited { > term expedited { > from { > dscp ef; > } > then { > forwarding-class expedited-forwarding; > accept; > } > } > } > > However through class-of-service classifiers didn't work. > Here is the M10 config > > Any idea?. Thanks in advance > > --- JUNOS 5.5R1.2 built 2002-09-28 01:43:28 UTC > > jvilla [at] SAN-JUN-0> show chassis hardware > Hardware inventory: > Item Version Part number Serial number Description > Chassis 60560 M10 > Midplane REV 03 710-001950 HG4489 > Power Supply A Rev 04 740-002497 MB11788 AC > Power Supply B Rev 04 740-002497 MA21363 AC > Display REV 04 710-001995 HG7286 > Routing Engine REV 05 740-003877 1000340864 RE-2.0 > FEB REV 06 710-003310 HG4149 E-FEB > FPC 0 > PIC 0 REV 03 750-002977 HD9439 2x OC-3 ATM, MM > PIC 1 REV 01 750-002982 HB1135 1x Tunnel > PIC 2 REV 01 750-005091 HE8064 1x G/E, 1000 > BASE-SX > PIC 3 REV 01 750-005091 HA3150 1x G/E, 1000 > BASE-SX > FPC 1 > PIC 0 REV 01 750-005091 AG6308 1x G/E, 1000 > BASE-SX > > > jvilla [at] SAN-JUN-0# show class-of-service > classifiers { > dscp EF-BE { > import default; > forwarding-class best-effort { > loss-priority low code-points [ af11 af12 af13 ]; > } > } > } > forwarding-classes { > queue 0 best-effort; > queue 1 expedited-forwarding; > queue 3 network-control; > } > interfaces { > ae0 { > scheduler-map EF-BE; > unit * { > classifiers { > dscp EF-BE; > } > rewrite-rules { > dscp EF-BE; > } > } > } > ge-0/3/0 { > scheduler-map EF-BE; > unit * { > classifiers { > dscp EF-BE; > } > rewrite-rules { > dscp EF-BE; > } > } > } > ge-1/0/0 { > scheduler-map EF-BE; > unit 0 { > classifiers { > dscp EF-BE; > } > rewrite-rules { > dscp EF-BE; > } > } > } > } > rewrite-rules { > dscp EF-BE { > import default; > forwarding-class best-effort { > loss-priority low code-point be; > loss-priority high code-point be; > } > forwarding-class expedited-forwarding { > loss-priority low code-point ef; > loss-priority high code-point ef; > } > } > } > scheduler-maps { > EF-BE { > forwarding-class best-effort scheduler SCH-BEST-EFFORT; > forwarding-class expedited-forwarding scheduler > SCH-EXPEDITED-FORWARDING; > forwarding-class network-control scheduler SCH-NETWORK-CONTROL; > } > } > schedulers { > SCH-NETWORK-CONTROL { > transmit-rate percent 5; > buffer-size percent 5; > } > SCH-EXPEDITED-FORWARDING { > transmit-rate percent 10; > buffer-size percent 10; > } > SCH-BEST-EFFORT { > transmit-rate percent 85; > buffer-size percent 85; > } > } > > [edit] > jvilla [at] SAN-JUN-0# show interfaces > ge-0/2/0 { > gigether-options { > 802.3ad ae0; > } > } > ge-0/3/0 { > gigether-options { > 802.3ad ae0; > } > } > ge-1/0/0 { > unit 0 { > family inet { > address 10.10.10.1/30; > } > } > } > ae0 { > vlan-tagging; > unit 0 { > vlan-id 1; > family inet { > address 192.168.100.1/24; > } > } > unit 1 { > vlan-id 2; > family inet { > address 192.168.200.1/24; > } > } > unit 2 { > vlan-id 3; > family inet { > address 192.168.201.1/24; > } > } > } > > > jvilla [at] SAN-JUN-0> show class-of-service interface ae0 > Physical interface: ae0, Index: 12 > Scheduler map: EF-BE, Index: 47222 > > Logical interface: ae0.0, Index: 5 > Object Name Type Inde= x > Rewrite EF-BE dscp 4796= 4 > Rewrite exp-default exp = 2 > Classifier EF-BE dscp 4796= 4 > > Logical interface: ae0.1, Index: 6 > Object Name Type Inde= x > Rewrite EF-BE dscp 4796= 4 > Rewrite exp-default exp = 2 > Classifier EF-BE dscp 4796= 4 > > Logical interface: ae0.2, Index: 7 > Object Name Type Inde= x > Rewrite EF-BE dscp 4796= 4 > Rewrite exp-default exp = 2 > Classifier EF-BE dscp 4796= 4 > > jvilla [at] SAN-JUN-0> show class-of-service interface ge-1/0/0 > Physical interface: ge-1/0/0, Index: 24 > Scheduler map: EF-BE, Index: 47222 > > Logical interface: ge-1/0/0.0, Index: 24 > Object Name Type Inde= x > Rewrite EF-BE dscp 4796= 4 > Rewrite exp-default exp = 2 > Classifier EF-BE dscp 4796= 4 > > jvilla [at] SAN-JUN-0> show class-of-service interface ge-0/3/0 > Physical interface: ge-0/3/0, Index: 23 > Scheduler map: EF-BE, Index: 47222 > > Logical interface: ge-0/3/0.0, Index: 20 > Object Name Type Inde= x > Rewrite EF-BE dscp 4796= 4 > Rewrite exp-default exp = 2 > Classifier EF-BE dscp 4796= 4 > > Logical interface: ge-0/3/0.1, Index: 21 > Object Name Type Inde= x > Rewrite EF-BE dscp 4796= 4 > Rewrite exp-default exp = 2 > Classifier EF-BE dscp 4796= 4 > > Logical interface: ge-0/3/0.2, Index: 22 > Object Name Type Inde= x > Rewrite EF-BE dscp 4796= 4 > Rewrite exp-default exp = 2 > Classifier EF-BE dscp 4796= 4 > > > > > > _______________________________________________ > juniper-nsp mailing list juniper-nsp [at] puck > http://puck.nether.net/mailman/listinfo/juniper-nsp >
|