Diffserv Configuration Examples - Enterasys SecureStack B3 Configuration Manual

Stackable switches
Table of Contents

Advertisement

Mode
Switch command, read‐write.
Example
This example shows how to apply the Diffserv policy named "admin" to incoming traffic on ports 
ge1.1‐10: 
B3(rw)->set diffserv service add in ge.1.5 admin

DiffServ Configuration Examples

Typically, you would use the Diffserv command set to complete configuration tasks in the 
following order:
1.
Enable DiffServ.
2.
Create a Class.
3.
Create one or more classification rules within the Class.
4.
Create a Policy.
5.
Add one or more Classes to the Policy.
6.
Add Policing (Conforming/Non‐conforming, Drop/Forward, Rate Limit, Precedence/DSCP 
Rewrite) actions or just Marking (Precedence/DSCP Rewrite) actions to the Policy.
7.
Assign the Policy to one or more ports. 
The following examples show how to proceed through these tasks to create DiffServ policies.
This example creates two separate policies: 
a.
b. policyaf31 — rate‐limits ingressed traffic on port fe.1.2 to a maximum of 100Mb/s, and on 
B3(rw)->set diffserv adminmode enable
B3(rw)->set diffserv class create all classevery
B3(rw)->set diffserv class match every classevery
B3(rw)->set diffserv policy create policyef in
B3(rw)->set diffserv policy class add policyef classevery
B3(rw)->set diffserv policy police style simple policyef classevery 100000 128
B3(rw)->set diffserv policy police action conform markdscp policyef classevery ef
B3(rw)->set diffserv policy create policyaf31 in
B3(rw)->set diffserv policy class add policyaf31 classevery
B3(rw)->set diffserv policy police style simple policyaf31 classevery 100000 128
B3(rw)->set diffserv policy police action conform markdscp policyaf31 classevery
af31
B3(rw)->set diffserv service add in fe.1.1 policyef
B3(rw)->set diffserv service add in fe.1.2 policyaf31
policyef — rate‐limits ingressed traffic on port fe.1.1 to a maximum of 100Mb/s, and on 
the same traffi,c also rewrites the six DSCP bits to a decimal value of 46 for Express 
Forwarding on layer 3. 
the same traffic, also rewrites the six DSCP bits to a decimal value of 26 for Flash 
forwarding on layer 3. 
DiffServ Configuration Examples
SecureStack B3 Configuration Guide 9-17

Advertisement

Table of Contents
loading

Table of Contents