12.07.2015 Views

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>The</strong> following comm<strong>and</strong> adds an entry to the Policer Table, specifying th<strong>at</strong> the trTCM has initial (green) code point 10,downgraded (yellow) code point 11 <strong>and</strong> further downgraded (red) code point 12:$dsredq addPolicerEntry trTCM 10 11 12<strong>The</strong>re must be a Policer Table entry in place for every policer type <strong>and</strong> initial code point pair. It should be noticed th<strong>at</strong> theNull policer is added in the following way:$dsredq addPolicerEntry Null 10Downgrade code points are not specified because the Null policy does not meter traffic characteristics.Queries supported:Output entires in Policy Table, one line <strong>at</strong> a time:$dsredq printPolicyTableOutput entires in Policer Table, one line <strong>at</strong> a time:$dsredq printPolicerTableOutput entries in PHB table, one line <strong>at</strong> a time:$dsredq printPHBTablePackets st<strong>at</strong>istic results:$dsredq printSt<strong>at</strong>sSample output:Packets St<strong>at</strong>isticsCP TotPkts TxPkts ldrops edropsAll 249126 249090 21 1510 150305 150300 0 520 98821 98790 21 10CP: code pointTotPkts: packets receivedTxPkts: packets sentldrops: packets are dropped due to link overflowedrops: RED early dropping).Retur<strong>ns</strong> the RED weighted average size of the specified physical queue:$dsredq getAverage 0Retur<strong>ns</strong> the current size of the C Bucket (in bytes):$dsredq getCBucket9.4 Comm<strong>and</strong>s <strong>at</strong> a glance<strong>The</strong> following is a list of rel<strong>at</strong>ed comm<strong>and</strong>s commonly used in simul<strong>at</strong>ion scripts:92

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!