Huawei Quidway S9300 Configuration Manual page 128

Terabit routing switch
Table of Contents

Advertisement

4 VLAN Mapping Configuration
# Create VLAN 300 on S9300-C.
<Quidway> system-view
[Quidway] sysname S9300-C
[S9300-C] vlan 300
# Create VLAN 300 on S9300-D.
<Quidway> system-view
[Quidway] sysname S9300-D
[S9300-D] vlan 300
Step 2 Add interfaces to VLANs.
# Add GE 1/0/1 of S9300-A to VLAN 100.
[S9300-A] interface gigabitethernet 1/0/1
[S9300-A-GigabitEthernet1/0/1] port link-type trunk
[S9300-A-GigabitEthernet1/0/1] port trunk allow-pass vlan 100
# Add GE 1/0/2 of S9300-B to VLAN 200.
[S9300-B] interface gigabitethernet 1/0/2
[S9300-B-GigabitEthernet1/0/2] port link-type trunk
[S9300-B-GigabitEthernet1/0/2] port trunk allow-pass vlan 200
# Add GE 1/0/1 of S9300-C to VLAN 300.
[S9300-C] interface gigabitethernet 1/0/1
[S9300-C-Gigabitethernet1/0/1] port link-type trunk
[S9300-C-Gigabitethernet1/0/1] port trunk allow-pass vlan 300
# Add GE 1/0/2 on S9300-D to VLAN 300.
[S9300-D] interface gigabitethernet 1/0/2
[S9300-D-Gigabitethernet1/0/2] port link-type trunk
[S9300-D-Gigabitethernet1/0/2] port trunk allow-pass vlan 300
Step 3 Configure traffic classifiers, traffic behaviors, and traffic policies.
# On S9300-A, configure the traffic classifier, traffic behavior, and traffic policy applied in the
inbound direction.
[S9300-A] traffic classifier name1 operator and
[S9300-A-classifier-name1] if-match vlan-id 300
[S9300-A-classifier-name1] if-match cvlan-id 30
[S9300-A-classifier-name1] quit
[S9300-A] traffic behavior name1
[S9300-A-behavior-name1] remark vlan-id 100
[S9300-A-behavior-name1] remark cvlan-id 10
[S9300-A-behavior-name1] quit
[S9300-A] traffic policy name1
[S9300-A-trafficpolicy-name1] classifier name1 behavior name1
# On S9300-A, configure the traffic classifier, traffic behavior, and traffic policy applied in the
outbound direction.
[S9300-A] traffic classifier name2 operator and
[S9300-A-classifier-name2] if-match vlan-id 100
[S9300-A-classifier-name2] if-match cvlan-id 10
[S9300-A-classifier-name2] quit
[S9300-A] traffic behavior name2
[S9300-A-behavior-name2] remark vlan-id 300
[S9300-A-behavior-name2] remark cvlan-id 30
[S9300-A-behavior-name2] quit
[S9300-A] traffic policy name2
[S9300-A-trafficpolicy-name2] classifier name2 behavior name2
4-24
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - Ethernet
Issue 03 (2009-08-20)

Advertisement

Table of Contents
loading

Table of Contents