EasyManua.ls Logo

Huawei quidway s7700 - Page 243

Huawei quidway s7700
648 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
l VLAN to which GE 4/0/0 of the Switch needs to be added: VLAN 20 (in tagged mode)
l MAC address segments of STBs: 00e0-8e00-0000 ffff-ff00-0000
l Traffic classifier: for STB, filtering packets based on VLAN IDs and source MAC
addresses, that is, forwarding packets with the specified MAC address and VLAN ID
l Traffic behavior: PermitMAC, using the default action permit
l Traffic policy: PermitMAC, containing the preceding traffic classifier and traffic behavior
Procedure
Step 1 Configure selective QinQ.
# Create VLANs.
<Quidway> system-view
[Quidway] vlan batch 10 20
# Add related interfaces to the VLANs.
[Quidway] interface gigabitethernet 1/0/0
[Quidway-GigabitEthernet1/0/0] port hybrid untagged vlan 10 20
[Quidway-GigabitEthernet1/0/0] quit
[Quidway] interface gigabitethernet 2/0/0
[Quidway-GigabitEthernet2/0/0] port hybrid untagged vlan 10 20
[Quidway-GigabitEthernet2/0/0] quit
[Quidway] interface gigabitethernet 3/0/0
[Quidway-GigabitEthernet3/0/0] port hybrid tagged vlan 10
[Quidway-GigabitEthernet3/0/0] quit
[Quidway] interface gigabitethernet 4/0/0
[Quidway-GigabitEthernet4/0/0] port hybrid tagged vlan 20
[Quidway-GigabitEthernet4/0/0] quit
# Configure selective QinQ on GE 1/0/0 and GE 2/0/0.
[Quidway] interface gigabitethernet 1/0/0
[Quidway-GigabitEthernet1/0/0] port vlan-stacking vlan 100 to 999 stack-vlan 10
[Quidway-GigabitEthernet1/0/0] port vlan-stacking vlan 1000 to 1999 stack-vlan 20
[Quidway-GigabitEthernet1/0/0] quit
[Quidway] interface gigabitethernet 2/0/0
[Quidway-GigabitEthernet2/0/0] port vlan-stacking vlan 100 to 999 stack-vlan 10
[Quidway-GigabitEthernet2/0/0] port vlan-stacking vlan 1000 to 1999 stack-vlan 20
[Quidway-GigabitEthernet2/0/0] quit
Step 2 Configure a traffic policy.
# Configure an ACL to filter packets based on source MAC addresses.
<Quidway> system-view
[Quidway] acl number 4001
[Quidway-acl-L2-4001] rule 1 permit source-mac 00e0-8e00-0000 ffff-f
f00-0000
[Quidway-acl-L2-4001] rule 100 deny
[Quidway-acl-L2-4001] quit
# Configure a traffic classifier.
[Quidway] traffic classifier STB operator and
[Quidway-classifier-STB] if-match vlan-id 20
[Quidway-classifier-STB] if-match acl 4001
[Quidway-classifier-STB] quit
# Configure a traffic behavior.
[Quidway] traffic behavior PermitMAC
[Quidway-behavior-PermitMAC] quit
Quidway S7700 Smart Routing Switch
Configuration Guide - Ethernet 5 QinQ Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
226

Table of Contents

Other manuals for Huawei quidway s7700

Related product manuals