64
User Manual, Part III
Subscriber access/aggregation node МA4000-РХ
17
SELECTIVE Q-IN-Q CONFIGURATION
17.1
Introduction
SELECTIVE Q-IN-Q function allows to assign external SPVLAN (Service Provider's VLAN), substitute
Customer VLAN, and block the transmission of traffic based on configured filtering rules by internal
VLAN numbers (Customer VLAN).
17.2
Selective Q-in-Q Configuration
Step 1. Switch to the selective Q-in-Q configuration mode.
ma4000# configure terminal
ma4000(config)# selective-qinq common
ma4000(config-selective-qinq)#
You can create only 1024 rules Selective Q-in-Q for PP4X board. To cover larger numbers of
CVLANs, use 'ignore' function.
Step 2. Add external tag adding rules with the
add-tag
command. Pass the external tag VID and
internal tag VID or range as parameters.
ma4000(config-selective-qinq)# add-tag svlan 20 cvlan 100-200
ma4000(config-selective-qinq)# add-tag svlan 30 cvlan ignore
Such configuration implies, that packets coming to an interface with CVLAN 100-200 tag will have
the external tag 20 added to them, and all other packets falling outside the scope of this rule will have
the external tag 30 added. Rules with 'ignore' option have a lower priority compared to rules with
explicitly assigned CVLAN.
Step 3. And/or add VLAN translation rules.
ma4000(config-selective-qinq)# overwrite-tag new-vlan 1000 old-vlan 2000 ingress
ma4000(config-selective-qinq)# overwrite-tag new-vlan 2000 old-vlan 1000 egress
Step 4. Switch to the configuration of interfaces, that should use the selective Q-in-Q. Enable the
function using the
selective-qinq enable
command.
ma4000(config-selective-qinq)# exit
ma4000(config)# interface front-port 1/3-5
ma4000(front-port-1/3-5)# selective-qinq enable
Step 5. Apply the configuration using the
commit
command.
ma4000(front-port-1/3-5)# do commit
If the global Q-in-Q rule table is not sufficient for the purpose, and different interfaces require
different settings, you should use Q-in-Q rule lists. You can configure these lists in the separate
selective-qinq list <name> by analogy to the sequence shown. To assign the list for the
interfaces, use the 'selective-qinq list <name>' command.
Содержание MA4000-PX
Страница 1: ...MA4000 PX Operations and Maintenance Manual SW version 3 26 0 Subscriber access aggregation node ...
Страница 9: ...User Manual Part I 9 МA4000 РХ Subscriber Access and Aggregation Point PART I GENERAL ...
Страница 43: ...User Manual Part III 43 Subscriber access aggregation node МA4000 РХ PART III ACCESS NODE CONFIGURATION ...
Страница 87: ...User Manual Part IV 87 Subscriber access aggregation node МA4000 РХ PART IV ONT CONFIGURATION ...
Страница 95: ...User Manual Part IV 95 Subscriber access aggregation node МA4000 РХ Fig 34 ONT Scope of Operation ...
Страница 142: ...142 User Manual Part V Subscriber access aggregation node МA4000 РХ PART V ACCESS NODE MONITORING ...
Страница 163: ...User Manual Part VI 163 Subscriber access aggregation node МA4000 РХ PART VI MAINTENANCE ...