PLANET WGSW-52040 User Manual

Page 227

Advertising
background image

to VOIP, DSCP30 corresponds to VOD. After the downlink port enables flexible QinQ function,

the packets will be packed with different external tags according to DSCP of users. DSCP10

will be packed an external tag 1001 (This tag is unique in public network), enter Broad Band

Network-DSCP10 and classfied to BRAS device. DSCP20 (or DSCP30) will be packed an

external VLAN tag 2001(or 3001) and classfied to SR device according to the flow rules. The

second user can be assigned different DSCPs in DSLAM2. Notice: The assigned DSCP of the

second user may be same with the first user and the DSCP value will be also packed an

external tag. In the above figure, the external tag of the second user is different to the first user

for distinguishing DSLAM location and locating the user finally.

The configuration in the following:

If the data flow of DSLAM1 enters the switch’s downlink port1, the configuration is as follows:

Switch(config)#class-map c1

Switch(config-classmap-c1)#match ip dscp 10

Switch(config-classmap-c1)#exit

Switch(config)#class-map c2

Switch(config-classmap-c2)#match ip dscp 20

Switch(config-classmap-c2)#exit

Switch(config)#class-map c3

Switch(config-classmap-c3)#match ip dscp 30

Switch(config-classmap-c3)#exit

Switch(config)#policy-map p1

Switch(config-policymap-p1)#class c1

Switch(config-policymap-p1-class-c1)# set s-vid 1001

Switch(config-policymap-p1)#class c2

Switch(config-policymap-p1-class-c2)# set s-vid 2001

Switch(config-policymap-p1)#class c3

Switch(config-policymap-p1-class-c3)# set s-vid 3001

Switch(config-policymap-p1-class-c3)#exit

Switch(config-policymap-p1)#exit

Switch(config)#interface ethernet 1/1

Switch(config-if-ethernet1/1)#dot1q-tunnel enable

Switch(config-if-ethernet1/1)#service-policy p1 in

If the data flow of DSLAM2 enters the switch’s downlink port1, the configuration is as follows:

Switch(config)#class-map c1

Switch(config-classmap-c1)#match ip dscp 10

25-6

Advertising