Difference between revisions of "Traffic Shaping JUNOS"

From Teknologisk videncenter
Jump to: navigation, search
m
m
Line 9: Line 9:
  
 
</source>
 
</source>
 +
Kontroller det virker<ref>http://www.juniper.net/documentation/en_US/junos14.2/topics/usage-guidelines/cos-applying-scheduler-maps-and-shaping-rate-to-physical-interfaces-on-iq-pics.html</ref>:
 +
<source lang=cli>
 +
[edit class-of-service]
 +
root@SRX07# <input>run show class-of-service interface ge-0/0/0.10</input>
 +
  Logical interface: ge-0/0/0.10, Index: 71
 +
    <notice>Shaping rate: 2000000</notice>
 +
    Object                  Name                  Type                    Index
 +
    Scheduler-map          <default>              Output                      2
 +
    Rewrite                dscp-default          dscp                      31
 +
    Classifier              ipprec-compatibility  ip                        13
 +
</source>
 +
=Links=
 
[http://www.juniper.net/techpubs/en_US/junos11.1/information-products/topic-collections/config-guide-cos/config-guide-cos.pdf CoS Guide]
 
[http://www.juniper.net/techpubs/en_US/junos11.1/information-products/topic-collections/config-guide-cos/config-guide-cos.pdf CoS Guide]
 +
 
{{Source cli}}
 
{{Source cli}}
 
 
[[Category:Juniper]]
 
[[Category:Juniper]]

Revision as of 07:44, 16 January 2015

Traffic Shaping virker udadgående på et interface

[edit]
root@SRX07# <input>show | compare rollback 1</input>
[edit interfaces ge-0/0/0]
+   per-unit-scheduler;
[edit class-of-service interfaces ge-0/0/0 unit 10]
+      shaping-rate 2m;

Kontroller det virker[1]:

[edit class-of-service]
root@SRX07# <input>run show class-of-service interface ge-0/0/0.10</input>
  Logical interface: ge-0/0/0.10, Index: 71
    <notice>Shaping rate: 2000000</notice>
    Object                  Name                   Type                    Index
    Scheduler-map           <default>              Output                      2
    Rewrite                 dscp-default           dscp                       31
    Classifier              ipprec-compatibility   ip                         13

Links

CoS Guide